Bug 473524

Summary: Menu flashing on desktop context menu with fractional scaling
Product: [Plasma] kwin Reporter: Duncan <kde.bugs>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version: 5.27.7   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Video showing menu issue

Description Duncan 2023-08-19 07:58:30 UTC
Created attachment 161054 [details]
Video showing menu issue

SUMMARY
Fractional scaling causes menu flashing/tearing as the mouse moves over the menu entries. It's almost as if the menu is being raised over itself on highlighted segment at a time.


STEPS TO REPRODUCE
1. Use Wayland
2. Use one 1440p monitor, one 2160p monitor
3. Set the 2160p to 150% scaling
4. Right-click on desktop, move cursor over menu

OBSERVED RESULT
See attached video for better description than I can provide with words.

When pressing Print Screen to open Spectacle to take a static image, the areas the mouse has not moved over vanish, leaving holes in the menu (the windows below it are shown).

EXPECTED RESULT
Behaviour like with no fractional scaling - no flashing, no holes in the menu etcetera.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230817
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2


ADDITIONAL INFORMATION
Comment 1 Duncan 2023-08-19 08:07:12 UTC
qdbus-qt5 org.kde.KWin /KWin supportInformation: https://nextcloud.cricalix.net/index.php/s/bkj7fMBXz7SNtQ6
Comment 2 Duncan 2023-08-19 08:08:00 UTC
Screenshot of menu missing segments: https://nextcloud.cricalix.net/index.php/s/bcZD6gXBHWAyegf
Comment 3 Nate Graham 2023-08-22 22:02:50 UTC

*** This bug has been marked as a duplicate of bug 432264 ***