From kfm-devel Mon Aug 23 07:37:11 1999 From: Waldo Bastian Date: Mon, 23 Aug 1999 07:37:11 +0000 To: kfm-devel Subject: Re: Bug#1780 KFM as browser: focus in wrong place on loading page X-MARC-Message: https://marc.info/?l=kfm-devel&m=93539522002180 On Sam, 21 Aug 1999, Dawit Alemayehu wrote: > 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. Yes, please apply it. This has annoyed me for over a year now :-] Cheers, Waldo