[jbosstools-issues] [JBoss JIRA] (JBIDE-21563) [regression] Explorer: Connection or (multiple) application deletion does not work anymore

Viacheslav Kabanovich (JIRA) issues at jboss.org
Mon Jan 25 09:55:00 EST 2016


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

Viacheslav Kabanovich edited comment on JBIDE-21563 at 1/25/16 9:54 AM:
------------------------------------------------------------------------

For me, after a right mouse click for context menu, key 'Delete' works until a selection changing event caused by either left mouse click or keys. Then, after the next right mouse click key 'Delete' starts working again. 

It seems that key bindings for "Del" do that like 
{code}
	<extension
		point="org.eclipse.ui.bindings">
		<key
			schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" 
			contextId="org.jboss.tools.openshift.explorer.context.connection"
			sequence="Del" 
			commandId="org.jboss.tools.openshift.express.ui.command.removeconnection" />
	</extension>
{code}
One is in org.jboss.tools.openshift.common.ui/plugin.xml and two in org.jboss.tools.openshift.express.ui/plugin.xml. When I remove them, key Delete works fine.



was (Author: scabanovich):
For me, after a right mouse click for context menu, key 'Delete' works until a selection changing event caused by either left mouse click or keys. Then, after the next right mouse click key 'Delete' starts working again. 

> [regression] Explorer: Connection or (multiple) application deletion does not work anymore
> ------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-21563
>                 URL: https://issues.jboss.org/browse/JBIDE-21563
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.1.Beta2
>            Reporter: Marián Labuda
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>              Labels: explorer, openshift_v2, respin-a
>             Fix For: 4.3.1.Beta2, 4.3.1.CR1
>
>
> Previously it was possible to select multiple OpenShift 2 applications and delete them at once via context menu Delete application(s).... Currently there is no such context menu anymore and it is a pain to delete several applications one by one.
> Added by Slava: In my environment, Delete for objects of OpenShift 2 does not work at all (menu is shown, but nothing happens). It seems the cause is a slip in plugin.xml for Openshift 3, handler org.jboss.tools.openshift.internal.ui.handler.DeleteResourceHandler declared activeWhen with <or> (count==1 _or_ instanceof IResource). So, formally having a lot of restrictions but passing them, this handler imposes itself on all selections. Though, it is possible that the bug reveals not in all environments.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list