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

Hovered property stays when popup is opened from drawer

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 7712fbc0f (dev), 6958577ab (6.8), ceace5f3a (6.7), b2cfed01b (tqtc/lts-6.5), f1314d146 (tqtc/lts-6.2)

    Description

      In attached sample application, one can see that button is highlighted when hovered over:

      Once user clicks on the button in the main view, the highlight of main view button disappears as a modal drawer opens:

      But when button in the Drawer is clicked and a modal Popup opens,  the highlight of the button in drawer does not disappear (please notice that the mouse cursor is away from the button already):

      In fact, the button still behaves as mouse was over it and shows a ToolTip, even though the mouse moved away over a second ago! (Tooltip stays forever unless the Popup is dismissed.):

      After closing the Popup, the button is still highlighted. (Moving mouse over it will not trigger a ToolTip until user moves mouse over button, away from button and again over the button.)

      Opening the Popup from an identical button that is positioned in the main view does not cause this issue:

      • Highlight is lost
      • Tooltip is not shown

      For the bug to appear, the button must be positioned into the Drawer:

      Attachments

        1. 01_in_idle.png
          7 kB
          Otto Ryynänen
        2. 02_hover_in_drawer.png
          11 kB
          Otto Ryynänen
        3. 03_button_clicked.png
          12 kB
          Otto Ryynänen
        4. 04_tooltip_appears.png
          15 kB
          Otto Ryynänen
        5. 05_after_closing_the_popup.png
          11 kB
          Otto Ryynänen
        6. 06_open_popup_from_button_in_main_view.png
          8 kB
          Otto Ryynänen
        7. QTBUG-126626.zip
          2 kB
          Otto Ryynänen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            santhoshkumar Santhosh Kumar Selvaraj
            ottoryynanen Otto Ryynänen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: