Bug report #340
the horizontal slider not visible atfter 1st zoom in portrait orientation
|Affected QGIS version:||Regression?:||No|
|Operating System:||Linux||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||10399|
1. add some layer
2. Map Composer
3. orientation: portrait
4. Add new map
5. Zoom in (once)
The horizontal slider is not visible while it is necessary for me to be able to view the part of the map to the right.
#2 Updated by Redmine Admin over 14 years ago
Qgis built and running against QT 4.1.4 built from Trolltech's source.
The bug is there, but it's a bit more complicated than I tought. See the attached screen dumps.
full.png - OK
zoomin_once.png - no horizontal slider after a single zoom-in
zoomin_once_smaller.png - same situation, but the window is smaller. The slider is there now (OK), but as you can see you can't slide to the very right side of the map.
#3 Updated by Gavin Macaulay - over 14 years ago
I've spent quite a bit of time trying to find the problem here, but to no avail. The problem is somewhat obscure and seems to be related in someway to the scrollbar sizes being determined by reference to the overall page view frame size rather than the page view size, and leads to the work-around:
resize the print composer window so that the view of the page fills the frame that it sits in (i.e., change the size of the overall window, click on the zoom all button, and continue to do that until there is an even amount of grey around the page), then zoom in, the scroll bars will let you scroll to pretty much all of the page.
#4 Updated by Martin Dobias about 14 years ago
- Resolution set to fixed
- Status changed from Open to Closed
The problem here is not that obscure. It's caused by translation of coordinates in canvas view with world matrix used for centering the page in canvas - QgsComposer::zoomFull(). However later this translation doesn't change - scrollbars are correct, only the drawing is still shifted.
Fixed in e29bbeba (SVN r6198).