Bug 457740 - When screens are arranged to be partially overlapping in KScreen KCM, main screen drawn over part of external monitor
Summary: When screens are arranged to be partially overlapping in KScreen KCM, main sc...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.25.4
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-10 22:21 UTC by piotr.juzwiak
Modified: 2022-08-11 21:03 UTC (History)
1 user (show)

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


Attachments
Picture of laptop and monitors in tthe background showing overlapping area. (2.73 MB, image/jpeg)
2022-08-10 22:21 UTC, piotr.juzwiak
Details
Another picture of the issue (2.49 MB, image/jpeg)
2022-08-10 22:21 UTC, piotr.juzwiak
Details
"Drag and drop" setting used (181.19 KB, image/png)
2022-08-10 22:21 UTC, piotr.juzwiak
Details
Config before change (1.84 KB, text/plain)
2022-08-11 20:03 UTC, piotr.juzwiak
Details
Config after change (1.83 KB, text/plain)
2022-08-11 20:04 UTC, piotr.juzwiak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description piotr.juzwiak 2022-08-10 22:21:05 UTC
Created attachment 151236 [details]
Picture of laptop and monitors in tthe background showing overlapping area.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  In a multimonitor scenario drag the "main" screen over the external monitors so they overlap
2.  The main screen's area is displayed over the external screen's area
3. 

OBSERVED RESULT

The laptop's area is displayed/rendered on the external monitor(s)

EXPECTED RESULT
I would imagine it shouldn't display/render laptop's "area" on the external monitors

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:  5.25.4
KDE Frameworks Version: 5.96
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Using amdgpu, connecting to monitors via  USB-C to DP cable.
Comment 1 piotr.juzwiak 2022-08-10 22:21:31 UTC
Created attachment 151237 [details]
Another picture of the issue
Comment 2 piotr.juzwiak 2022-08-10 22:21:59 UTC
Created attachment 151238 [details]
"Drag and drop" setting used
Comment 3 Nate Graham 2022-08-11 18:06:27 UTC
Cannot reproduce on current git master with Wayland. Are you using X11 or Wayland?
Comment 4 piotr.juzwiak 2022-08-11 19:05:53 UTC
HI Graham, I can replicate it in both wayland and X11 enironment. I'm trying to get some better debugging info now
Comment 5 piotr.juzwiak 2022-08-11 20:03:58 UTC
Created attachment 151266 [details]
Config before change
Comment 6 piotr.juzwiak 2022-08-11 20:04:24 UTC
Created attachment 151267 [details]
Config after change
Comment 7 piotr.juzwiak 2022-08-11 20:05:50 UTC
I've added two versions from kscreen folder where I noticed a difference.  I've saved both config files before and after change to compare. Please let me know what kind of other information you'd like me to get.
Comment 8 piotr.juzwiak 2022-08-11 21:01:03 UTC
HI Graham,

I've tested it with the latest Unstable KDE Neon and I couldn't reproduce the same issue (besides having another issue with gpu but unrelated).
Comment 9 Nate Graham 2022-08-11 21:03:24 UTC
Awesome, thanks so much for testing! It would seem that it's already fixed in Plasma 5.26, then.