Bug 1900838

Summary: Menus (app menus, right click menus...) not appearing or not appearing in right place in Qt5 app on GNOME on dual displays on Rawhide
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: qt5-qtwaylandAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 34CC: helio, jgrulich, jreznik, kde-sig, lkundrak, m, otto.liljalaakso, pierluigi.fiorini, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-15 10:58:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Williamson 2020-11-23 20:07:45 UTC
So, my config is as follows:

* Running GNOME on current Rawhide
* Two displays - my laptop display (3200x1800, 100% scaling) and my desktop display (3840x2160, 125% scaling), with the desktop display on the right and set as primary, laptop display on the left as secondary
* Running a Qt5 app - Quaternion, a Matrix client

If I have the Quaternion window on the desktop display (the primary one, on the right) and wider than a certain width - it seems to be about 55% of the display width - then right-click menus appear where they should (wherever I clicked), and the app menus (Accounts, View, Room, Settings, Help) appear when I click on them, but *not* where they should - they appear way over to the right of where they should be.

If I have the window on the desktop display and narrower than that magic width, then right-click menus appear but much lower on the screen than they should, and app menus don't appear at all.

If I have the Quaternion window on the laptop display (the left one), neither right-click nor app menus appear at all.

I'm assuming this is tied in with how Plasma / Qt apps are running on Wayland by default now...

Comment 1 Rex Dieter 2020-11-23 20:54:14 UTC
Tentatively triaging to qgnomeplatform, mostly because Jan will likely be a good person to look more into this.  Thanks in advance.

Comment 2 Ben Cotton 2021-02-09 16:17:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 3 Jan Grulich 2021-07-15 10:58:45 UTC

*** This bug has been marked as a duplicate of bug 1759259 ***