Bug 443955

Summary: Desktop copies contents of dolphin window when using wayland
Product: [Plasma] kwin Reporter: Peter Shkenev <mustela>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bizyaev, nate
Priority: NOR Flags: vlad.zahorodnii: NVIDIA+
Version First Reported In: 5.23.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot with bug

Description Peter Shkenev 2021-10-18 09:38:53 UTC
Created attachment 142570 [details]
Screenshot with bug

SUMMARY
Desktop shares contents with dophin window in a wayland session, i.e. everything in dolphin is inverted and stretched to desktop. Better see attached screenshot

STEPS TO REPRODUCE
1. Login to plasma wayland
2. Open Dolphin
3. Try to resize dolphin window

OBSERVED RESULT
See attached screenshot


EXPECTED RESULT
I expected to see wallpaper and icons on desktop

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 5.14.12
(available in About System)
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
GPU: NVIDIA GeForce GTX 660, with proprietary NVIDIA driver 470.74
If one opens another dolphin window and tries to resize it, both desktop and first dolphin window begin copying contents of second dolphin window. Apparently they all use the same video memory fragment.
Comment 1 Peter Shkenev 2021-10-18 09:47:56 UTC
Update: this bug also occurs with Konversation, Okular, Gwenview. But Konsole, System Settings and Info Center are immune to this bug.

Also, closing application makes desktop black.
Comment 2 Vlad Zahorodnii 2021-10-18 09:50:59 UTC
If the desktop displays the contents of "konversation" and you open okular or gwenview, will the desktop start displaying okular/gwenview?

Also, what does happen when you close konversation and open okular/gwenview?
Comment 3 Peter Shkenev 2021-10-18 10:04:13 UTC
(In reply to Vlad Zahorodnii from comment #2)
> If the desktop displays the contents of "konversation" and you open okular
> or gwenview, will the desktop start displaying okular/gwenview?
Yes, Konversation starts displaying okular if I resize okular.

> Also, what does happen when you close konversation and open okular/gwenview?
Desktop and applications like okular/gwenview go black, then desktop and those applications starts displaying okular (again, if I resize okular, before that desktop is black).
Comment 4 Peter Shkenev 2021-12-04 11:25:24 UTC
Can this bugreport be closed due to EGLStreams backend deprecation?
Comment 5 Vlad Zahorodnii 2022-01-19 19:03:39 UTC
Yes, it can be closed due to the eglstreams backend being dropped.