Bug 432873 - In extended mode, any overlap between displays inappropriately causes Do Not Disturb mode to be enabled
Summary: In extended mode, any overlap between displays inappropriately causes Do Not ...
Status: RESOLVED DUPLICATE of bug 460247
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.20.5
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-13 01:13 UTC by grannie
Modified: 2022-10-14 09:12 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grannie 2021-02-13 01:13:00 UTC
https://bugs.kde.org/show_bug.cgi?id=418185

kscreen-doctor -j output | grep pos -A3
            "pos": {
                "x": 0,
                "y": 0
            },
--
            "pos": {
                "x": 1919,
                "y": 0
            },

I just plugged 2 displays in and the auto config made them overlap by 1 px.

The actual problem is, that system notification is in Do Not Disturb mode due to "screen mirroring"
Comment 1 Nate Graham 2021-10-24 14:21:44 UTC
*** Bug 418185 has been marked as a duplicate of this bug. ***
Comment 2 Méven Car 2022-04-30 08:02:28 UTC
I have a similar setup 1080p screen left external 4k right connected through HDMI in Plasma Wayland 5.24.80 (aka Plasma 5.25) and I don't reproduce the Issue.
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-40-generic (64-bit)
Graphics Platform: Wayland
Memory: 19.0 Gio of RAM
Graphics Processor: Mesa Intel® HD Graphics 520

Can you share you system info ?

Do you reproduce the issue in Wayland ?
Comment 3 Jose M. Prieto 2022-04-30 09:26:37 UTC
I'm not the reporter, but I came from #418185, where I commented time ago. I'm still able to reproduce the issue on both Xorg and Wayland when I do this:

1. In System Settings -> Display and Monitor disable one of the screens.
2. Close the System Settings app.
3. Open it again and enable the screen. I get the 1px overlap and DnD mode. (Also the screen position preview is incorrect.)

If skip step 2 I don't get the problem.

Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Memory: 11.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4000
Comment 4 Méven Car 2022-04-30 09:57:08 UTC
(In reply to Jose M. Prieto from comment #3)
> I'm not the reporter, but I came from #418185, where I commented time ago.
> I'm still able to reproduce the issue on both Xorg and Wayland when I do
> this:
> 
> 1. In System Settings -> Display and Monitor disable one of the screens.
> 2. Close the System Settings app.
> 3. Open it again and enable the screen. I get the 1px overlap and DnD mode.
> (Also the screen position preview is incorrect.)
> 
> If skip step 2 I don't get the problem.
> 
> Operating System: Arch Linux
> KDE Plasma Version: 5.24.4
> KDE Frameworks Version: 5.93.0
> Qt Version: 5.15.3
> Kernel Version: 5.17.4-arch1-1 (64-bit)
> Graphics Platform: Wayland
> Memory: 11.6 GiB of RAM
> Graphics Processor: Mesa Intel® HD Graphics 4000

Thank you for the detailed step by step.
I think I had this issue at some point but maybe not of the same laptop.

I could not reproduce this issue on my laptop following your step-by-step in Wayland.

The bug is probably fixed in Plasma 5.25, which is now ~5 weeks away, would need confirmation.

KWin code handling screens has received quite some attention during this cycle, this is plausible.

What happens when in kscreen (screen configuration kcm), you reposition your screen ? can you manually fix this ?
Comment 5 Nate Graham 2022-05-02 18:46:37 UTC
I can still reproduce the issue. The problem is that any amount over overlap for non-mirrored screens triggers DND mode. This is conceptually incorrect; it should only happen in mirrored mode. Extended mode should permit arbitrary overlap without triggering DND mode automatically.
Comment 6 David Edmundson 2022-10-14 09:12:19 UTC

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