[jbosstools-issues] [JBoss JIRA] (JBIDE-24748) Enable Show In Console for cdk 3

Rob Stryker (JIRA) issues at jboss.org
Thu Jul 27 16:42:00 EDT 2017


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

Rob Stryker commented on JBIDE-24748:
-------------------------------------

Did some more testing, tried to prepare a patch for upstream, but, it didn't work.  Here's why:

If I make the upstream actions re-check their enablement when a server state changes, sounds like a good idea, no? Except, the server is set to 'starting...' before it actually launches any command. So, CDK is set to 'starting', state change fires an event, the UI actions hear the event, check if the server is not stopped (check), check if the server has a launch (check), check if the launch has processes (fail), and set enablement to false. 

Basically, the only way to get this to show up is to re-click on your selection. Right now you're probably re-right-clicking, which doesn't trigger the selection change event. The only way to get show in console to actually show up is to right-click your server, 'start' it, then CLICK your server, then RIGHT-CLICK your server again. 

Extensive testing, and that's the only way. No amount of code changes on my part will fix this ;) SORRY!

> Enable Show In Console for cdk 3
> --------------------------------
>
>                 Key: JBIDE-24748
>                 URL: https://issues.jboss.org/browse/JBIDE-24748
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.5.0.AM2
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>
> CDK 2 used the Terminal view, CDK 3 switched back to usiong Console view. So Show In Console on the server adapter should be enabled.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list