[PATCH] Bug 36577: pressing enter when the the backdrop has focus

Lubos Lunak l.lunak at suse.cz
Tue May 6 12:09:41 BST 2003


On Tuesday 06 of May 2003 12:53, David Faure wrote:
> On Tuesday 06 May 2003 12:47, Lubos Lunak wrote:
> >  I think this is a general problem of certain listbox/listview
> > braindamage when it comes to handling of current/selected, especially in
> > the single selection mode:(.
>
> IMHO listbox is much worse than listview. Listview has quite reasonable
> handling, whereas listbox is definitely busted.
>
> >  IMHO in single select mode, it should be always ensured that
> > current==selected (and the listbox/listview would be either allowed or
> > not to have unselected item).
>
> I totally agree (I had the same kind of mess with the profile dialog in
> Konqueror).

 I can try my luck on qt-bugs@ with this. I'm just afraid I'll end up getting 
'sorry, brokeness^H^H^Hbackwards compatibility' :(.

>
> But this has nothing to do with the problem at hand IMHO, since it's
> about a QListView, and about Extended selection mode, not Single.

 You left out a small part where I said : For this specific case of desktop 
icons, there IMHO should be no icon current/selected by default.

> IMHO the behaviour in Konqueror is fine. But the problem is simply
> that KDesktop often takes focus unintentionnally (just clicking between
> two windows, without really thinking about the desktop icons), and then
> Return has unwanted side effects.

 If in the icon view there was no icon selected by default (and 
current==selected was ensured), this problem wouldn't exist. Also, that would 
avoid the subtle detail that the selected icon is sometimes really selected, 
sometimes only current.

-- 
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