Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335915

Summary: [Mac] [Cocoa] Modal Dialog Contention
Product: [Eclipse Project] Platform Reporter: Miles Parker <milesparker>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: prakash, skovatch
Version: 3.7   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard: stalebug
Attachments:
Description Flags
Screenshot none

Description Miles Parker CLA 2011-01-31 17:42:19 EST
Weird somewhat unusual issue here -- discovered while trying to do too many things at once as usual. When I have two modal windows opened by different components, I'm not able to dismiss either of them. This looks like a cocoa specific issue as the open dialog is I think a system dialog. Although actually triggered it with PDE and P2 components it seems like a more generic issue so I'm putting it in UI. Steps to reproduce:

1. Start a long-running P2import process.
2. While that is still running, trigger import projects wizard.
3. Click the "browse" button to select project root directory.
4. Wait for "Security Warning"  modal.

This leaves UI sort of deadlocked in the user interaction sense. At this point, the security warning dialog will not accept mouse clicks. Your only choice is to cancel the import as the "No" button is set as default. (?)
Comment 1 Prakash Rangaraj CLA 2011-01-31 23:16:11 EST
Scott,

    Any thoughts on this?
Comment 2 Scott Kovatch CLA 2011-02-02 12:00:55 EST
Definitely sounds like an SWT problem of some sort. I think the SWT assumes one modal dialog at a time, and if a new one comes up things get thrown off.

I'll try to reproduce it and see what the stack looks like.
Comment 3 Miles Parker CLA 2011-09-14 17:15:44 EDT
Created attachment 203369 [details]
Screenshot

Still happening in Indigo. Here's a screenshot. Clicking on OK or Cancel in either dialog doesn't do anything.
Comment 4 Miles Parker CLA 2011-09-14 17:19:32 EDT
Also when I tried to Quit from dock I got the "Do you want to Exit" dialog, which of course I couldn't click :) necessitating a force quit. I don't have anything in System Console or Eclipse log.
Comment 5 Eclipse Genie CLA 2020-08-07 18:55:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.