Repository navigation
Conversation
43bdc23 to
380f7e7
Compare
a94b671 to
55e562f
Compare
merks
left a comment
There was a problem hiding this comment.
I’m looking on my phone. I likely can and a better job on a bigger screen.
0ead9cb to
5a30600
Compare
fa06f47 to
a8fa439
Compare
|
Just rebased on master 👍 .. |
a8fa439 to
9846b57
Compare
|
Hi @merks, could you please re-check this PR ? |
merks
left a comment
There was a problem hiding this comment.
It looks okay. I haven't tested though...
|
Hi @iloveeclipse, can you have a look at this ? |
9846b57 to
46235aa
Compare
There was a problem hiding this comment.
🟡 Changes recommended
After a tree click, listenerAction overwrites the MouseUp handler’s reset of fTreeMouseDown. A subsequent keyboard selection change with unsaved edits therefore queues the prompt instead of displaying it, waiting for another mouse event while further selection changes are ignored.
1 open issue
What changed in this PR
Updates Eclipse’s launch configuration dialog to address macOS tree corruption when switching configurations with unsaved edits, targeting eclipse-jdt/eclipse.jdt.debug#909.
Changes:
- Defers mouse-triggered confirmation prompts until mouse release.
- Extracts save/discard/cancel handling and guards against selection changes while prompting.
| File | Description |
|---|---|
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java |
Adds mouse-state tracking, deferred prompts, and guarded input switching. |
Review effort: Balanced
46235aa to
61ed428
Compare
There was a problem hiding this comment.
🟡 Changes recommended
Changing the tree selection while the prompt waits for mouse-up can leave it using a stale selection, so saving or discarding may display and launch a configuration other than the one currently selected. Separately, after a missed mouse release, the next mouse-down can queue the prompt before the button is released, potentially reintroducing the macOS corruption this change addresses.
2 open issues
1 resolved since last review
Review effort: Balanced
61ed428 to
181b667
Compare
There was a problem hiding this comment.
🔵 Needs a closer look
The fix depends on native SWT mouse/selection event ordering and modal event-loop behavior on macOS, which could not be validated here. Human macOS UI verification remains needed for Save/Don’t Save/Cancel, keyboard selection and navigation, context menus, double-click launch, and releasing the mouse outside the tree.
No open issues 🎉
2 resolved since last review
Review effort: Balanced
Tested 👍 |
On macOS the tree selects on mouse down, and opening the modal "unsaved changes" prompt at that point corrupts the tree. Skip selection changes while the mouse is pressed and handle them on release. Fixes eclipse-jdt/eclipse.jdt.debug#909
181b667 to
3055947
Compare


On macOS the tree selects on mouse down, and opening the modal "unsaved changes" prompt at that point corrupts the tree. Skip selection changes while the mouse is pressed and handle them on release.
Before :
Screen.Recording.2026-10-09.at.10.52.07.AM.mov
After :
Screen.Recording.2026-10-09.at.10.52.58.AM.mov
Fixes eclipse-jdt/eclipse.jdt.debug#909