Bug 488517 - Some windows move to the other screen after unlock session
Summary: Some windows move to the other screen after unlock session
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 6.1.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-06-15 08:55 UTC by Julien Delquié
Modified: 2025-05-26 14:37 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2024-06-15 08:55:43 UTC
SUMMARY

When I leave all window of my applications on my right screen (principal), some of them go to the left screen (secondary) if I let screen saving happen after auto lock session, and then unlock session.

STEPS TO REPRODUCE
1. Open some applications
2. Wait for autolock session + screen saving
3. Unlock session

OBSERVED RESULT

Some applications moved by themselves on the other screen.

EXPECTED RESULT

Leave applications where they were before.


SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.4-gentoo-x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 31.3 Gio of RAM
Graphics Processor: AMD Radeon RX 7800 XT

ADDITIONAL INFORMATION

My right screen (principal) uses DisplayPort.
My left screen (secondary) uses HDMI.
Also, I noticed that my right screen, purshased more recently, is a bit longer to display something when screen saving stops than my older left screen.

Here are applications that moves: Firefox, Thunderbird, Neochat, Konversation.
Here are applications that does not move: Discord, Signal, Konsole, SystemSettings.
Comment 1 Julien Delquié 2024-07-03 10:56:23 UTC
Still happen after updates (Plasma, Qt, Kernel):

Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-gentoo-x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 31.3 Gio of RAM
Graphics Processor: AMD Radeon RX 7800 XT
Comment 2 Zamundaaa 2024-07-17 21:12:16 UTC
Please attach the output of
kscreen-doctor -o
Comment 3 Julien Delquié 2024-07-20 05:33:57 UTC
$ kscreen-doctor -o
Output: 1 DP-2
        enabled
        connected
        priority 1
        DisplayPort
        Modes:  0:1920x1080@144!  1:1920x1080@240*  2:1920x1080@120  3:1920x1080@100  4:1920x1080@85  5:1920x1080@60  6:1920x1080@60  7:1920x1080@60  8:1920x1080@50  9:1680x1050@144  10:1280x1024@75  11:1440x900@144  12:1280x800@75  13:1280x800@60  14:1280x720@75  15:1280x720@60  16:1280x720@60  17:1280x720@60  18:1280x720@50  19:1440x576@50  20:1440x576@50  21:1024x768@75  22:1024x768@70  23:1024x768@60  24:1440x480@60  25:1440x480@60  26:1440x480@60  27:1440x480@60  28:832x624@75  29:800x600@75  30:800x600@72  31:800x600@60  32:800x600@56  33:720x576@50  34:720x576@50  35:720x480@60  36:720x480@60  37:720x480@60  38:720x480@60  39:640x480@75  40:640x480@67  41:640x480@60  42:640x480@60  43:640x480@60  44:720x400@70  45:1280x1024@60  46:1024x768@60  47:1920x1080@60  48:1600x900@60  49:1368x768@60  50:1280x720@60 
        Geometry: 1920,0 1920x1080
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Never
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: EDID
Output: 2 HDMI-A-1
        enabled
        connected
        priority 2
        HDMI
        Modes:  0:1920x1080@60*!  1:1920x1080@60  2:1920x1080@60  3:1920x1080@50  4:1600x1200@60  5:1680x1050@60  6:1280x1024@75  7:1280x1024@60  8:1440x900@60  9:1280x960@60  10:1366x768@60  11:1280x800@60  12:1152x864@75  13:1280x720@60  14:1280x720@60  15:1280x720@60  16:1280x720@50  17:1024x768@75  18:1024x768@70  19:1024x768@60  20:800x600@75  21:800x600@72  22:800x600@60  23:800x600@56  24:720x576@50  25:720x480@60  26:720x480@60  27:720x480@60  28:720x480@60  29:640x480@75  30:640x480@73  31:640x480@60  32:640x480@60  33:640x480@60  34:720x400@70  35:1280x1024@60  36:1024x768@60  37:1280x800@60  38:1920x1080@60  39:1600x900@60  40:1368x768@60  41:1280x720@60 
        Geometry: 0,0 1920x1080
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: EDID
Comment 4 Zamundaaa 2025-05-06 16:54:58 UTC
Does this still happen for you in 6.3? Since 6.1 we've added a bunch of fixes and automatic tests to ensure windows get put back where they belong
Comment 5 Julien Delquié 2025-05-07 18:14:49 UTC
(In reply to Zamundaaa from comment #4)
> Does this still happen for you in 6.3? Since 6.1 we've added a bunch of
> fixes and automatic tests to ensure windows get put back where they belong

Sorry for the late reply, I did not face this kind of issue any more, for a while, but I can’t remember since when, unfortunately.

Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.3
Kernel Version: 6.14.5-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 31.3 Gio of RAM
Graphics Processor: AMD Radeon RX 7800 XT
Comment 6 Bug Janitor Service 2025-05-22 03:47:22 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Zamundaaa 2025-05-26 14:37:49 UTC
Cool