| Summary: | [Dialogs] SWTExeption: Widget is disposed when resizing quick outline | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Benno Baumgartner <benno.baumgartner> | ||||
| Component: | UI | Assignee: | Susan McCourt <susan> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, eclipse, markus.kell.r, martinae, michaelvanmeekeren, susan | ||||
| Version: | 3.2 | ||||||
| Target Milestone: | 3.2 M4 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Benno Baumgartner
This is a regression from the standpoint of the quick outliner, caused by the adoption of PopupDialog. This should be fixed for M4. This regression can be "fixed" by backing out the change to bug #115785. What's puzzling is that I checked the move/resize scenarios on all platforms as part of verifying that bug when I fixed it. So either something underneath in SWT-land changed (unlikely on windows?) or as part of trying various fixes on various platforms, this regression was inadvertently introduced (by not rechecking on a particular platform). Regardless, this scenario and the scenario in bug #115785 need to be verified on all platforms. Investigating.... Created attachment 31698 [details]
PopupDialog patch
works on windows, to be tested on other platforms
verified that the M4 code, as well as the proposed patch, works fine on the Mac. Fixed >20051213. Verified on windows and Mac. Since move/resize was completely broken on windows, I've taken the liberty of releasing this fix. I don't know if the problem appeared in I20051213-0010 on Linux or not (it did not appear on the Mac, as it's specific to shell/tracker deactivate events.) Marking bug as fixed, but this still must be verified on Linux. Doug, can you verify with latest from HEAD (or any build that includes this fix?) If anyone from Zurich can check this on Linux (while we sleep), that would be helpful, too. Here are three related scenarios that must be checked: SCENARIO 1 - open quick outline (ctrl-o) - open the context (upper right) menu by clicking on the arrow - choose resize - track the resize with the mouse, then release the mouse - popup should resize - click in the editor (outside of the popup) - the popup should now disappear - invoking ctrl-o again should open the popup SCENARIO 2 (from 115785) - open quick outline (ctrl-o) - open the context (upper right) menu by clicking on the arrow - click in the editor (outside of the popup) - either the entire popup will close, or just the menu (this is platform dependent and either is okay). If only the menu closed, click again in the editor to close the popup - now use ctrl-o again to open the popup - observe that the popup opens again SCENARIO 3 - open quick outline (ctrl-o) - open the context (upper right) menu by clicking on the arrow - choose move - track the move with the mouse - escape from the move before releasing the mouse - either the entire popup will close on Esc, or just the tracker (this is platform dependent and either is okay). If only the tracker closed, click again in the editor to close the popup - now use ctrl-o again to open the popup - observe that the popup opens again Verified all scenrios including leak checking on WinXP using I20051214-0010. Tom, please check Linux-GTK. I checked that all scenarios work without throwing an exception. However, with scenario 1 and 3, Ctrl+O will not open the outline any longer after closing it the first time, because the keybinding is not bound any longer. Choosing "Navigate > Quick Outline" works and restores the old behavior. Will file a bug. yes, please file a new bug. That sounds very similar to bug #115785, although in the original bug it was Win XP and I don't recall if it was only the key binding that broke, or if the dialog would never reopen. I'll mark this bug as verified and we can discuss severity of the outstanding Linux issue in that bug. Tom - is there a bug # yet for the new problem on Linux? I haven't seen one come in yet. |