[jbosstools-issues] [JBoss JIRA] (JBIDE-12929) Delete dialog invoked by Del key is not located correctly

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Wed Nov 14 08:01:20 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-12929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734084#comment-12734084 ] 

Snjezana Peco commented on JBIDE-12929:
---------------------------------------

The issue happens because sometimes  Eclipse CNF initializes its actions before the server view is initialized. Because of that GlobalDeleteAction is created with an invalid shell. 
The solution is to ignore this shell and calculate the shell when the RemoveModuleAction class is created(as well as DeleteServerDialog because the issue can also be reproduced when the server is removed).
I have created a bug against WTP and attached a patch - https://bugs.eclipse.org/bugs/show_bug.cgi?id=394273.
You can test by replacing the o.e.wst.server.ui plugin with the attached plugin. You have to use the same version of the plugin (WTP 3.4.1)
                
> Delete dialog invoked by Del key is not located correctly
> ---------------------------------------------------------
>
>                 Key: JBIDE-12929
>                 URL: https://issues.jboss.org/browse/JBIDE-12929
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: Archives
>    Affects Versions: 4.0.0.Beta1
>            Reporter: Jaroslav Jankovič
>            Assignee: Snjezana Peco
>             Fix For: 4.0.0.CR1
>
>         Attachments: JBIDE-12929_context_menu.jpg, JBIDE-12929_del_key.jpg, org.eclipse.wst.server.ui_1.4.1.v20120821_1330.jar
>
>
> I hope this is not bug only in my environment. When I delete archive from server with context menu, delete dialog is opened in the middle of the eclipse screen. However, when invoking with Del key, it is located outside the eclipse (if eclipse not maximized of course).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list