[Konsole-devel] Re: Problem with accent keys in konsole

Thomas Zander zander at planescape.com
Sat Mar 9 21:21:03 UTC 2002


Hi Hendrik; 

I kind of doubt that the patch you wrote is correct since it revertes
a patch of 18 months ago. I have a hard time believing that could be the
right fix.

But maybe the people on konsole-devel have more intelligent stuff to say
then me :) So I cc-ed them.


On Sat, Mar 09, 2002 at 10:13:24PM +0100, Henrik Johnson wrote:
> In konsole (CVS from yesterday) you can't use the double characters like 
> accents etc. This is troublesome for most european users (And US?) since 
> the characters ~ and ` are accents and only available this way and they 
> come in handy when shelling (I've posted about this before). Anyway, 
> I've been doing some digging and it comes down to this patch which 
> solves the problem.
> 
> The problem is that I'm pretty sure that those lines are there for a 
> reason, but I can't understand what. perhaps someone could enlighten me 
> on why it is needed, if no one has a problem with it I can just commit this.
> 
> /Mauritz
> Spinbox AB
> 
> Index: TEWidget.cpp
> ===================================================================
> RCS file: /home/kde/kdebase/konsole/konsole/TEWidget.cpp,v
> retrieving revision 1.132
> diff -u -U5 -r1.132 TEWidget.cpp
> --- TEWidget.cpp        2002/03/06 00:43:14     1.132
> +++ TEWidget.cpp        2002/03/09 21:05:27
> @@ -1255,16 +1255,10 @@
>   scrollbar->setValue(scrollbar->value()+lines);
> }
> 
> bool TEWidget::eventFilter( QObject *obj, QEvent *e )
> {
> -  if ( (e->type() == QEvent::Accel ||
> -       e->type() == QEvent::AccelAvailable ) && qApp->focusWidget() == 
> this )
> -  {
> -      static_cast<QKeyEvent *>( e )->ignore();
> -      return true;
> -  }
>   if ( obj != this /* when embedded */ && obj != parent() /* when 
> standalone */ )
>       return FALSE; // not us
>   if ( e->type() == QEvent::Wheel)
>   {
>     QApplication::sendEvent(scrollbar, e);
> 
> 

-- 
Thomas Zander                                            zander at earthling.net
The only thing worse than failure is the fear of trying something new
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20020309/d528afc3/attachment.sig>


More information about the konsole-devel mailing list