GNOME Bugzilla – Bug 517712
Custom colour picker widgets in Resources page respond unpredictably to many signals
Last modified: 2011-11-11 10:03:55 UTC
This report has been filed here: https://bugs.launchpad.net/ubuntu/+source/gnome-system-monitor/+bug/193729 "The custom colour picker widgets in the Resources section of the System Monitor, look great. However they are currently opening the colour picker dialog when: -Drag and drop of colour, after receiving widget has received the colour. (drag-end?) -Right click -Middle click Instead, the colour picker dialog should only open when the user left clicks on it. " Thanks,
Don't know if it is actually a bug - many other apps allow you to click the item with any mouse button.
This is much more than just clicking with other mouse buttons, but also (it seems) dropping colours. In retrospect, I could be mistaken with where exactly the problem is for that one. (Maybe mouse release being misinterpreted?) Left clicking should be the only interaction responded to by a big colour picker popup, since that is the only one which generates the "clicked" signal. For that matter, not even a left click should (necessarily) cause that to happen. Can you give an example of an application whose colour pickers open when clicked with other buttons?
Correction: This occurs on mouse release for any mouse button. (Regardless even of whether that button is over the widget any more or not). It does not necessarily respond to drag-end, though it does seem like it.
Created attachment 200723 [details] [review] Proposed patch Proposing a patch to only display the color selection dialog on left-click, not on every button-release.
The following fix has been pushed: e2440e1 Only display change color dialog on clicked instead of button-release
Created attachment 200742 [details] [review] Only display change color dialog on clicked instead of button-release