problems with "Zoom when window is resized" preference

Bug #167651 reported by Iemorgan
6
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Thomas Holder

Bug Description

Inkscape opens with a small window, and a blank page
centered in the window.
Maximise the window to fill the screen, and the page
zooms to the correct
new scale (or near to it, but not exactly the same as
if the fit-to-window
button is clicked), but is translated in the opposite
direction that it
should be. The result of maximizing the window is that
I now see just a
small quadrant of the page in the upper left corner of
the window.

To make matters worse, un-maximizing the window
(returning it to it's
original small state as when first opened) does not
return the page to the
center of the window, so the transformation isn't quite
simply backwards,
but also hosed in some other way.

Obviously, when the zoom-when-window-is-resized option
is off, the correct
behaviour is seen (the page is not resized, and the
transformation is
correct, keeping the page centered in the window for
example.)

Tags: ui
Revision history for this message
Rwst (rwst) wrote :

confirmed with svn.

Revision history for this message
nightrow (jb-benoit) wrote :

Confirmed: still here in 0.45.1

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Tom Davidson (tjd-mit) wrote :

In current SVN (rev 17284) under Linux (Fedora Core 6), this bug is fixed for new, empty documents, but is still present for other documents.

To reproduce:
1) open the attached document (should open centered, full-page view, in a small window at the top left of the screen)
2) make sure the option is selected: (Ctrl-shift-P->Windows->toggle 'Zoom when window is resized' to on)
3) close the preferences window to apply the preference change
4) maximize the window
-->canvas is zoomed in way too far, and shifted to the left so that most of the page is off the screen
5) unmaximize the window
-->zoom is back close to original, but document is translated up and left so that much of the doc is off the left side of the screen

Revision history for this message
Diederik van Lierop (mail-diedenrezi) wrote :

Cannot reproduce this using rev. 21332 on Fedora 10, nor with rev. 20841 on XP; So I'm closing this bug, but if anyone else can still reproduce this bug then feel free to reopen it!

Changed in inkscape:
status: Confirmed → Fix Released
Revision history for this message
su_v (suv-lp) wrote :

I can reproduce this:

  Mac OS X 10.5.6
  Inkscape 0.46+devel r21339

following above steps with tree.svg. Bug can also be triggered by toggling the 'zoom 1:1' button above the right scrollbar, leaving the preference option 'Zoom when window is resized' unchecked.

Changed in inkscape:
status: Fix Released → Confirmed
Revision history for this message
Thomas Holder (speleo3) wrote :

fixed in revision 21353

Changed in inkscape:
assignee: nobody → Thomas Holder (speleo3)
status: Confirmed → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
milestone: none → 0.47
ScislaC (scislac)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.