Bug 434968 - With Touch Screen gestures enabled, snap-to-border halo stays visible after dropping a window near a screen border
Summary: With Touch Screen gestures enabled, snap-to-border halo stays visible after d...
Status: REOPENED
Alias: None
Product: kwin
Classification: Plasma
Component: Gestures (show other bugs)
Version: 5.24.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-26 11:58 UTC by Bernie Innocenti
Modified: 2023-05-08 07:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot demonstrating the bug (see cyan halo on top border) (332.52 KB, image/png)
2021-03-26 12:01 UTC, Bernie Innocenti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernie Innocenti 2021-03-26 11:58:19 UTC
SUMMARY

This is a Wayland regression. The "halo" which appears when dragging windows near a border does not disappear when the window is released.

STEPS TO REPRODUCE
1. Grab any window from the title bar
2. Move it close the top border, until the snap halo appears
3. Drop the window

OBSERVED RESULT
Halo effect remains visible after window is released

EXPECTED RESULT
Halo effect should be canceled

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Comment 1 Bernie Innocenti 2021-03-26 12:01:26 UTC
Created attachment 137083 [details]
screenshot demonstrating the bug (see cyan halo on top border)
Comment 2 Bernie Innocenti 2021-03-26 14:01:06 UTC
Correction: this is *not* a Wayland bug. It also happens on X11.
Comment 3 Nate Graham 2021-03-31 16:54:56 UTC
Cannot reproduce on X11 with an auto-hidden top-panel on git master everything. Can you attach a screen recording so I can before I'm testing the same thing as you? Thanks!
Comment 4 Bug Janitor Service 2021-04-15 04:33:22 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 5 Bernie Innocenti 2021-04-15 07:50:57 UTC
Could someone suggest a screen recorder that will work on Wayland?

On my Intel laptop, OBS 26.1.2 has a rendering bug that makes it unusable (looks similar to Bug 429967 for Gwenview).
Comment 6 Bernie Innocenti 2021-04-15 07:52:23 UTC
Oh, and I can't reproduce this bug with my Arch Linux desktop, which is using KDE built from git master.

It only happens on Fedora 34 with kwin 5.21.4.
Comment 7 Nate Graham 2021-04-15 12:50:31 UTC
FWIW I cannot reproduce the bug with git master either. Maybe we should call it fixed in Plasma 5.22?
Comment 8 Bug Janitor Service 2021-04-30 04:33:39 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 9 Bernie Innocenti 2021-04-30 04:51:04 UTC
(In reply to Nate Graham from comment #7)
> FWIW I cannot reproduce the bug with git master either. Maybe we should call
> it fixed in Plasma 5.22?

I also cannot reproduce in git master, but could we backport the fix to 5.21.x for all the Fedora 34 and Ubuntu 21.04 users out there?
Comment 10 Nate Graham 2021-04-30 13:12:22 UTC
If we know what fixed it, sure. If you can find the commit(s) feel free to mention it here and we'll look into backporting.

FWIW Fedora packagers are intending to push Plasma 5.22 in an update for F34 users once it's released.
Comment 11 Bernie Innocenti 2022-01-19 08:37:12 UTC
AHA! I can reproduce it again now: it happens only when the Wobbly Windows effect is enabled.
Comment 12 Bernie Innocenti 2022-02-03 17:48:38 UTC
Did someone just fix it?

I can no longer reproduce this on my desktop, which runs KDE built from git. Still present in Fedora Rawhide, which runs 5.23.90
Comment 13 Vlad Zahorodnii 2022-02-04 07:24:02 UTC
As far as I know, there weren't any fixes that targeted specifically this problem
Comment 14 Bernie Innocenti 2022-02-12 23:06:14 UTC
I apologize for blaming Wobbly Windows, I was confused by the different behaviors observed on my laptop and my PC.

Steps to reproduce the bug on both my Plasma 5.24 desktops:

1. Go to Workspace Behavior / Touch Screen and set the top border gesture to "Show Destop" (you don't actually need a touch screen to do this)
2. Go to Workspace Behavior / Screen Edges and set "Switch desktop on edge" to "Only When Moving Windows"
3. Grab a Qt window and move it close to the top border until the top border's halo appears (doesn't work with Chromium and Signal Deskop)
4. Release the window
5. The halo remains visible.