Bug 412104 - [Wayland] Under certain circumstances, if the screen was locked via Kickoff, we can it open during a few milliseconds immediately after the screen is unlocked
Summary: [Wayland] Under certain circumstances, if the screen was locked via Kickoff, ...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.80
Platform: Arch Linux Linux
: LO minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2019-09-20 02:34 UTC by Patrick Silva
Modified: 2024-01-10 20:14 UTC (History)
1 user (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 Patrick Silva 2019-09-20 02:34:09 UTC
STEPS TO REPRODUCE
1. start Wayland session
2. open kickoff launcher, click on "Leave" tab, click on "Lock"
3. type your password and press enter/return to unlock your screen

OBSERVED RESULT
we can see the kickoff open immediately after the screen to be unlocked.
It closes itself after a few milliseconds.

EXPECTED RESULT
kickoff is not open after the screen to be unlocked, like on X11.

SOFTWARE/OS VERSIONS
SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.16.90
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.1
Comment 1 Patrick Silva 2019-11-27 14:03:08 UTC
I can't reproduce this behavior anymore.
But we can see the Kickoff closing itself behind a black screen immediately after click on "Lock"
and before the screen locker appears.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2
Comment 2 Patrick Silva 2020-01-18 12:55:27 UTC
still reproducible at least on Neon unstable edition.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2
Comment 3 Nate Graham 2021-03-04 19:51:17 UTC
Cannot reproduce on current git master. Can you?
Comment 4 Patrick Silva 2021-03-04 22:09:33 UTC
yes, I can.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 5 Patrick Silva 2022-05-19 19:05:55 UTC
Cannot reproduce consistently, but it's still happening.

Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Graphics Platform: Wayland
Comment 6 Patrick Silva 2023-11-13 16:39:20 UTC
Can also reproduce when locking the screen via context menu of desktop. The context menu is visible for a few milliseconds after unlocking.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 7 Bug Janitor Service 2023-12-12 21:35:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4785
Comment 8 Vlad Zahorodnii 2023-12-13 08:28:33 UTC
Git commit 76fbea704a96cfd87b97f949e569d9d4cf17a5ec by Vlad Zahorodnii.
Committed on 13/12/2023 at 09:19.
Pushed by vladz into branch 'master'.

plugins/slidingpopups: Cancel animations when screen is locked/unlocked

M  +2    -0    src/plugins/slidingpopups/slidingpopups.cpp

https://invent.kde.org/plasma/kwin/-/commit/76fbea704a96cfd87b97f949e569d9d4cf17a5ec
Comment 9 Patrick Silva 2023-12-23 10:31:16 UTC
This bug persists on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.91.90
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Graphics Platform: Wayland
Comment 10 Nate Graham 2024-01-09 23:52:10 UTC
I can't reproduce the issue with the original steps to reproduce. Are you still able to? If so, does it reproduce in a new clean user account?
Comment 11 Patrick Silva 2024-01-10 12:20:06 UTC
Can reproduce with these steps even with a newly created user account:

open Kickoff
click on "<" icon in the lower right corner and choose "Lock"
unlock the screen
Result: "<" menu of Kickoff is visible for a few milliseconds after unlocking the screen

or

right-click on desktop and choose "Lock screen"
unlock the screen
Result: the context menu of desktop is visible for a few milliseconds after unlocking the screen
Comment 12 Nate Graham 2024-01-10 20:14:42 UTC
I cannot reproduce either of those issues. Seems like it's a timing thing that depends on system speed or CPU load, maybe.