Ticket #340 (closed bug: fixed)

Opened 7 years ago

Last modified 4 years ago

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:
Platform Version: Ubuntu Dapper Platform: Linux
Must Fix for Release: Yes Awaiting user input:

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

Attachments

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

Change History

Changed 7 years ago by g_j_m

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

Changed 7 years ago by tutey@…

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.

Changed 7 years ago by anonymous

Changed 7 years ago by anonymous

Changed 7 years ago by anonymous

Changed 7 years ago by g_j_m

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.

Changed 7 years ago by anonymous

  • must_fix set to Yes

Changed 6 years ago by wonder

  • status changed from new to closed
  • resolution set to fixed

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.

Changed 4 years ago by anonymous

  • milestone Version 0.8 deleted

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.