Bug 500699 - Drawing of submenu is broken
Summary: Drawing of submenu is broken
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: appmenu (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2025-02-24 23:23 UTC by Piotr Mierzwinski
Modified: 2025-02-27 22:38 UTC (History)
3 users (show)

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


Attachments
issues with drawing submenu (1.21 MB, video/webm)
2025-02-25 07:42 UTC, Piotr Mierzwinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2025-02-24 23:23:46 UTC
SUMMARY
Walking through menu in Kate I found couple issues related with drawing of submenu.
1. Unnatural increasing of drawn submenu window which looks like zoom - it happens when I walk through slowly options in main menu.
2. Big vertical squeeze of text in submenu - it happens usually when I open both submenus alternately (moving mouse cursor from one to second and back).

Please look at attached short movie.

STEPS TO REPRODUCE
Apply: Window Decoration -> Application Menu for "Breeze" decorations.

* submenu window which looks like zoom
1. Open Kate
2. Click into Application Menu (icon with three horizontal lines)
3. Walk through slowly all options from top to bottom

* vertical squeeze of text in submenu.
1. Open Kate (if not yet opened)
2. Go (move mouse cursor) to Sessions
3. Walk through slowly over "Recent Sessions" "All Sessions"

OBSERVED RESULT
* unnatural increasing of drawn submenu window which looks like zoom.
* vertical squeeze of text in submenu.

EXPECTED RESULT
Options in submenus should be drawing "normally"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: YES
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Wayland

HARDWARE
Graphics: Intel Xe Graphics (integrated)
Processor: Intel i7 11th Gen

ADDITIONAL INFORMATION
Today (2024/02/24) I applied updates in Neon.
Comment 1 Piotr Mierzwinski 2025-02-25 07:42:33 UTC
Created attachment 178853 [details]
issues with drawing submenu
Comment 2 Vlad Zahorodnii 2025-02-27 16:48:22 UTC
This seems like a QtWayland bug. If wp_viewporter is disabled, then there is no glitch.
Comment 3 Piotr Mierzwinski 2025-02-27 22:30:26 UTC
(In reply to Vlad Zahorodnii from comment #2)
> This seems like a QtWayland bug. If wp_viewporter is disabled, then there is
> no glitch.

So how to disable wp_viewporter. I mean is it possible to do it without compilation of code?

BTW. 
Testing latest Arch Linux. I found this issue also in Plasma 6.3.1 (Wayland). To be detailed issue was related with "unnatural increasing of drawn submenu"