Bug 450654

Summary: [Wayland] File Menu does not load directly underneath the File Option; it seems to float
Product: [Plasma] kwin Reporter: Marco Parillo <marco_parillo>
Component: appmenuAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, matthewtrescott, nate, nicolas.fella
Priority: NOR    
Version: 5.24.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.25
Sentry Crash Report:
Attachments: Laptop Monitor
Secondary Monitor

Description Marco Parillo 2022-02-21 14:13:15 UTC
SUMMARY

[Wayland] File Menu does not load directly underneath the File Option; it seems to float


STEPS TO REPRODUCE
1. Click on File or alt-F
2. Look for drop-down menu

OBSERVED RESULT

Drop-down menu is to the right or well below the menu bar

EXPECTED RESULT

Drop-down menu should be to the left, right under the file option

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7 CPU M 620 @ 2.67GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics

ADDITIONAL INFORMATION

I have two physical monitors; the laptop and a secondary monitor. On the laptop monitor, it seems to float down and to the left, on the secondary monitor it appears to the extreme right.
Comment 1 Marco Parillo 2022-02-21 14:21:01 UTC
Note that this does not occur under Graphics Platform: X11
Comment 2 Nicolas Fella 2022-02-21 23:37:38 UTC
Could you please make a screenshot of the problem?
Comment 3 Marco Parillo 2022-02-22 02:07:33 UTC
Created attachment 147029 [details]
Laptop Monitor
Comment 4 Marco Parillo 2022-02-22 02:07:55 UTC
Created attachment 147030 [details]
Secondary Monitor
Comment 5 Nate Graham 2022-02-22 03:14:54 UTC
Oh this is one of the known Wayland QMenu positioning bugs. There are a bunch and I don't know which are still valid though...
Comment 6 Marco Parillo 2022-02-22 10:19:42 UTC
(In reply to Nate Graham from comment #5)
> Oh this is one of the known Wayland QMenu positioning bugs. There are a
> bunch and I don't know which are still valid though...

Is there a better Product / Component combination I can use so somebody can more easily find the original bug report?
Comment 7 Matthew Trescott 2022-04-02 19:26:25 UTC
(In reply to Marco Parillo from comment #6)
> Is there a better Product / Component combination I can use so somebody can
> more easily find the original bug report?

This seems to be the upstream bug report: https://bugreports.qt.io/browse/QTBUG-88561

Moving the relative positions of the screens in System Settings so that they were aligned at the top instead of at the bottom "fixed" the problem for me, if only as a workaround.
Comment 8 Marco Parillo 2022-05-20 15:41:37 UTC
I believe this problem may have resolved itself with:

Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.17.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7 CPU M 620 @ 2.67GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics
Manufacturer: Hewlett-Packard
Product Name: HP EliteBook 8440p
Comment 9 Nate Graham 2022-05-23 14:45:51 UTC
Great!
Comment 10 Marco Parillo 2022-05-23 23:30:30 UTC
I am sorry, but either as part of an update, or maybe I actually tried aligning the tops of my two monitors. Either way, I checked my Display Settings, and the two monitors were aligned at the top. So, the good news is that the work-around does work.
Comment 11 Marco Parillo 2022-05-23 23:34:23 UTC
Bad new is that if I align two different sized monitors at the bottom, then the "floating" menus return.
Comment 12 David Edmundson 2023-06-13 22:09:31 UTC

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