On Wed, Jul 21, 2010 at 9:47 PM, Peter Hutterer
<[email protected]> wrote:
> On Wed, Jul 21, 2010 at 09:18:26PM -0500, Chris Bagwell wrote:
>> On Wed, Jul 21, 2010 at 5:10 PM, Peter Hutterer
>> <[email protected]> wrote:
>> > On Wed, Jul 21, 2010 at 02:37:23PM -0700, Ping Cheng wrote:
>> >>
>> >> It might be easier for you to amend the patch directly. Basically, we
>> >> can use "ctrl + mouse button 4/5" for zooming. So, it would be
>> >> something like the following:
>> >>
>> >>        button = (dist > 0) ? SCROLL_UP : SCROLL_DOWN;
>> >> ......
>> >>
>> >>        wcmEmitKeycode (priv->local->dev, 37 /*XK_Control_L*/, 1);
>> >>        while (count--)
>> >>        {
>> >>              xf86WcmSendButtonClick(priv, button, 1);
>> >>              xf86WcmSendButtonClick(priv, button, 0);
>> >>        }
>> >>        wcmEmitKeycode (priv->local->dev, 37 /*XK_Control_L*/, 0);
>> >>
>> >
>> > which applications actually zoom on ctrl+ and ctrl-? So far I've only found
>> > firefox but I haven't looked really hard. Same goes for ctrl + button 
>> > events
>> > - which application are supported here?
>> >
>> > I hope we're not having gesture support for the sake of a single
>> > application...
>> >
>>
>> While testing gesture logic a while back, I noticed that Gnome
>> terminal supports zooming with ctrl+/ctrl-.  I just happened to be
>> hovering over that window during a pinch gesture.
>>
>> It became my preferred testing app over firefox.
>
> yeah, I know about this but tbh having gesture support to increase the font
> size in a terminal seems a bit... pointless :)
>
>> I thought a wider range of image views supported those keys but
>> couldn't find one quickly on a basic Fedora install (gimp, shotwell).
>
> just did a quick test of a few apps that may matter and that were installed.
>
> apps supporting Ctrl+/- and scroll wheel zoom:
>    evince, fspot, chrome, firefox
>    digikam (it really has to be +/-, not just the key +/- is located on)
> apps supporting Ctrl+/-, but not the wheel zoom:
>    eye of gnome
> apps supporting wheel zoom only:
>    openoffice, scribus,
>    inkscape (+/- only without Ctrl)
>
> if we switch to wheel zooming, we'd break one app and gain support for
> four. but honestly, I'm starting to stop caring.
>

Gimp is same as inkscape.

Seems a pretty easy call now to go with scroll wheel zooming over
problematic user keystroke simulations.  eog is an easy software patch
to support both ways and I agree gesture based terminal zooming is
pretty useless and is simple patch as well to support both.

Chris

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to