Bug 483256 - When window spans 2 screens, menu is sometimes located on the wrong screen
Summary: When window spans 2 screens, menu is sometimes located on the wrong screen
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 6.0.1
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-03-11 16:08 UTC by pf
Modified: 2024-03-11 19:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...