Bug 422707 - Click continuously to switch to the next song, and the UI will fade out
Summary: Click continuously to switch to the next song, and the UI will fade out
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Nate Graham
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2020-06-10 02:26 UTC by logicinu
Modified: 2020-06-17 14:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.19.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description logicinu 2020-06-10 02:26:41 UTC
SUMMARY
When listening to music, use the control plug-in of the lock screen to switch the next song, and when you switch songs continuously, the lock screen will end forcefully.

STEPS TO REPRODUCE
1. Lock the screen when listening to music
2. Use the control plug-in to switch songs and switch several songs in a row
3. The lock screen will be forced to end and re-lock.

OBSERVED RESULT
The lock screen will be forced to end and re-lock.

EXPECTED RESULT
The lock screen is delayed and locked in response to mouse operation.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Kernel Version: 5.6.15-zen2-1-zencjk
OS Type: 64-位
Processors: 8 × AMD Ryzen 7 PRO 2700U w/ Radeon Vega Mobile Gfx
Memory: 14.6 GiB
Graphics Processor: AMD RAVEN 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-06-10 19:31:20 UTC
Weird. Cannot reproduce.
Comment 2 logicinu 2020-06-11 01:27:04 UTC
Upload a video

https://youtu.be/BR8iR_OvxRM
Comment 3 Nate Graham 2020-06-11 04:57:24 UTC
Oh I see, thanks! Interacting with the playback controls doesn't count as input for the purpose of stopping the timer that makes the UI disappear after a period of inactivity.

Should be an easy fix.
Comment 4 Nate Graham 2020-06-11 17:27:59 UTC
Here's a merge request that should fix it: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/59/diffs
Comment 5 Nate Graham 2020-06-17 14:14:35 UTC
Git commit 24fae256453aafa4aa5a9dc8b3c108df9bf00b56 by Nate Graham.
Committed on 17/06/2020 at 14:14.
Pushed by ngraham into branch 'Plasma/5.19'.

[lock screen] Stop timer when interacting with media controls

Otherwise you can click on some media buttons to control the playback
and then the UI will abruptly disappear.
FIXED-IN: 5.19.1

M  +12   -3    lookandfeel/contents/lockscreen/MediaControls.qml

https://invent.kde.org/plasma/plasma-workspace/commit/24fae256453aafa4aa5a9dc8b3c108df9bf00b56