Bug 498111 - The sub-contextual menu of the title bar of a window is truncated and transparent on first invocation
Summary: The sub-contextual menu of the title bar of a window is truncated and transpa...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 6.2.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 489186 495363 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-01-01 07:14 UTC by Julien Delquié
Modified: 2025-01-02 15:03 UTC (History)
3 users (show)

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


Attachments
contextual menu issue (1.25 MB, video/webm)
2025-01-01 07:14 UTC, Julien Delquié
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2025-01-01 07:14:03 UTC
Created attachment 177010 [details]
contextual menu issue

SUMMARY
When context menu is invoked for the first time on the title bar of a window, sub-context menu is partially (nearly totally?) a « ghost » version of itself (truncated and a problem of transparency, I mean).

The record in attachment shows the issue better than I describe it.

STEPS TO REPRODUCE
1. login to plasmashell
2. open an application
3. right-click on the title bar of the corresponding window
4. navigate through the contextual menu from top to down

OBSERVED RESULT
sub-contextual menu is not fully showing itself.

EXPECTED RESULT
sub-contextual menu is fully showing itself.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.7-gentoo-x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 31.3 Gio of RAM
Graphics Processor: AMD Radeon RX 7800 XT

ADDITIONAL INFORMATION
The issue happens only once during the session; only on the first window where contextual menu is invoked. If the contextual menu is navigated from down to top (instead of top to down), the sub-contextual menu reappears! And the bug doesn’t show anymore during all the session, on any window.

This bug exists since many versions, I reported it here only today because now I have time to do it.
Comment 1 Julien Delquié 2025-01-01 07:23:19 UTC
In addition, I have tested also under X11, the issue does not appear on X11. Only under Wayland.
Comment 2 David Edmundson 2025-01-02 14:53:26 UTC
*** Bug 495363 has been marked as a duplicate of this bug. ***
Comment 3 David Edmundson 2025-01-02 14:53:46 UTC
*** Bug 489186 has been marked as a duplicate of this bug. ***
Comment 4 David Edmundson 2025-01-02 15:03:15 UTC
I remember fixing something with a kwin menu a while back, but i now can't find a link.
I definitely cannot reproduce anymore. Please confirm if this is still an issue with Plasma 6.3 and reopen if not.