Bug 422726 - The shutdown / logout widget does not respond on first click
Summary: The shutdown / logout widget does not respond on first click
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Lock/logout widget (show other bugs)
Version: 5.19.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-10 07:53 UTC by tromzy
Modified: 2020-10-16 19:41 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tromzy 2020-06-10 07:53:21 UTC
SUMMARY
I have the Logout / Shutdown widget on my Plasma panel in Plasma 5.19 on Wayland, and I often have to click it twice before it shows the logout options. The bug does not happen all the time, as sometimes it works fine on first click.

STEPS TO REPRODUCE
1. Open a Plasma Wayland session
2. Put the Shutdown/ Logout widget on the panel
3. Click it 

OBSERVED RESULT
Sometimes clicking it once  does nothing, you have to do it twice.

EXPECTED RESULT
Working on first click every time.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19
KDE Frameworks Version: 5.70
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-06-10 19:35:15 UTC
Cannot reproduce on X11.
Comment 2 Benjamin Port 2020-06-22 14:34:24 UTC
I can't reproduce it on wayland with master version and Qt 5.15
Comment 3 tromzy 2020-06-28 08:00:02 UTC
Actually it's not a Wayland-specific problem, since it also happens on X11 on my machine.
Comment 4 Andrey 2020-07-16 20:47:51 UTC
Is it about "Shutdown or Switch" widget?:
https://store.kde.org/p/1288430/
Comment 5 Andrey 2020-07-16 21:02:02 UTC
Nate, what Qt version you tested with?
Can't reproduce on Wayland, Qt5 5.14. (considering we are speaking of "Shutdown or Switch" widget above)
Comment 6 tromzy 2020-07-17 10:50:52 UTC
(In reply to Andrey from comment #4)
> Is it about "Shutdown or Switch" widget?:
> https://store.kde.org/p/1288430/

No, it is the Logout / Shutdown widget which is present by default in Plasma (I think), I did not download it through the store.
Comment 7 Andrey 2020-07-17 14:10:05 UTC
Got it. Still can't reproduce it:
Operating System: Ubuntu 20.04
KDE   Version: 5.19.80
KDE Frameworks Version: 5.73.0
Qt Version: 5.14.2

It would be nice if you retest on more recent Plasma
Comment 8 Andrey 2020-08-10 20:02:31 UTC
(In reply to tromzy from comment #3)
> Actually it's not a Wayland-specific problem, since it also happens on X11
> on my machine.

Is it still happens? Shall we remove "Wayland" from title/flags?
Comment 9 tromzy 2020-08-11 08:21:27 UTC
Yes it's still happening, I just tried (on X11) and it happened.
Comment 10 BingMyBong 2020-08-14 14:32:15 UTC
(In reply to Andrey from comment #8)
> (In reply to tromzy from comment #3)
> > Actually it's not a Wayland-specific problem, since it also happens on X11
> > on my machine.
> 
> Is it still happens? Shall we remove "Wayland" from title/flags?

Yes, still happening on opensuse latest (see below) using X11. 

Quick question - how do you update a widget or get a release level of a widget using the "Add Widget" function so you know what version is installed?

opensuse:tumbleweed:20200812
Qt: 5.15.0 KDE Frameworks: 5.73.0 - KDE Plasma:  5.19.4 - kwin 5.19.4
kmail2 5.14.3 (20.04.3) - akonadiserver 5.14.3 (20.04.3) - Kernel:  5.8.0-1-default  - xf86-video-n
Comment 11 BingMyBong 2020-08-14 14:35:13 UTC
(In reply to BingMyBong from comment #10)
> (In reply to Andrey from comment #8)
> > (In reply to tromzy from comment #3)
> > > Actually it's not a Wayland-specific problem, since it also happens on X11
> > > on my machine.
> > 
> > Is it still happens? Shall we remove "Wayland" from title/flags?
> 
> Yes, still happening on opensuse latest (see below) using X11. 
> 
> Quick question - how do you update a widget or get a release level of a
> widget using the "Add Widget" function so you know what version is installed?
> 
> opensuse:tumbleweed:20200812
> Qt: 5.15.0 KDE Frameworks: 5.73.0 - KDE Plasma:  5.19.4 - kwin 5.19.4
> kmail2 5.14.3 (20.04.3) - akonadiserver 5.14.3 (20.04.3) - Kernel: 
> 5.8.0-1-default  - xf86-video-n

CANCEL my Comment 10 - wrote to wrong bug report as this logout/lock widget has a few problems.
Comment 12 Andrey 2020-08-14 18:06:18 UTC
(In reply to BingMyBong from comment #11)
> CANCEL my Comment 10 - wrote to wrong bug report as this logout/lock widget
> has a few problems.

Please, let me know if you know some Wayland-specific. Thanks.
Comment 13 tromzy 2020-10-16 16:51:31 UTC
The problem does not seem to occur anymore, but I switched from a Latte panel to a regular Plasma panel, so maybe the problem was in Latte.
Comment 14 Nate Graham 2020-10-16 19:41:34 UTC
Thanks! Let's call it fixed for now. :)