Bug 487681

Summary: Consider changing the setting to drag windows from any empty view area to only do this for the Tools Area
Product: [Plasma] Breeze Reporter: Ian Newton <i.newton>
Component: QStyleAssignee: Plasma Bugs List <plasma-bugs>
Status: CLOSED FIXED    
Severity: wishlist CC: nate, noahadvs, steve_v, uhhadd
Priority: NOR Keywords: accessibility, usability
Version: 6.0.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:

Description Ian Newton 2024-05-28 10:59:14 UTC
SUMMARY
Clicking and holding any item in KCM panel list or the scroll bar results in the whole window moving 

STEPS TO REPRODUCE
1. Clicking and holding any item in panel list or the scroll bar results in the whole window moving 
2. 
3. 

OBSERVED RESULT

results in the whole window moving 

EXPECTED RESULT

The item should be selected or the scroll bar should work as expected (drag up or down) 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 6.9.0-1-MANJARO (64-bit)
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version:  6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Comment 1 Ian Newton 2024-05-28 11:04:21 UTC
This behaviour also affects some other applications such as Kdenlive where clicking and holding the video timeline selects window move in the same way. This makes editing almost impossible.
Comment 2 Nate Graham 2024-06-12 21:01:19 UTC
This is a Breeze setting. You're welcome to turn it off in System Settings > Colors & Themes > Application Style > Click the pencil icon on "Breeze" > Windows' drag mode> Set it to a different value from what it's currently set to.

We can consider changing the default value, as this does seem to accumulate a lot of complaints, particularly from Kdenlive users.

I bet if we changed this to only allow dragging from the Tools Area (Titlebar, menubar, and toolbar), nobody would complain. Let's consider it.
Comment 3 Ian Newton 2024-06-12 21:45:09 UTC
(In reply to Nate Graham from comment #2)
> This is a Breeze setting. You're welcome to turn it off in System Settings >
> Colors & Themes > Application Style > Click the pencil icon on "Breeze" >
> Windows' drag mode> Set it to a different value from what it's currently set
> to.
> 
> We can consider changing the default value, as this does seem to accumulate
> a lot of complaints, particularly from Kdenlive users.
> 
> I bet if we changed this to only allow dragging from the Tools Area
> (Titlebar, menubar, and toolbar), nobody would complain. Let's consider it.

Having a play with the settings in Kdenlive it is possible to select Breeze as window style which now has "windows drag mode" set for header only. Most other windows only have minor irritations like the scroll bar becoming the drag item for the window. 

I have used QTcurve style for some time as it has many config options as my default. It still works well in Plasma 6 though the configure panel no longer appears. Editing the config file allows adjustments though a fresh config may be hard work. Maybe I can get the developer to fix this and ensure Plasma 6 compatability. It probably does not have a setting for this at the moment.

Alternatively a global setting for drag behaviour would make sense for all styles?
Comment 4 Bug Janitor Service 2024-06-13 20:13:21 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/breeze/-/merge_requests/468
Comment 5 Nate Graham 2024-06-21 17:54:16 UTC
Git commit cd34b95d74bc5b39e5004f08dd5519fbdfd7fcbc by Nate Graham.
Committed on 21/06/2024 at 17:50.
Pushed by ngraham into branch 'master'.

Use "drag from Tools Area" by default, not entire window

Currently Breeze allows you to drag the window from all empty parts of
window backgrounds that are not scrollable content views. This has
caused some problems over time, especially with control-dense apps that
have draggable controls on non-scrollable areas.

Ever since we introduced the "Tools Area" style that visually unifies
the titlebar, menubar, and toolbar, there's a natural visually distinct
area to grab if you want to drag the window around.

So let's change this setting so that you can only grab on a part of the
Tools Area to drag the window. This preserves a large drag area but
eliminates usability problems associated with making other areas
draggable.
FIXED-IN: 6.2

M  +1    -1    kstyle/breeze.kcfg

https://invent.kde.org/plasma/breeze/-/commit/cd34b95d74bc5b39e5004f08dd5519fbdfd7fcbc
Comment 6 Steve Vialle 2024-10-02 07:19:50 UTC
(In reply to Nate Graham from comment #2)
> I bet if we changed this to only allow dragging from the Tools Area
> (Titlebar, menubar, and toolbar), nobody would complain. Let's consider it.

I can positively guarantee that somebody (me) *will* complain if this new "default" quietly changes behaviour on existing installations / user configurations.
Comment 7 Nate Graham 2024-10-02 14:34:19 UTC
They'll just have to be irked, unfortunately. We don't have an easy way to prevent defaults changes from affecting everyone right now.