Bug 480727 - Window menu and submenus wrongly sized the first time they open in the session
Summary: Window menu and submenus wrongly sized the first time they open in the session
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-02 10:21 UTC by Emilio Cobos Álvarez (:emilio)
Modified: 2024-09-01 10:47 UTC (History)
0 users

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


Attachments
Screencast of the issue (3.54 MB, video/webm)
2024-02-02 10:21 UTC, Emilio Cobos Álvarez (:emilio)
Details
Display configuration. (27.55 KB, image/png)
2024-02-02 10:45 UTC, Emilio Cobos Álvarez (:emilio)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Cobos Álvarez (:emilio) 2024-02-02 10:21:51 UTC
Created attachment 165467 [details]
Screencast of the issue

SUMMARY

Using Plasma 6.0 RC2, in Wayland.

First time in the session right clicking on a titlebar and opening the submenus shows wrongly-sized menus.

STEPS TO REPRODUCE
1. Right-click on a titlebar so that the window menu pops up.
2. Open one of the submenus.

OBSERVED RESULT

Submenus are wrongly laid out. You need to close it and open it again in order to see the whole thing.

EXPECTED RESULT

The menus are correct the first time around.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.3-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION

I have two monitors at 200% scaling, if that's relevant.
Comment 1 Vlad Zahorodnii 2024-02-02 10:38:06 UTC
Hmm I can't reproduce it. What's the output layout?
Comment 2 Emilio Cobos Álvarez (:emilio) 2024-02-02 10:45:09 UTC
Created attachment 165468 [details]
Display configuration.

I assume you mean output as in wayland output / screen configuration, but lmk if not. It's pretty standard. The monitor I've reproduced this on is the right one, which is the primary one, I can reboot and test the left one if that'd be useful.
Comment 3 Emilio Cobos Álvarez (:emilio) 2024-09-01 10:47:06 UTC
I can't repro this anymore.