Bug 444576 - Press/click-and-hold on interactive UI elements can trigger entering Edit Mode
Summary: Press/click-and-hold on interactive UI elements can trigger entering Edit Mode
Status: CONFIRMED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
: 444577 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-10-29 03:35 UTC by wbqq
Modified: 2022-07-21 19:54 UTC (History)
3 users (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 wbqq 2021-10-29 03:35:17 UTC
STEPS TO REPRODUCE
1. log into your plasma session
2. add "volume widget" or "battery and brightness widget" to your desktop (not the panel)
3. try to change the volume or the brightness 1% up or down

OBSERVED RESULT
you will be switched into "edit layout" mode in 99% cases because you are holding a mouse on a widget (even worse when use touchscreen). 

EXPECTED RESULT
you can hold mouse on a volume slider because you are trying to change volume but not edit the widget size.
edit mode should start only when you hold an empty area of widget imho. when you hold a slider, that should not start edit mode. 


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Opensuse 15.2 
KDE Plasma Version: 5.18 from opensuse repos

Linux/KDE Plasma: Opensuse 15.2 
KDE Plasma Version: 5.21 from KDE repos for zypper

Linux/KDE Plasma: debian stretch (9) 
KDE Plasma Version: 5.12

Linux/KDE Plasma: gentoo 
KDE Plasma Version: 5.22.5 built with -march=native -O2, tried both clang and gcc

btw in debian 9 there was a "lock/unlock widgets" button. it is that old version where widgets do not enter edit mode when you hold them so there's no bug.

ADDITIONAL INFORMATION
sorry for my english, let me know if something is not clear
Comment 1 Nate Graham 2021-10-29 18:03:30 UTC
This will only happen if you press-and-hold and don't move the cursor at all. When I click and drag on a volume slider, as long as I actually move the cursor to change the slider position, the widget doesn't enter edit mode.

Is this what happens for you too?
Comment 2 wbqq 2021-10-29 19:04:18 UTC
(In reply to Nate Graham from comment #1)
> ... Is this what happens for you too?

yes, if i move slider for about 15 pixels, widget do not enter edit mode. but if it is really 1% volume changing (10 pixels or less approx.), especially if you do it with a touchscreen, it enters edit mode. 
this is not that annoying, so i expect that would not be fixed. But still it is not a perfect behavior. Imho it would be nicer to edit widgets only from empty area.
Comment 3 Kishore Gopalakrishnan 2022-06-05 06:18:38 UTC
*** Bug 444577 has been marked as a duplicate of this bug. ***
Comment 4 ratijas 2022-07-21 19:54:26 UTC
Allow me to repurpose this bug report for this: clicking on «Show additional options for %AudioDeviceName%» opens the «Profiles» drop-down menu, but also enters Edit Mode for the whole desktop. Of course, Audio Volume applet should be placed on a desktop to trigger this.

X11 only.