rodriwasabi / gong-wpf-dragdrop

Automatically exported from code.google.com/p/gong-wpf-dragdrop
0 stars 1 forks source link

Select single item (ListViewItem) from current selection #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a ListView, set IsDragSource="True", set 
SelectionMode="Extended", databind ItemsSource-Property.
2. Select a few ListViewItems (Ctrl+LeftMouseClick)
3. Select FIRST selected item (simple LeftMouseClick).

What is the expected output? What do you see instead?
I expect all the selected items to be deselected/unselected and the just 
selected item to be selected. Instead nothing happens - all the items 
remain selected.

What version of the product are you using? On what operating system?
0.1.2 on Windows 7

Please provide any additional information below.
If another selected item (not the first one we selected) is being simple 
clicked (to select it and remove all other selections) it works - anyway 
it doesnt work if we try to do that for the FIRST selected item.

Original issue reported on code.google.com by jdan.iva...@chello.at on 7 Jun 2010 at 5:16

GoogleCodeExporter commented 8 years ago
Hello, sorry for the lack of work on this library recently, I should have time 
to spend on it soon. However, for this issue, have you tried updating to the 
latest SVN? I believe this has been fixed.

Original comment by gro...@gmail.com on 20 Jun 2010 at 12:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hello grokys, thank you for your reply. 
I am using the latest SVN-Revision. The bugfix you mentioned prevents the 
selection from being unable to deselect all selected items. However, 
deselection of all items works for all items in the ListView except the FIRST 
selected item in the current selection list.
Example: ListView contains items A, B and C. 1. A is being selected 2. B is 
being selected 3. A is being left-clicked (for single selection) - this doesn't 
work (but it works for B)

Original comment by jdan.iva...@chello.at on 20 Jun 2010 at 7:53

GoogleCodeExporter commented 8 years ago
Fixed r23.

Original comment by gro...@gmail.com on 22 Jun 2010 at 10:29

GoogleCodeExporter commented 8 years ago
Thank you very much!

Original comment by jdan.iva...@chello.at on 22 Jun 2010 at 10:47