KDialogBase patch - make the first widget initially focused

Lubos Lunak l.lunak at suse.cz
Wed Jan 29 13:18:50 GMT 2003


On Wednesday 29 of January 2003 13:59, Waldo Bastian wrote:
> On Wednesday 29 January 2003 12:58, Lubos Lunak wrote:
> >  But forcing it by default on the buttons is wrong IMHO. If I write a
> > dialog based on QDialog, the first widget will have focus, if this dialog
> > is changed to use KDialogBase, suddenly it will be the first button
> > having the focus.
> >
> >  Another try: The KDialogBase patch is almost the same, and there's
> > additional patch for KActiveLabel, as that one IMHO shouldn't actually
> > get focus, as it's a label after all, even though based on QTextBrowser.
> >
> >  Is it ok to commit it?
>
> I don't think so. Now the ActiveLabel can't get focus at all anymore, no?
> The purpose of KActiveLabel is to be able to select text from it. For that
> you need focus.

 Works for me even without focus, both links and selecting text.

>
> I agree that it shouldn't get focus by default though.

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/





More information about the kde-core-devel mailing list