Zoom slider

Bug #600285 reported by Mirek2
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
John Smith

Bug Description

Inkscape should feature a zoom slider next to the zoom text entry to be able to quickly set a zoom level.
There should be stops at the most practical zoom levels: 100%, document width, document height.

Tags: ui zoom
Revision history for this message
jazzynico (jazzynico) wrote :

Yes, an Openoffice like slider would be great.

Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
marcus aurelius (adbiz) wrote :

interactive zoom would be better.
the user would place the cursor at a start point then drag to enclose the area that is to be zoomed in on.
this allows focus on only the pertinent area.

Revision history for this message
prkos (prkos) wrote :

marcus aurelius can't you do that already with the Zoom tool?

Revision history for this message
John Smith (john-smithi) wrote :

Patch to use the spinscale widget for zoom.
Thoughts on how big the widget should be ?

Changed in inkscape:
assignee: nobody → John Smith (john-smithi)
Revision history for this message
Kris (kris-degussem) wrote :

Nice addition.
Due to changes in trunk since the patch, the patch does not apply automatically. Also there might be issues with translation, so I added a context ID.

Changed in inkscape:
status: Confirmed → In Progress
Revision history for this message
Kris (kris-degussem) wrote :

Regarding the question on the width of the widget.
If one wants a description in a word, the width should be 90 at minimum. This is already a bit wider than before. So I propose the following alternative where the label is shortened to one letter followed by a colon (does not look nice without the colon).

Even better could be no label at all (and let the tooltip speak for itself) and using the default widget width (STATUS_ZOOM_WIDTH).

Revision history for this message
ScislaC (scislac) wrote :

One piece of functionality that changed is the behavior of middle-clicking on the up & down arrows. It used to double the value on middle-click up and halve the value on middle-click down.

Regarding width, we already gain usable space by having the label inside the widget, so I think with the Z: as opposed to spelling out Zoom would probably work.

Revision history for this message
John Smith (john-smithi) wrote :

Patch to make the middle-click behavior (comment #7) same as before (also applies to PageUp/Down keys).
Width is expanded to 100px - this seems to give enough "usable" space inside the widget to click to jump to zoom value.
Removed the "Z:" label - since it doesnt really add anything and is consistent with other spin scales (Blur/Opacity etc).

Revision history for this message
jazzynico (jazzynico) wrote :

Patch from comment #8 tested successfully on Debian Testing, Inkscape trunk revision 12292.
Thanks John!

Revision history for this message
John Smith (john-smithi) wrote :

Committed as r12294.

Changed in inkscape:
status: In Progress → Fix Committed
Revision history for this message
su_v (suv-lp) wrote :

Follow-up report (request to revert the new slider widget):
- Bug #1184408 “Zoom Slider bar makes it very difficult to type in large zoom values (Win32, bzr r12342)”
  <https://bugs.launchpad.net/inkscape/+bug/1184408>

su_v (suv-lp)
Changed in inkscape:
milestone: none → 0.49
Revision history for this message
John Smith (john-smithi) wrote :

Reverted fix (r12377) until better solution for Windows users is found.

Changed in inkscape:
status: Fix Committed → Confirmed
su_v (suv-lp)
Changed in inkscape:
milestone: 0.49 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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