[Kde-accessibility] Re: [PATCH] select folder on timeout, after navigating to it

Ingo Klöcker kloecker at kde.org
Sun Jan 25 18:40:46 CET 2004


On Sunday 25 January 2004 11:00, Till Adam wrote:
> On Sunday 25 January 2004 00:29, Ingo Klöcker wrote:
> > On Saturday 24 January 2004 22:49, Till Adam wrote:
> > > Currently selecting folders with the keyboard works like this:
> > >
> > > - ctrl-left/right navigates to a folder
> > > - any key press (including shift and ctrl) selects the folder
> >
> > The latter is a bug. The problem is that the selection (instead of
> > only the currentItem as it was in KDE 3.1) is moved with
> > Ctrl+Left/Right. If this regression is fixed then the "any key
> > press selects the folder" bug will very likely be resolved.
>
> Well, there is an event handler in the foldertree (see the patch),
> which simply selects on any key press.

Hmm, this was introduced in the make-it-cool branch (rev. 1.199.2.17) to 
fix listview behavior (after it had been broken). IMO this wasn't the 
correct fix. IMO the KDE 3.1 behavior has to be restored.

> I agree, though, that probably 
> only  the currentItem should be moved, independently of the timeout
> or not decision.
>
> > > While looking at http://bugs.kde.org/show_bug.cgi?id=72760 I
> > > realized that that is kind of unintuitive and came up with the
> > > attached patch which changes behavior to:
> > >
> > > - ctrl-left/right navigates to a folder
> > > - timeout of 750 ms selects the folder, reset by ctrl-left/right
> > >
> > > That way one can navigate over several folders without selecting
> > > them, for speed reasons, while still getting the auto selection
> > > behavior that seems intuitive to me. Bruggie agrees, so it must
> > > be true.
> >
> > Hmm, sounds like a good idea. But what about accessibility? Users
> > that can't use the mouse will have to use the keyboard. And for
> > some people 750 ms might just be too short. For those people only
> > selecting when a key is pressed (as it used to be before it was
> > broken) is most likely the better solution. Anyway, as I hardly use
> > the keyboard to switch folders I can't really test which approach I
> > would prefer. But the timeout solution sounds more intriguing. The
> > problem is that we would have to make it configurable because of
> > accessibility reasons.
>
> Would it be sufficient for accessibility if it is a config option
> without a gui? I don't know how such desktops are set up, but
> shouldn't that kind of stuff be set as part of applying a "High
> Accessibility" profile? I guess we should ask the people who know
> this kind of stuff, therefor I'm cc'ing kde-accessibility.

Hmm, there should probably be some different accessibility profiles 
(depending on the users disabilities). Then the user would simply 
select the profile that fits best for him and all KDE applications 
would use appropriate config options. Fine tuning should of course 
still be possible.

But that's more or less orthogonal to the question whether the config 
option for automatic folder selection could be hidden or not. In 
general it's a no-no to hide config options. I'm not sure whether this 
will change when we'll have the Config Manager.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://mail.kde.org/pipermail/kde-accessibility/attachments/20040125/e6ebaee0/attachment.pgp


More information about the kde-accessibility mailing list