Bug 505895

Summary: Full screen videos in Firefox are placed incorrectly on multi-monitor setups.
Product: [Plasma] kwin Reporter: kdebugs
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: brainpo, jonagutkin, xaver.hugl
Priority: NOR    
Version First Reported In: 6.4.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.4.1
Sentry Crash Report:
Attachments: Monitor layout configuration.

Description kdebugs 2025-06-21 07:27:46 UTC
Created attachment 182471 [details]
Monitor layout configuration.

SUMMARY
Full screen videos in Firefox are placed incorrectly on multi-monitor setups.

STEPS TO REPRODUCE
1. Open a video with Firefox.
2. Place the Firefox window on your side monitor in vertical orientation.
3. Set the video to full screen.

OBSERVED RESULT
The full screen video is placed partially off the bottom of the vertical monitor. 

EXPECTED RESULT
The video should render centered on the vertical monitor.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.14.11-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 128 GiB of RAM (127.0 GiB usable)
Graphics Processor: AMD Radeon RX 6900 XT

ADDITIONAL INFORMATION
I have a multi-monitor setup with 2 4k monitors. The main is landscape, and the secondary is in portrait off to the right. I have attached a screenshot to illustrate my exact setup.

This worked correctly in the last version of 6.3. This regression happened in the 6.4 update.

I suspect it has something to do with my screen offsets. It seems the video ends up centered on the bottom of my primary monitor, despite being on the vertical secondary. I would look into this further, but getting the offset set correctly again is very tedious.

Chromium and VLC seem immune to this issue.

I am unsure of which component is responsible for this behavior, so I have marked it kwin/generic.
Comment 1 Zamundaaa 2025-06-21 11:12:11 UTC

*** This bug has been marked as a duplicate of bug 505777 ***
Comment 2 KƸlɘvra 2025-06-22 17:56:24 UTC
i've have the same and while i would take a screenshot on my second monitor if the screen is on 100hz, i've a black screen... no monitors :') 
i put my second monitor at 60hz for "fix" the problem of screenshot but for video... not. 

this is my OS : 
OS: CachyOS 
Kernel: 6.15.3-2-cachyos 
Resolution: 1920x1080, 2560x1440 
DE: Plasma 6.4.0 (Wayland) 
CPU: AMD Ryzen 5 5600X 
GPU: AMD ATI Radeon RX 6950 XT  
Memory: 6114MiB / 31993MiB


sorry it's my first time i report a bug here.
Comment 3 Vlad Zahorodnii 2025-06-23 07:10:47 UTC
It was fixed right before 6.4.0 got released but it didn't get into the tars.
Comment 4 Vlad Zahorodnii 2025-06-23 07:13:22 UTC
*** Bug 505883 has been marked as a duplicate of this bug. ***