On 11/22/2013 06:05 PM, D M German wrote:
>
>   Denis> So: while I'm aware this sort of UI makes perfect sense for 
> mouse-based
>   Denis> computing, the hybrid nature of xournal makes it necessary in my 
> mind to
>   Denis> refrain from overloading features with modifiers activated by 
> changing
>   Denis> the button or pressing a modifier keyboard key.
>
> What about using Shift? This is a feature sometimes I would really like
> to have. Alternatively, and to fully support pen-based, an selectable
> option to maintain aspect ratio would be the way to do it. Maybe both?

Shift or control is not too pen-friendly and therefore probably not the 
best way to proceed, but at least it doesn't break things for pen users 
in the manner that left vs right click would, so if someone wants to 
implement it that way, fine by me.

Perhaps better: one could also look into making things automagical. One 
would then have a config option (in config file and perhaps in the 
menus) which, when enabled, would not force all aspect ratios to be 
preserved, but rather would make it easy to preserve aspect ratio if it 
looks like what the user is trying to do. What I mean is that the resize 
rectangle would visually "snap" to an aspect-ratio-preserving rectangle 
if one is dragging a corner rather than an edge *and* the aspect ratio 
is not too far from being preserved (by how much? perhaps within 15% + 
10 pixels of 1:1 aspect, or some other amount of error margin to be 
determined by trial and error); and it varies freely otherwise. The user 
would get clear visual feedback about what is happening by watching the 
resized selection rectangle's corner fail to follow the cursor when 
things are snapping.

This way, if I want to resize with preserved aspect ratio, I just need 
to aim close enough (with visual cues during the resizing to help me aim 
properly) and xournal will auto-correct it for me; if I don't want to 
preserve it, I can do it freely without triggering the auto-correction 
unless I'm trying to modify the aspect ratio just a little bit; but then 
I can try to do it either by resizing just one direction i.e. dragging 
on an edge instead of a corner of the selection box, which wouldn't 
trigger the aspect-preserving feature, or by doing it in two stages.
(Also I could just disable the feature by unselecting the option if it 
gets on my nerves.)

I think from an UI perspective this may be better, and wouldn't require 
the user to learn a shift-click combination (or guess that a different 
mouse button does something special).

Denis

-- 
Denis Auroux                             aur...@math.berkeley.edu
University of California, Berkeley       Tel: 510-642-4367
Department of Mathematics                Fax: 510-642-8204
817 Evans Hall # 3840
Berkeley, CA 94720-3840

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to