Bug 239918 - Drag mode triggered on checkbox embedded into list view
Summary: Drag mode triggered on checkbox embedded into list view
Status: RESOLVED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: style (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 22:09 UTC by Eike Hein
Modified: 2010-05-29 06:00 UTC (History)
1 user (show)

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


Attachments
System Tray Settings dialog (101.24 KB, image/png)
2010-05-28 22:53 UTC, Eike Hein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Hein 2010-05-28 22:09:21 UTC
When pressing the left mouse button above a checkbox in the "Display" page of the the "System Tray Settings" dialog for too long, Oxygen goes into window drag mode. This is buggy behavior, because a checkbox works like a button in the sense that you're supposed to be able cancel the operation mid-way by dragging the cursor away before releasing the mouse button. This isn't possible if instead the window is dragged along.
Comment 1 Hugo Pereira Da Costa 2010-05-28 22:46:24 UTC
Screenshot of the "display" dialog you are referring too ? I can't seem to find it ...
Comment 2 Eike Hein 2010-05-28 22:53:43 UTC
Created attachment 47436 [details]
System Tray Settings dialog

It's available from the tray plasmoid context menu if you bring up the panel configurator. This is 4.5-beta1 btw.
Comment 3 Hugo Pereira Da Costa 2010-05-29 04:20:48 UTC
SVN commit 1131789 by hpereiradacosta:

Do not drag from KCategorizeView
BUG: 239918


 M  +3 -0      oxygenwindowmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1131789
Comment 4 Eike Hein 2010-05-29 04:28:36 UTC
Confirmed fixed, thanks!

(But it uncovers a terrible, terrible bug in KCategorizedView: If you click above one checkbox and then drag away and release on another, it checks the checkbox you release on - it should make sure that press and release occured on the same item. So I have another one to bug now ...)
Comment 5 Eike Hein 2010-05-29 04:35:01 UTC
Bug 239940 in case you want to follow it.
Comment 6 Hugo Pereira Da Costa 2010-05-29 06:00:17 UTC
Yeah well. And in fact, the original bug (with drag) is also due to sloppy 
coding in kcategorizedView. oh well