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

Double-clicking inside FileDialog closes it, but doesn't return focus

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.1
    • 6.8.0
    • Quick: Dialogs
    • None
    • Linux/Wayland

    Description

      1. Use 6.8.0 but not 6.7.2.
      2. Open a FileDialog.
      3. Double-click a file (don't click "Open" or "Cancel").
      4. Hover over a component that would normally detect hovering. It doesn't this time.

      Now click somewhere in the window. Hovering should work again.

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Dialogs
      import QtQuick.Layouts
      
      ApplicationWindow {
      	ColumnLayout {
      		Button {
      			FileDialog { id: dialog }
      			onPressed: dialog.open()
      			text: 'Open\u2026'
      		}
      		Rectangle {
      			HoverHandler { id: hover }
      			color: hover.hovered? 'blue' : 'white'
      			implicitWidth: 40
      			implicitHeight: 40
      		}
      	}
      	visible: true
      }
      

      Attachments

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

        Activity

          People

            hurlevent Oliver Eftevaag
            glibg10b Waldo Lemmer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes