[Mono-bugs] [Bug 398341] New: ListBox: in MultiExtended mode, Ctrl+Click oftern reset' s item selection

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 8 06:15:17 EDT 2008


           Summary: ListBox: in MultiExtended mode, Ctrl+Click oftern
                    reset's item selection
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=220898)
 --> (https://bugzilla.novell.com/attachment.cgi?id=220898)
Repro app

(Of course, in SelectionMode=MultiExtended, the expected behaviour is that
Click selects one item, Shift+Click extends the last selection (to include all
items up to and including the new item), and Ctrl+Click adds or removes
selection to/from the focused item).

In Mono, Ctrl+Click often behaves like Click, clearing any existing selection
selecting the single item clicked.

Tested in single-column mode.  Multi-column mode likely needs fixed too.

One repro:
1. Click item 0.
It is selected.
2. Ctrl+Click item 1.
Items 0 and 1 are selected.
3. Ctrl+Click item 2.
Items 0, 1, and 2 are selected.
4. Ctrl+Click item 1.
Items 0 and 2 are selected.
5. Ctrl+Click item 2.
Items 0 is selected.
6. Repeat from step 2.
Same behaviour.

On Mono commonly: at step 2 only item 1 is selected, etc, etc.  Another common
occurance is that: step 1 to 3 work, but the items are not unselected at steps
4 and 5 and in fact stay selected thereafter.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list