Bug report #14051
Symbol selector dialog: "lock layer's colors" button should have only two states
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Symbology | ||
Affected QGIS version: | 2.12.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22062 |
Description
Open the symbol selector dialog,
add new symbol layers to the symbol tree
and try to lock some of them with the "lock layer's color" button at the bottom.
When clicked, the button stays unlocked but with a colored background. You need to choose another symbol in the tree and come back to the symbol to see the change (locked state of the button).
Same behaviour when you want to unlock.
I think the new state of the button should be triggered as soon as the button is clicked. No need for an intermediate state that doesn't help to know the current state and just imho leads to confusion.
Associated revisions
[SymbolSelector] display correct icons when button LockLayerColors is active
(fixes #14051)
History
#1 Updated by Sebastian Dietrich almost 9 years ago
The icon is wrongly displayed when the button has the focus. It always displays the icon for the state unlocked in this case.
See PR 2655 for a solution.
#2 Updated by Nyall Dawson almost 9 years ago
- Status changed from Open to Closed
Fixed in changeset f3d1f8b8dc69d13244eb2fd7dec70012b02620b6.