Bug 487138 - Windows placement forgotten all placed on the left screen after switching AVR standby on/off
Summary: Windows placement forgotten all placed on the left screen after switching AVR...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-05-17 08:48 UTC by Jure Repinc
Modified: 2024-07-29 21:58 UTC (History)
1 user (show)

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


Attachments
Screen layout used (60.78 KB, image/png)
2024-05-17 08:48 UTC, Jure Repinc
Details
kscreen log (2.28 KB, text/plain)
2024-05-17 08:56 UTC, Jure Repinc
Details
KWin Info (6.25 KB, text/plain)
2024-05-17 08:58 UTC, Jure Repinc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jure Repinc 2024-05-17 08:48:16 UTC
Created attachment 169559 [details]
Screen layout used

SUMMARY
I have two screens connected to the graphics card, smaller Samsung one is connected via DVI and set to be on the left side and not primary and using 150% scale, bigger one is Panasonic TV and connected via HDMI to Marantz AVR and then this is connected via HDMI to the graphics card. This one is set as primary screen and to the right, using 200% scaling.

When I turn the AVR into standby mode the connection from PC to AVR to TV is set as pass-through (so audio plays on TV speakers) and when returning back from standby the connection is normal and audio is processed by AVR and played via speakers connected to it.

The problem is that when this switching of AVR from/to standby changes screen/outputs configuration and it used to work mostly fine but now the screen positions of windows are forgotten and all windows are moved to the left smaller Samsung screen instead of remaining on the big right Panasonic screen.

This used to work almost fine about on april 25 but now (april 17) that I am back and updated the software it is does not work anymore so something changed during this time frame.

STEPS TO REPRODUCE
1. Move all windows to the right big Panasonic screen
2. Switch AVR in/out of standby mode

OBSERVED RESULT
All windows are moved to the left small Samsung screen

EXPECTED RESULT
All windows should remain on the screen where they are, in my case all should be on the right screen

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240514
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-1-default (64-bit)
Mesa Version: 24.0.5
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600 6-Core Processor
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 480 Graphics
Manufacturer: ASUS

ADDITIONAL INFORMATION
Comment 1 Jure Repinc 2024-05-17 08:56:20 UTC
Created attachment 169560 [details]
kscreen log
Comment 2 Jure Repinc 2024-05-17 08:58:18 UTC
Created attachment 169561 [details]
KWin Info
Comment 3 David Edmundson 2024-05-29 09:25:48 UTC
Relevant code is in placementtracker.cpp

if you can dump some qDebugs to see if it's trying to restore anything that would be very helpful