Bug 499489

Summary: A firefox window is restored outside the notebook monitor after detaching the external monitor
Product: [Plasma] kwin Reporter: Simone Gaiarin <simgunz>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.2.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Simone Gaiarin 2025-02-04 07:12:48 UTC
SUMMARY
On wayland firefox windows are restored outside the notebook screen if they previously were on a external monitor. I need to close and reopen the firefox window to be able to have it again in the notebook screen. 

Not sure if this is a problem with kwin or kscreen.

STEPS TO REPRODUCE
1. Connect an external monitor to a notebook
2. Open a firefox windows on the external monitor
3. (Minimize the window) 
4. Put the notebook to sleep
5. Detach the external monitor
6. Resume the notebook
7. Click on the firefox icon in the menu to restore it

OBSERVED RESULT
I can see the animation of the window that is restored outside the notebook monitor, where the external monitor was before

EXPECTED RESULT
The window is restored in the notebook screen

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
Memory: 58,6 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: LENOVO
Product Name: 21K9CTO1WW
System Version: ThinkPad P16s Gen 2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-02-19 16:47:15 UTC

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