| Summary: | Selection changes in Breakpoints View unexpectedly when a context menu is clicked | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Szymon Brandys <Szymon.Brandys> | ||||||||
| Component: | Debug | Assignee: | Darin Wright <darin.eclipse> | ||||||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | darin.eclipse, pawel.1.piech | ||||||||
| Version: | 3.6 | Flags: | darin.eclipse:
review?
(pawel.1.piech) |
||||||||
| Target Milestone: | 3.6 M5 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Szymon Brandys
Created attachment 157277 [details]
Selection before 'Enable' is clicked in the context menu
Created attachment 157278 [details]
... and after 'Enabled' is clicked
Mulit-selection becomes single selection after any modification to breakpoints via the context menu. Created attachment 157413 [details]
patch
Problem only occurred when grouping by something. A content delta was being fired for each container, which caused refresh, messing with selection. Fix is to only fire STATE delta for the containers, and STATE | CONTENT for the (leaf nodes) breakpoints.
*** Bug 300854 has been marked as a duplicate of this bug. *** (In reply to comment #4) > Created an attachment (id=157413) [details] > patch > > Problem only occurred when grouping by something. A content delta was being > fired for each container, which caused refresh, messing with selection. Fix is > to only fire STATE delta for the containers, and STATE | CONTENT for the (leaf > nodes) breakpoints. I think this is a regression from fixing bug 291267. Mult-selection should not be lost simply because of a content update. This is a reasonable workaround, but I think we'll need to address the underlying problem in the viewer after M5. Applied. Fixed. Please verify, Pawel. *** Bug 300915 has been marked as a duplicate of this bug. *** (In reply to comment #7) > Applied. Fixed. Please verify, Pawel. The fix only works when there is only a single-level grouping. If user has multiple levels of groups (using Group By -> Advanced) then the selection problem re-appears. We'll have to fix the underlying problem of maintaining multi-selection properly. *** This bug has been marked as a duplicate of bug 299958 *** |