hide/unhide dock (filter, fill and stroke) should center the editing area

Bug #1061274 reported by insaner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Wishlist
Unassigned

Bug Description

i have been using the fill&stroke and the filter docks a lot, (and as you know, some of these filters make the dock quite wide) and when i unhide one, it often covers the area im editing in, so i have to scroll to see it again, and then when i hide it, i have to scroll again to place it in the optimal position.

can someone implement a "centering" feature, where if a dock is unhidden the editing area center is moved to the new editing area coordinates' center?

in other words, say my editing area is 300x300px (center is 150, 150).. i unhide my dock, which covers 100px, so my new editing area is 200x300, but the editing area's center is now at 100, 150.. whereas its more convenient if it would automatically bring the original editing area's center to the center of this new area (ie, scroll right 50px).. and then bring it back to its original position when i hide the dock again.

i hope this isnt too confusing.

Tags: ui
su_v (suv-lp)
tags: added: ui
Changed in inkscape:
importance: Undecided → Wishlist
Revision history for this message
su_v (suv-lp) wrote :

> whereas its more convenient if it would automatically bring
> the original editing area's center to the center of this new area

Not necessarily - one might have been editing objects in the left half of the current viewport which with this option would be moved off-screen and require additional scrolling, or have the expectation that objects on-canvas stay steady (at the same position) unless the user triggers zoom, pan or scroll commands explicitly.
<opinion>I probably would appreciate to be able to opt out of such a behavior if it gets the new default (even on small laptop screens I usually use) - with complex drawings or details, having to re-adjust to the new positions of nodes and objects each time a docked dialog changes its width would be distracting IMHO.</opinion>

Maybe a new zoom shortcut (i.e. another preset) to re-center the view at current zoom-level in the visible viewport area would be more versatile?
<opinion>This would be my preferred solution - IIRC there is an older RFE for this but I can't find at it the moment.</opinion>

Revision history for this message
su_v (suv-lp) wrote :

Another option could be to enhance the existing zoom mode 'Zoom drawing if window size changes' (the small zoom icon (toggle button) in the upper right corner of the canvas area where horizontal ruler and vertical scrollbar meet), to optionally also be triggered if the width of the main dock changes (if only the width changes, the zoom factor will stay the same and the current view gets recentered only).

Revision history for this message
insaner (insaner) wrote :

yes! thats the perfect solution ('Zoom drawing if window size changes' )!!!

Revision history for this message
insaner (insaner) wrote :
Revision history for this message
insaner (insaner) wrote :

sorry, I changed the status by mistake

Changed in inkscape:
status: New → Fix Released
status: Fix Released → New
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.