Denis Auroux twisted the bytes to say:

 Denis> 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?

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

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

this is a very good idea and easier to implement than a more dedicated
feature, since all it needs is a:

- a variable or two holding the snap tolerance (they can be part of the
  config file)
- a flag for the automatical feature
- When the new size is calculated, the option is checked, if true, check
  the tolerance, if true, then resize. 

the question is coordinate do we force: horizontal or vertical? 

--dmg


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

 Denis> Denis

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


--
Daniel M. German                  "When you start lost,
   Orson Scott Card ->             it is difficult to get loster."
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 

------------------------------------------------------------------------------
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