| Summary: | Breakpoint Sound Action fails to change wav file | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Luis Yanes <yanes.luis> | ||||||
| Component: | cdt-debug | Assignee: | Marc-André Laperle <malaperle> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Ken Ryall <ken.ryall> | ||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | cdtdoug, malaperle, pawel.1.piech | ||||||
| Version: | 7.0.1 | ||||||||
| Target Milestone: | 8.0.1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Luis Yanes
Created attachment 197055 [details]
Stack trace
I can reproduce this. Using Ubuntu 10.10, Gnome 2.32.0, CDT 7.0.1, Eclipse 3.6.1
And I should add that it works fine on Windows (x86_64) and Mac OS (cocoa x86). Created attachment 197344 [details]
Breakpoint, sound action, gtk patch
combo.removeModifyListener(comboModifyListener);
...
combo.removeAll(); // defers a Modify event
...
combo.addModifyListener(comboModifyListener); // Modify event actually processed after this
Resetting the content of the combobox defers a Modify event to after the listener is added which means the ModifyListener triggers and receives a Modify event constantly. I don't think there's a need to rebuild the recent sound list or the combobox just when the selection changes, so I removed those elements from the ModifyListener code. I'm not sure if this is a bug in SWT itself but I think the change in the patch makes sense either way. I will open a separate SWT bug to make sure I'm not working around a real bug.
Opened bug 349900. Fixed in 8.0.1 and master (ab8f68cc5b25f9fcad5f7d2bed94f3eab4fc9ff1). |