Bug report #10104
new identification mode selection not working as expected
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18572|
The selection of the identification mode in the options is not effective. The dock is still shown, and apparently overrides the setting. So, imho there's 2 issues:
- dock should not be shown if not needed
- dock does not read properly the setting at start
here's a demo: http://youtu.be/pS6CZZSrvuk
#1 Updated by Nathan Woodrow over 6 years ago
Ok that is just a settings sync issue. No worries. I will fix it this week.
Personally I think the dock should be shown as soon as the info button is pressed down, like it currently is. The dialog has now been reworked to always show results even if you only have one feature. This is more consistent from a UI point of view and the data is always in view. If you don't like it taking up space at the bottom you can dock it behind the legend.
#6 Updated by Denis Rouzaud over 6 years ago
- Status changed from Closed to Reopened
If you hide the dock, and use identify map tool, the selection mode is not kept and is set again to current layer.
Also, I do believe the dock should not be shown if not needed (single result with open form).
I am not a fan of this new behavior. While I agree it is nicer than before, it just overloads the UI if layer selection mode is used.
#7 Updated by Nathan Woodrow over 6 years ago
I will take a look tonight.
The current behavior is correct, hence why I changed it. The old method is way to inconstant and hurt the user experience with the tool. If you don't wish to see the dock widget just hide it behind something like the legend. It doesn't come to the front when the tree changes so you can leave it there forever without ever looking at it.
I also don't see the issue with the Layer Selection mode.
Like I have said before these options are not a set "once and forget" kind of thing, so having a single place in the UI for them is the correct way. The dialog is also related to the info tool so that is where they belong. I should very rarely have to visit the options dialog.
#8 Updated by Denis Rouzaud over 6 years ago
For the bug:
1. set the mode to layer selection
2. hide the dock
-> the mode came back to current layer
I do agree it is nice to have the settings in there. this truly is an improvement. I don't want to come back to the settings in the options.
Now, what I would like is to be able to hide the dock, and not show it again if not needed/asked.
I have several docks, and even if the dock is hidden, this adds tabs to the UI (choosing between docks). Even if not very large, this is still one more thing you see.
That is why I think, the dock should not be shown, if not needed (single result found with direct open form).
#9 Updated by Nathan Woodrow over 6 years ago
Ok I think we can solve this by doing the same thing as the legend. The first load will show it but after that it doesn't call show, if you close it then you will have to come back like the legend (View menu or right click).
Using the above change will give you back the result you need. The results will still be added for single result but if you have auto open form and the dock hidden it will not be seen.
Having the results not populated on single result is a bug not a feature IMO so I will not be bringing that back. The auto open feature form is a extra feature of the info dock itself not the tool, so it should always been clear to the user what is going on or what the options are.
Happy with that?
#12 Updated by Giovanni Manghi over 6 years ago
- Affected QGIS version changed from 2.2.0 to master
- Target version changed from Future Release - High Priority to Version 2.4
- Resolution deleted (
when looking at/fixing this ticket please also see #10321
I also agree that the highlighting if identified features should disappear when closing the (new) dialog as it happens in qgis <= 2.2, but maybe the change was on purpose.