Bug 483256

Summary: When window spans 2 screens, menu is sometimes located on the wrong screen
Product: [Plasma] kwin Reporter: pf
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kde, nate
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.0.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description pf 2024-03-11 16:08:50 UTC
SUMMARY
When a window spans 2 physical screens, the location of a menu bar dropdown is sometimes difficult to get at unless the window is relocated to be mostly over left screen.

STEPS TO REPRODUCE
1. locate a window so it spans 2 screens
2. if window is mostly on left screen, dropdown appears directly below menu bar
3. if window is mostly on right screen, dropdown appears on left edge of right screen 

OBSERVED RESULT
[ screen 1  |  screen 2  |  screen 3 ]  I have 3 screens
[ window1 ] |            |           ]  Full window on 1 screen
[M          |            |           ]  menu dropdown OK
[       [ window2 ]      |           ]  window spans 2 screens (<=49%|>=51%)
[           |M           |           ]  menu dropdown appears on right screen [1]
[           |    [ window3 ]         ]  window spans 2 screens (>=51%|<=49%)
[           |     M      |           ]  menu dropdown OK
[           |         [ window4 ]    ]  window spans 2 screens (<=49%|>=51%)
[           |            |M          ]  menu dropdown appears on right screen [1]

[1] very difficult to mouse over it

EXPECTED RESULT
menu bar dropdowns should always appear directly under menu bar's left edge.

SOFTWARE/OS VERSIONS
Operating System: Mageia 10
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.6.18-server-1.mga10 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12700K
Memory: 125.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600 XT
Manufacturer: Dell Inc.
Product Name: XPS 8950

ADDITIONAL INFORMATION
Looks like bug 441823; but that one is supposedly fixed.

Would be very helpful if this Comment pane used same fixed font as Preview pane...
Comment 1 pf 2024-03-11 16:09:58 UTC
Argh...  I worked hard to make sure the report was aligned with a fixed font...