From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Tue Aug 20 2002 - 03:07:21 EDT
--- William Lachance <wlach@interlog.com> wrote: > On
Thursday 15 August 2002 23:02, William Lachance
> wrote:
> > I do wonder about one thing though: This line of
> code in
> > af/xap/xap_UnixFrame.cpp around line 244-- is this
> really necessary
> > (intercepting and ignoring every keypress that
> isn't in an
> > alt-combination)? The menu mnemonics won't work
> with this enabled, and Abi
> > seems to behave as expected with the code
> commented out. If no one says
> > anything, I'm going to remove this code.
>
> An update: the mnemonics do seem to work, even with
> that code enabled.
>
> Does anyone know why AbiWord is handling this
> keyboard stuff at such a
> low-level? Is there any reason we shouldn't just rip
> out the platform
> specific key handling code and handle shortcuts with
> menu accelerators, and
> deal with key presses only when the document widget
> is focused? This seems
> much saner.
I've always had concerns that the Windows keyboard was
too low-level too. It seemed to be to get around
some problem with menu shortcuts but I never
understood
the exact reasons.
See these bugs:
http://bugzilla.abisource.com/show_bug.cgi?id=3773
http://bugzilla.abisource.com/show_bug.cgi?id=1194
Can we get to the bottom of this design decision and
hopefully fix the Unix and Windows problems at the
same time?
Andrew Dunbar.
> Regards,
>
> Will Lachance
> wlach@interlog.com
=====
http://linguaphile.sourceforge.net/cgi-bin/translator.pl http://www.abisource.com
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
This archive was generated by hypermail 2.1.4 : Tue Aug 20 2002 - 03:11:51 EDT