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

List:       kwrite-devel
Subject:    Re: [PATCH] Bug#39816: After hitting F7 console has not full focus
From:       Anders Lund <anders () alweb ! dk>
Date:       2002-03-27 22:41:13
[Download RAW message or body]

On Tuesday 26 March 2002 13:36, florian.simnacher@gmx.de wrote:
> Package: kate
> Version: kde-3.0-rc3 (using KDE 3.0.0 CVS/CVSup/Snapshot)
> Severity: normal
> Installed from:    Compiled sources
> Compiler:          gcc-2.95.3
> OS:                Linux
> OS/Compiler notes: Not Specified
>
> After hitting F7 the console is opened and
> i can enter text. But if i want to use reverse
> search in the console (e.g. CTRL-r) then the
> replace dialog of kate is opend.
>
> Or if i want to move the cursor in the console
> to the beginning of the line (e.g. CTRL-a) all
> text in the text window is marked.
>
> After F7 i would expect a fully functional
> console window as i get when starting the
> konsole application.

This patch will slove that problem:-)

(should I comit to the RELEASE_3_0 branch?)

-anders


["kateconsole_h.diff" (text/x-diff)]

Index: app/kateconsole.h
===================================================================
RCS file: /home/kde/kdebase/kate/app/kateconsole.h,v
retrieving revision 1.2
diff -u -r1.2 kateconsole.h
--- app/kateconsole.h	2001/11/01 13:14:23	1.2
+++ app/kateconsole.h	2002/03/27 22:21:27
@@ -32,6 +32,8 @@
 
     void cd (KURL url=0L);
 
+  protected:
+    void focusInEvent( QFocusEvent * ) { part->widget()->setFocus(); };
   private:
     KParts::ReadOnlyPart *part;
     QVBoxLayout* lo;

_______________________________________________
kwrite-devel mailing list
kwrite-devel@mail.kde.org
http://office.kde.org/mailman/listinfo/kwrite-devel

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

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