#340 closed bug (fixed)
the horizontal slider not visible atfter 1st zoom in portrait orientation
Reported by: | 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
- add some layer
- Map Composer
- orientation: portrait
- Add new map
- 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)
Change History (9)
comment:1 by , 18 years ago
comment:2 by , 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 , 18 years ago
by , 18 years ago
Attachment: | zoomin_once.png added |
---|
by , 18 years ago
Attachment: | zoomin_once_smaller.png added |
---|
comment:3 by , 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 , 17 years ago
Must Fix for Release: | → Yes |
---|
comment:5 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → 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 r6197.
Works for me. What version of Qt are you using (this is given in the Help:About box)?