possible bug in MultiDirDialog

wxPython 2.8.10.1, Python 2.5, WinXP, running the Demo for MultiDirDialog. If, as the first action I do, I hold down Ctrl in order to select multiple folders, and then click on one, it highlights the one I click on plus the top and bottom directories shown in the window. This doesn’t happen if I click a few first before trying this.

I have a use case where a user needs to quick pick two directories, and this will be annoying for them. Thanks,
Che

Depending on your viewpoint the bug is in either Windows or the
Operator. As you don’t have anything selected and are, by control
clicking, adding to that non-selection, things go wrong. Teach them
that the correct procedure is to click on the first directory they
would like then either hold down control and click additional
directories that they would like to select OR hold down shift and
select the last of the range of directories that they would like to
control.
If you always need them to pick exactly 2 directories then you
should either prompt them twice for a single directory or derive a
new control that only lets them select exactly 2 directories.

···

On 18/04/13 00:27, C M wrote:

  wxPython 2.8.10.1, Python 2.5, WinXP, running the Demo

for MultiDirDialog. If, as the first action I do, I hold down
Ctrl in order to select multiple folders, and then click on one,
it highlights the one I click on plus the top and bottom
directories
shown in the window. This doesn’t happen if I click
a few first before trying this.

  I have a use case where a user needs to quick pick two

directories, and this will be annoying for them. Thanks,

  Che

  --

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to .
For more options, visit .


Steve Gadget Barnes

wxpython-users+unsubscribe@googlegroups.com
https://groups.google.com/groups/opt_out

C M wrote:

wxPython 2.8.10.1, Python 2.5, WinXP, running the Demo for
MultiDirDialog. If, as the first action I do, I hold down Ctrl in order
to select multiple folders, and then click on one, it highlights the one
I click on *plus the top and bottom directories* shown in the window.
This doesn't happen if I click a few first before trying this.

I have a use case where a user needs to quick pick two directories, and
this will be annoying for them. Thanks,

I'm not seeing anything like that with my 2.9 workspace so that may be the difference, but I don't remember seeing anything like that with 2.8 either. When Ctrl-click is used then it should just add the clicked item to the already selected set of items, so could it be that the first an/or last were already selected when you tested ctrl-click?

···

--
Robin Dunn
Software Craftsman