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

Qt Quick Controls move WindowStayOnBottomHint to the front when using two displays

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Environment:
      Two displays setup

      Windows 10 Pro 10.0.19042
    • Platform/s:
      Windows

      Description

      The attached .qml code when run creates two windows and one of them (full-screen size) is marked to always stay on the bottom while the other is just shown with no extra flags.

      When I click on Button or Switch (and probably any control inheriting Control) which are placed in the background window, this background window is moved to the front and the other window is overlayed then.

      It works as it should when only one monitor is connected to my PC, but when using two monitors it works as described above.
      It also works as expected when I use MouseArea instead of Button.

      This recording https://docs.zohopublic.eu/file/62c501893030a96664a4fa93fe66aae349244 
      shows also some weird stuff going on with the Switch item.

      Maybe the issue applies to all platforms, but I tested only on windows

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            kosadev Łukasz Kosiński
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes