| Summary: | Gallery widget does not NotifySelectionListeners when Selection is removed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Trevor Campbell <trevor> | ||||
| Component: | Nebula | Assignee: | Nicolas Richeton <nicolas.richeton> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P2 | Keywords: | plan | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux-GTK | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Trevor Campbell
Fixed on CVS. This may change the behavior of some app based on the widget. New problem raised on newsgroups : >I noticed that some of my actions weren't getting disabled when the gallery >selection became empty - ie something was selected, then click on a blank group >area, now nothing selected. > >Turns out that no SeletionEvent is fired by the Gallery in this situation. > >I've made a simple change to onMouseDown() which does the trick for me, to just >call notifySelectionListeners with a null GalleryItem. Need to check SWT API for this case. Fixed > 20090416. Behavior based on Cocoa 3.5M6 Table. Selection events are also sent on deselection with last previous item if there are still item selected or null if no more selected items. Change : on deselection (with Control), item is now one of the remaining item instead of the item that was deselected. Created attachment 132024 [details]
mylyn/context/zip
|