Bug 401016 - Touchpad plasmoid popup remains open after losing focus
Summary: Touchpad plasmoid popup remains open after losing focus
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.14.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-13 19:54 UTC by retired
Modified: 2019-11-05 16:46 UTC (History)
3 users (show)

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


Attachments
showing the issue on Neon unstable edition (1.15 MB, video/webm)
2019-10-18 15:46 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description retired 2018-11-13 19:54:12 UTC
SUMMARY
Touchpad plasmoid remains open when losing focus, I think that it is inconsistent since other elements of tray close themselves after switching away.

STEPS TO REPRODUCE
1. Click touchpad icon
2. Try to dismiss it like every other tray plasmoid, for example by clicking on some other window. 

OBSERVED RESULT
Popup asking whether touchpad should be disabled (if there is no mouse, strangely trackpoint is not considered a pointing device) stays open and can be covered by others, for example volume slider.

EXPECTED RESULT
Popup should consider itself dismissed. Maybe it should be merged with the rest of plasmoids in tray as not it opens its own popup.

SOFTWARE/OS VERSIONS
(available in About System)
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2
Comment 1 Patrick Silva 2019-02-26 17:24:26 UTC
I can confirm. Popup of touchpad indicator goes to background when a maximized window is clicked.

Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.0
Comment 2 Konrad Materka 2019-10-18 13:43:25 UTC
I testes on Plasma 5.17. Clicking on touchpad does not show anything, only switches on/off the touchpad. Can you test on latest version and provide more detailed information?
Comment 3 Patrick Silva 2019-10-18 15:46:02 UTC
Created attachment 123321 [details]
showing the issue on Neon unstable edition

This issue persists at least on Neon unstable edition.
I'm attaching a screen recording.
Comment 4 Konrad Materka 2019-10-18 21:21:52 UTC
Oh, now I understand, thanks for video!
Comment 5 Konrad Materka 2019-11-05 16:46:25 UTC
Git commit 76d9233bd932a7ca0e3d9ba59c0fb4344b4153bd by Konrad Materka.
Committed on 05/11/2019 at 16:46.
Pushed by kmaterka into branch 'master'.

[Touchpad applet] Close query dialog on focus loss

Summary:
Popup asking whether touchpad should be disabled stays open and can be covered by others, for example volume slider.
It is inconsistent since other elements of tray close themselves after switching away.

Depends on: D24825

Test Plan:
1. Disconnect all mouses
2. Click the touchpad icon
3. Try to dismiss it like every other tray plasmoid, for example by clicking on some other window.
4. Popup should consider itself dismissed

Reviewers: #plasma_workspaces, #plasma, davidedmundson

Reviewed By: #plasma_workspaces, #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25158

M  +1    -0    kcms/touchpad/src/applet/qml/contents/ui/touchpad.qml

https://commits.kde.org/plasma-desktop/76d9233bd932a7ca0e3d9ba59c0fb4344b4153bd