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

List:       kfm-devel
Subject:    Re: Bug#1780 KFM as browser: focus in wrong place on loading page
From:       Waldo Bastian <bastian () suse ! de>
Date:       1999-08-23 7:37:11
[Download RAW message or body]

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

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

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