Bug 460752

Summary: Frozen image when window is snapped into corner under X11
Product: [Plasma] kwin Reporter: Avery J. <avery-j>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: angeltmail, kde, nate
Priority: NOR Keywords: regression
Version First Reported In: unspecifiedFlags: vlad.zahorodnii: Wayland-
vlad.zahorodnii: X11+
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=460934
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Visualization of Issue

Description Avery J. 2022-10-20 09:41:45 UTC
The image will appear frozen when snapped into any corner under X11. This issue does not seem to affect Wayland.


STEPS TO REPRODUCE
1. Snap an application such as Firefox, Chromium, or Okular into a corner

OBSERVED RESULT
The image appears frozen and does not respond to mouse input until unsnapped. Also, some buttons are cut off when snapped. 

EXPECTED RESULT
The image displays correctly and responds when snapped into corner

SOFTWARE/OS VERSIONS
OS: Manjaro Linux 6.0.2-3-MANJARO
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Comment 1 Nate Graham 2022-10-20 19:43:31 UTC
Did this happen in Plasma 5.25?
Comment 2 Avery J. 2022-10-20 19:56:03 UTC
(In reply to Nate Graham from comment #1)
> Did this happen in Plasma 5.25?

I don't believe so. As far as I can tell, this issue began occurring after the update to 5.26.
Comment 3 Nate Graham 2022-10-21 15:42:04 UTC
Thanks!
Comment 4 Nate Graham 2022-10-22 04:34:10 UTC
Cannot reproduce on X11 with an Intel iGPU. What graphics hardware and drivers are you using?
Comment 5 Avery J. 2022-10-22 10:55:26 UTC
(In reply to Nate Graham from comment #4)
> Cannot reproduce on X11 with an Intel iGPU. What graphics hardware and
> drivers are you using?

I am using a AMD Radeon RX 6700 XT with the open source amdgpu driver. I'm not sure if it matters but I am also using a AMD Ryzen 7 3700 X CPU as well.
Comment 6 Nate Graham 2022-10-24 18:05:54 UTC
Thanks for the info.
Comment 7 angeltmail 2022-10-26 19:01:36 UTC
This is an issue that I have as well on plasma 5.26 using X11. The following is my hardware/software combination and my unique steps to reproduce.

OS: Arch Linux
KDE Plasma Version: 5.26.1
KDE Framework Version: 5.99.0
Qt Version: 5.15.6

CPU: AMD 5600X
GPU: AMD 6700 xt
Driver:  amdgpu

I have two monitors, a 4k monitor and a 1080p monitor with x1.715 scaling so that the rendered dpi is the same on both monitors.(This messes with kde so I use xrandr to set it)

Steps to reproduce:
1. Snap an application to a corner or edge on my second monitor (1080p with scaling factor)

Observed Result:
The application visually freezes. Interaction with the window still works, but the visuals are not updated until the window is un-snapped.

It is worth noting that on my 4k monitor, this does not occur. Screen snapping works as expected for the 4k monitor.
Comment 8 angeltmail 2022-10-26 19:06:34 UTC
Created attachment 153225 [details]
Visualization of Issue

Two screenshots showing what the window looked before and after snapping. The details of my hardware are in comment 7.
Comment 9 Vlad Zahorodnii 2023-01-23 14:15:08 UTC
Can you run

  qdbus org.kde.KWin /KWin queryWindowInfo

and click a frozen window and post the output here?
Comment 10 angeltmail 2023-01-24 18:24:50 UTC
This issue no longer persists for me. It has been solved at one point or another. I am now on:

KDE Plasma Version: 5.26.5
KDE Frameworks Verson: 5.101.0
Qt Verssion 5.15.8
X11
Arch Linux
Comment 11 Bug Janitor Service 2023-02-08 03:53:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Bug Janitor Service 2023-02-23 03:45:50 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!