Bug 466822 - Window becomes blurry when dragged from toolbar or CSD in Wayland with Invert effect, or Wobbly Window effect enabled
Summary: Window becomes blurry when dragged from toolbar or CSD in Wayland with Invert...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.27.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-04 11:59 UTC by Thakshila Damsak
Modified: 2023-06-12 10:25 UTC (History)
2 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 Thakshila Damsak 2023-03-04 11:59:51 UTC
SUMMARY: Window becomes blurry when dragged from toolbar or CSD in Wayland with Plasma Invert effect

STEPS TO REPRODUCE:
1. Enable the Plasma Invert effect in System Settings > Workspace > Desktop Effects
2. Press the keyboard shortcut to activate the effect (default: Meta+Ctrl+I)
3. Open an application.
4. Drag the window from the toolbar or CSD area

OBSERVED RESULT
The window becomes blurry and hard to read when dragged from the toolbar or CSD area.
Dragging the window from the titlebar area removes the blurriness and the window becomes normal again.

EXPECTED RESULT
The window should remain clear and readable when dragged from any area of the window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
• This issue occurs with the Plasma Invert effect enabled and activated.
• The issue only occurs when dragging windows from the toolbar or CSD area, not from the title bar.
• Disabling the Plasma Invert effect resolves the issue.
Comment 1 Thakshila Damsak 2023-03-05 11:44:08 UTC
Additional Information:

I have discovered that this blurriness issue also occurs with the Wobbly Windows effect enabled. When I drag the window from the toolbar or CSD area with the Wobbly Windows effect enabled, the window becomes blurry just like with the Plasma Invert effect. However, the blurriness disappears once the window is finished dragging, and the window becomes normal again.

Dragging the window from the titlebar with the Wobbly Windows effect enabled does not cause any blurriness.

Thank you.
Comment 2 Nate Graham 2023-03-08 16:55:06 UTC
Can't reproduce in the upcoming 5.27.3. Can you check again once it's released in a about a week? Thanks a lot!
Comment 3 Bug Janitor Service 2023-03-23 03:45:41 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 4 Thakshila Damsak 2023-03-26 07:40:59 UTC
Still happens in Plasma 5.27.3.
This does not happen with xwayland apps.

Here is a screen recording (View in maximum quality.) - https://www.dropbox.com/s/zgczkpzj8meero7/Plasma%20Blurriness.mp4?dl=0
Comment 5 Thakshila Damsak 2023-04-30 20:34:18 UTC
Still happens with Plasma 5.27.4
Comment 6 Thakshila Damsak 2023-05-24 10:52:38 UTC
Also happens with the Overview effect and Desktop Grid effect. 
Here are some screenshots,

Desktop Grid
Before dragging by the toolbar - https://imgur.com/a/5aPHJIq
After dragging by the toolbar - https://imgur.com/a/qOPjIsh

Overview
Before dragging by the toolbar - https://imgur.com/a/IDJcFrB
After dragging by the toolbar - https://imgur.com/a/NWiQXuN
Comment 7 Nate Graham 2023-05-24 15:38:28 UTC
Can confirm with 200% scale. Are you using a scale higher than 100% as well?
Comment 8 Thakshila Damsak 2023-05-24 17:11:48 UTC
Nope. I use 100% scaling.
Comment 9 Thakshila Damsak 2023-05-26 10:57:50 UTC
RESOLVED: Deleting the kwinrc config file solved the issue.

I created a new user account to check if the same thing happens there. But it didn't. So I tried deleting the kwinrc config file in my original account. It resolved the problem.

Thanks!
Comment 10 Nate Graham 2023-05-28 04:54:31 UTC
Cool, I guess there was some old config value in there or something.
Comment 11 Thakshila Damsak 2023-06-01 18:26:57 UTC
Hey, I found that happens when both "Screen edge snap zone" and "Window snap zone" settings in Window Management --> Window Behaviour --> Movement are set to "none". Deleting the kwinrc file made them reset to the default setting. (default is 10px) So it fixed the problem. But changing them again to "none" causes the problem again.

I got my preferred behavior by setting them to 1px. But I thought it would be a good idea to report this.
Comment 12 David Edmundson 2023-06-12 10:25:40 UTC
>RESOLVED: Deleting the kwinrc config file solved the issue.

FWIW, there's a similar bug at https://bugs.kde.org/show_bug.cgi?id=470607 so lets close this for now