Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63717

Ubuntu: QSystemTray choices the primal button for the further interaction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.8.0, 5.9.0
    • QPA: X11/XCB
    • None
    • Ubuntu 4.16 unity

    Description

      test case: 
      1 . take system tray example from here qtbase/widgets/desktop/systray 

      2. in 

      void Window::createTrayIcon()

       replase this code 

      trayIconMenu->addAction(minimizeAction); 
      trayIconMenu->addAction(maximizeAction); 
      trayIconMenu->addAction(restoreAction);

      with this

      QMenu* m = trayIconMenu->addMenu("menu"); 
      m->addAction(minimizeAction); 
      m->addAction(maximizeAction); 
      m->addAction(restoreAction);

      3. run app

      4. a. right click on system tray icon ( hart ) and hover submenu "menu" to open it

          b. left click on element in submenu

          resault: action doesn't trigger

      5. a. left click on system tray icon ( hart ) and hover submenu "menu" to open it

          b. right click on element in submenu

          resault: action doesn't trigger

      6. a. right click on system tray icon ( hart ) and hover submenu "menu" to open it

          b. right click on element in submenu

          resault: action triggers

      7. a. left click on system tray icon ( hart ) and hover submenu "menu" to open it

          b. left click on element in submenu

          resault: action triggers

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              haku Paul Busovikov
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes