Bug report #15015
regression: zoom to {selection, layer} not taking docked panels into account
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Nathan Woodrow | ||
Category: | Map Canvas | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22962 |
Description
Since ef51b70, zoom to {selection, layer} actions fail to take into account space taken by opened docked panels. It can be quite annoying at times when selected items get hidden under a docked panel making much harder to those at first glance. For e.g., if you use an expression to select features and want to have a quick look at the selected features, zoom to selection won't do that anymore with opened panels.
Steps to reproduce- Launch QGIS, make sure the style dock is docked, and close it
- Add a layer to a new project
- Open the style dock
- Zoom into the canvas within the extent of the layer
- Use the "zoom to layer" action, and note the layer extent falling partly under the docked style panel
History
#1 Updated by Mathieu Pellerin - nIRV over 8 years ago
- Assignee set to Nathan Woodrow
#2 Updated by Nathan Woodrow over 8 years ago
- Resolution set to fixed/implemented
Fixed by doing a revert on the commit. Will commit a better change at a later date.
#3 Updated by Nathan Woodrow over 8 years ago
- Status changed from Open to Closed