Bug 509095 - Occasional incorrect scaling for "Peek at Desktop" popup after existing fullscreen browser mode
Summary: Occasional incorrect scaling for "Peek at Desktop" popup after existing fulls...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 6.4.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-04 05:24 UTC by thomasmcmah21
Modified: 2025-09-17 18:12 UTC (History)
2 users (show)

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


Attachments
Observed result in top half, expected result in bottom half (105.08 KB, image/png)
2025-09-04 05:24 UTC, thomasmcmah21
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomasmcmah21 2025-09-04 05:24:10 UTC
Created attachment 184699 [details]
Observed result in top half, expected result in bottom half

SUMMARY
After entering and then exiting a fullscreen browser video in Firefox (happened with YouTube/Twitter/X specifically), hovering over the "Peek at Desktop" icon in the panel on the bottom right will cause the popup to be horizontally stretched (about ~1.5x longer than it should be if I had to guess). This only occurs a small percentage of the time (maybe 10-20%), and I have no idea if it's completely random or if seemingly insignificant factors are causing it to happen more often than not (mouse movement, delay between exiting fullscreen/hovering over the icon). See attached image for example of stretched vs non-stretched popup.

STEPS TO REPRODUCE
1. Enter and exit a fullscreen video in the Firefox browser.
2. Hover over the "Peek at Desktop" icon.
3. Repeat Steps 1 and 2 until 

OBSERVED RESULT
The popup that appears when hovering over the "Peek at Desktop" icon is horizontally stretched and extends off the screen, and some of the text cannot be read as a result.

EXPECTED RESULT
The popup that appears when hovering over the "Peek at Desktop" icon is aligned with the bottom right corner of the monitor and the text appears to have the same aspect ratio as other text rendered on the panel (such as the clock).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.15.4-arch2-1 (64-bit)
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce RTX 4070 Ti SUPER/PCIe/SSE2
Graphics Driver Packages (Installed via pacman):
lib32-nvidia-utils 575.64.03-1
linux-firmware-nvidia 20250627-1
nvidia-open-dkms 575.64.03-1
nvidia-utils 575.64.03-1