[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Problem with accent keys in konsole
From:       Henrik Johnson <hpj () globecom ! se>
Date:       2002-03-09 21:40:15
[Download RAW message or body]

Never mind this post. The problem seems to be connected with fullscreen 
mode, my normal mode of operation. When I tested this I disabled it and 
then it worked. Whenever I don't use fullscreen mode I have no problem 
with accents with or without the patch below. However there must be 
something that konsole does that makes this fail because when I try 
calling showFullscreen in another application the keyboard still works. 
Still, at least now I can use the app.

/Mauritz
Spinbox AB

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic