Bug report #340

the horizontal slider not visible atfter 1st zoom in portrait orientation

Added by Redmine Admin over 17 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:Redmine Admin
Category:-
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

Description

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.

Maciek

full.png (14.3 KB) anonymous -, 2006-10-15 04:54 AM

zoomin_once.png (13.9 KB) anonymous -, 2006-10-15 04:55 AM

zoomin_once_smaller.png (12.7 KB) anonymous -, 2006-10-15 04:55 AM

History

#1 Updated by Gavin Macaulay - over 17 years ago

Works for me. What version of Qt are you using (this is given in the Help:About box)?

#2 Updated by Redmine Admin over 17 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 17 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 over 17 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).

#5 Updated by Anonymous over 14 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF