Bug report #140
Color selection buttons do not show selected color
|Assignee:||Brendan Morley -|
|Affected QGIS version:||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||10199|
In the 2006-06-05 win32 build of qgis, in the options dialog, the selection color and background color buttons do no show the currently selected color.
#2 Updated by Brendan Morley - about 15 years ago
- Status changed from Open to In Progress
QToolButton::setPaletteBackgroundColor() is being used to colour the buttons, but appears to be a Qt3 idiom. While the Qt3support might be OK for X11, maybe TrollTech tested it less thoroughly on Windows.
I will try converting it to Qt4 and committing to subversion soon, but somebody else will need to recompile it for Windows.
#3 Updated by Brendan Morley - about 15 years ago
- Status changed from In Progress to Open
Potential fix in 52e80e90 (SVN r5697).
Can somebody with access to a compiler for the Windows version please re-build and test? The setPaletteBackgroundColor idiom exists in more than just the options dialog, and all instances should be replaced before this ticket is closed.
Reassigning to gsherman as he was last seen with a Windows build. (-:
#5 Updated by Brendan Morley - about 15 years ago
A real fix is applied in subversion , but only covers the buttons in the Options and Project Properties dialogs at this time. My Windows 2003 SP1 setup confirms these changes work.
Other dialogs to follow.
Also, the Qt documentation implies this problem also occurs on Mac OS. Can somebody with that OS confirm?