[jbosstools-issues] [JBoss JIRA] (JBIDE-10996) BrowserSim: the application not closing on Mac OS X

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Wed Feb 22 07:34:36 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-10996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yahor Radtsevich updated JBIDE-10996:
-------------------------------------

    Attachment: JBIDE10996.patch


I have created a patch [^JBIDE10996.patch], which replaces a call of
{{java.awt.Desktop.browse(URI)}}
by a call of
{{org.eclipse.swt.program.Program.launch(String)}}.
The later method, when called with an URL parameter, also opens a default system browser. This fixes the problem, because the AWT stuffs are not used.

At least on Mac OS X it works well.
                
> BrowserSim: the application not closing on Mac OS X
> ---------------------------------------------------
>
>                 Key: JBIDE-10996
>                 URL: https://issues.jboss.org/browse/JBIDE-10996
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Yahor Radtsevich
>            Assignee: Yahor Radtsevich
>            Priority: Blocker
>             Fix For: 3.3.0.Beta1
>
>         Attachments: JBIDE10996.patch, screenshot-1.png
>
>
> *Steps to reproduce:*
> # Run BrowserSim on Mac OS X.
> # In the application menu select File->Exit.
> *Actual result:*
> The BrowserSim shell is closed, but the application icon is left on the system taskbar.
> This screenshot demonstrates the result of four BrowserSim run/exit actions:
> !screenshot-1.png!
> *Expected result:*
> The application icons should disappear from the task-bar on exit.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list