Mac: no way to multiselect (non-contiguous) using keyboard in XUL listbox

Assigned to



Keyboard: Navigation
16 years ago
9 years ago


(Reporter: sairuh (rarely reading bugmail), Assigned: Håkan Waara)


({helpwanted, pp})

Mac OS X
helpwanted, pp

Firefox Tracking Flags

(Not tracked)


(Whiteboard: patch)


(1 attachment)



16 years ago
spun off while trying to verify bug 159947. on mac there's no way to
non-contiguously multiselect items in a listbox using the keyboard. tested using
mach-o mozilla 2002.12.16.07 bits on 10.2.2.

on win32 and unix, you can use ctrl+space to accomplish this. on mac, why not
use command+space? (cannot use ctrl+space on mac, as that's reserved for
bringing up the context menu.)

Comment 1

16 years ago
Created attachment 110499 [details] [diff] [review]
proposed patch: using cmd instead of ctrl for all key event

I'm unable to test it :(

Comment 2

16 years ago
simon, could you pls review/test this patch? thanks!


14 years ago
Keywords: helpwanted

Comment 3

14 years ago
This is silly, we have a patch but no one has a Mac to test it with.

Timeless, can yes test this or do you know someone who will for us?
Whiteboard: patch
If by "listbox" you mean a box like the <select multiple> for the CC list on this bug, holding down Cmd will let you move the focus ring around without adding/changing the selection, and space will then toggle the currently-focused element.

This works in Fx, today's Camino 18branch nightly, and a Camino trunk build from tonight.


12 years ago
Assignee: aaronleventhal → hwaara

Comment 5

12 years ago
As comment 4 points out, this is WFM on web pages, but I can't find a way to do it in XUL.  Smokey, any idea if this feature even exists in the OS?
Dunno what the equivalent widget might be; in list views like the Finder, there appears to be no way to do non-contiguous multiple selection using only the keyboard.  Maybe Wevah would know?
I found a list widget where this would be relevant in the OS: the iPhoto source list.  You can navigate it via the keyboard, and make selections (albums/rolls), and even expand selections, but via the keyboard it is impossible to do non-contiguous selections via the keyboard.
Summary: Mac: no way to multiselect (non-contiguous) using keyboard in listbox → Mac: no way to multiselect (non-contiguous) using keyboard in XUL listbox
QA Contact: bugzilla → keyboard.navigation
You need to log in before you can comment on or make changes to this bug.