FileDialog does not show [message #1161101] |
Tue, 29 October 2013 11:28  |
Eclipse User |
|
|
|
Hi,
I am working with RCP 3.0 application on Mac OS (Mavericks). I am trying to open FileDialog but it does not show.... It used to work perfectly in my previous OSX version but as soon as i updated to Mavericks FileDialog does not show..
Do you have any clue why it is?
Cheers,
|
|
|
Re: FileDialog does not show [message #1161583 is a reply to message #1161101] |
Tue, 29 October 2013 18:26   |
Eclipse User |
|
|
|
I am experiencing this problem as well, though I get the org.eclipse.swt.widgets.FileDialog, created with the SWT.SAVE style, to appear once (but see below). Thereafter, when I create a FileDialog and call open on it, I get null returned without seeing the FileDialog.
When debugging the RCP application, the second time that FileDialog.open is called, the call it makes to org.eclipse.swt.internal.cocoa.NSSavePanel.runModalForDirectory always returns 0 without making the OS X file save dialog appear.
Adding insult to injury, on the first call to FileDialog.open, the OS X file save dialog appears, it shows the file name set with FileDialog.setFileName, but does not present the directory that was set with the call to FileDialog.setFilterPath.
Here's an image of the empty file save dialog that appears the first time I call FileDialog.open.

As an added bonus, the Eclipse Indigo "Open File..." command shows the same behavior; i.e., it will only appear once!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09332 seconds