From kfm-devel Fri Jun 30 11:04:18 2000 From: Tobias Anton Date: Fri, 30 Jun 2000 11:04:18 +0000 To: kfm-devel Subject: Re: switching between views X-MARC-Message: https://marc.info/?l=kfm-devel&m=96236322914332 David Faure wrote: > On Thu, Jun 29, 2000 at 03:57:02PM +0200, Tobias Anton wrote: > > See, for example, http://www.heise.de. > > > > if you press "tab" repeatedly, there should be three focus positions: > > 1. the location bar, > > 2. the widget > > 3. the only form element. > > > > but you have to press tab twice to move from the widget to the form > > element. > > Can anyone explain this effect? > > Looks like a bug in the focus policy of khtml. > Instead of setting a focus proxy, it defines two widgets that can receive > the focus. I don't know enough khtml to know what those two > widgets are, but there is probably a QScrollView and another widget, > one being KHTMLView ? perhaps it sets the focus on the scrollview widget, and after that on the viewport widget, wich is the viewing area of the scrollview and a child of it. I hope that hint will help me find the bug. I'm gonna process it as soon as possible, but i will be on the linuxtag expo for the next 2 days. CU, Tobias. > > A setFocusProxy at the right place would fix this. > > -- > David FAURE, david@mandrakesoft.com, faure@kde.org > http://home.clara.net/faure/, http://www.konqueror.org/ > KDE, Making The Future of Computing Available Today > See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2 -- In a world without walls and fences, who needs Windows and Gates?