Bug report #11996
Custom hightlight color for 'Identify Features' tool not applied when right clicking on the map canvas
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
When you change the color of the Identify Features tool, that color is applied to the objects you clicked on the map.
This change of color is not consistent in the following situation:
If you click on the map, and features of multiple visible layers have been hit, a grey box appears giving the option to choose of which layer you'd like to consult the appointed features. But, when you hover over the options, the default red color is used for indicating the respective features. As you eventually choose of the options, your customized color returns.
Bottom-line: the custom defined color is not used for dynamic indication of the features on the map when hovering over the options if features from different layers have been activated.
#1 Updated by Giovanni Manghi about 9 years ago
- OS version deleted (
Windows 7 Pro (SP1))
- Target version changed from Future Release - Nice to have to Future Release - Lower Priority
- Subject changed from Custom color 'Identify Features' tool not applied to options 'Layer selection' mode to Custom hightlight color for 'Identify Features' tool not applied when right clicking on the map canvas
- Affected QGIS version changed from 2.6.1 to master
- Operating System deleted (
It is not related to the "mode" (current layer, top down, layer selection, etc.). The custom color is never used when right clicking on the map canvas to choose what layer the identify should be applied.
#2 Updated by Richard Duivenvoorde about 9 years ago
the color is set here
it is 255,0,0 now (red)
I've added a pull request to use the same colors as the user defined colors:
NOTE: IF the user did NOT set an opacity <1 here for the color you will have a fully opaque 'rubberband', so will not 'see through' the different features in different layers. BUT that's up to the user to do it right.
Using the default color (red 50% opaque) it is ok.