Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#340 closed bug (fixed)

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

Reported by: tutey@… Owned by: rblazek
Priority: major: does not work as expected Milestone:
Component: Printing Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: Linux
Platform Version: Ubuntu Dapper Awaiting user input: no

Description

  1. add some layer
  1. Map Composer
  1. orientation: portrait
  1. Add new map
  1. 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

Attachments (3)

full.png (14.3 KB ) - added by anonymous 18 years ago.
zoomin_once.png (13.9 KB ) - added by anonymous 18 years ago.
zoomin_once_smaller.png (12.7 KB ) - added by anonymous 18 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by g_j_m, 18 years ago

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

comment:2 by tutey@…, 18 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.

by anonymous, 18 years ago

Attachment: full.png added

by anonymous, 18 years ago

Attachment: zoomin_once.png added

by anonymous, 18 years ago

Attachment: zoomin_once_smaller.png added

comment:3 by g_j_m, 18 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.

comment:4 by anonymous, 17 years ago

Must Fix for Release: Yes

comment:5 by wonder, 17 years ago

Resolution: fixed
Status: newclosed

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 r6197.

comment:6 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.