Feature request #11632

Support for colour picker in colour dialog under OSX

Added by Rhenriques Henriques over 9 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:-
Category:GUI
Pull Request or Patch supplied:No Resolution:fixed/implemented
Easy fix?:No Copied to github as #:19885

Description

Under macosx, the new colour picker does not show the "pippete" picker tab, as it is in the left part of this image

https://www.qgis.org/en/_images/7189c0fe2d1ff3fdc63c531a02f74b5d32b70bfd.png

This is a very useful feature and it should be present!
Cheers

History

#1 Updated by Nyall Dawson over 9 years ago

  • Tracker changed from Bug report to Feature request
  • Subject changed from New Colour Picker to Support for colour picker in colour dialog under OSX

#2 Updated by Nyall Dawson over 9 years ago

  • Resolution set to up/downstream

It's due to a limitation with Qt under OSX - see the note under http://qt-project.org/doc/qt-4.8/qwidget.html#grabMouse

There's not much we can do until this is addressed by Qt. It may be possible to reimplement the feature using OSX specific apis, but that would require someone experienced in development under that platform to tackle this....

#3 Updated by Rhenriques Henriques over 9 years ago

Hi Nyall

Thank you so much for your quick answer. So, in this case, why not give the users the option to choose the system colour picker for this single purpose (which, by the way, is excellent under macosx)? A simple button should be enought. This feature was in version 1.9 until 2.2 and it worked well. the pipette picker it's a time saver to build complex custom colour legends from digitised maps.

#4 Updated by Nyall Dawson over 9 years ago

That option exists - look in the options dialog for "use native color picker". Checking that will disable QGIS' color picker and use the default operating system picker.

#5 Updated by Rhenriques Henriques over 9 years ago

Hi Nyall. The option it's endeed there but it's not working for the pipette picker also. It is not well implemented. If we choose a new colour, the system picker appears. Then, if you choose the pipette, nothing happens. After, if we press "ok" into the colour picker, the magnifier from the colour pipette appears (after the closing of the colour picking palette) and it's impossible to choose any colour and its also difficult to make the magnifier go away. We have to press several times the mouse to make it go. Something is wrong in the code concerning the sequence of events for pipette colour picking while using the system option.

#6 Updated by Nyall Dawson over 9 years ago

Ok - thanks for the details. I'll leave this open for a developer experienced with OSX. I've no access to an OSX build environment to debug with.

#7 Updated by Rhenriques Henriques over 9 years ago

Thank you so much Nyall. I still have QGIS 1.8 installed and I'm still using it for this purpose (colour picking) because it was working nicely then. Until QGIS 2.4 all was fine too. Maybe someone can recover the specific code for pipette colour picking from one of these versions. Beyond this issue, the colour selecting features are working nicely, as expected.

#8 Updated by Giovanni Manghi over 8 years ago

  • Target version deleted (Version 2.6)

#9 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No

#10 Updated by Nyall Dawson over 5 years ago

  • Resolution changed from up/downstream to fixed/implemented
  • Description updated (diff)
  • Status changed from Open to Closed

Fixed in 3.0

Also available in: Atom PDF