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

List:       kfm-devel
Subject:    Bug#1780 KFM as browser: focus in wrong place on loading page
From:       Dawit Alemayehu <adawit () earthlink ! net>
Date:       1999-08-21 8:06:17
[Download RAW message or body]

Greetings,

> Using KFM as a browser, often on loading a page PgUp and PgDn don't
> work, because the focus is not on the loaded page.  If I click
> anywhere on the Web page, the PgUp and PgDn keys then work, although
> the arrow keys will still fail about 10% of the time.

I am not entierly sure, with the exception of the arrow keys, if this is a bug
or not.  However, it is it can be fixed with a one liner :

Index: kfmgui.cpp
===================================================================
RCS file: /home/kde/kdebase/kfm/Attic/kfmgui.cpp,v
retrieving revision 1.167.2.17
diff -u -r1.167.2.17 kfmgui.cpp
--- kfmgui.cpp  1999/08/21 08:15:07     1.167.2.17
+++ kfmgui.cpp  1999/08/21 08:32:59
@@ -785,6 +785,7 @@
             return;
         }
         view->openURL( u.url().data() );
+        view->getActiveView()->setFocus();
         //  update tree view Sep 5 rjakob
         if ( u.protocol() == "file" )
             if (bTreeView && pkfm->isTreeViewFollowMode())

Regards,
Dawit A.

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

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