[jbosstools-issues] [JBoss JIRA] (JBIDE-20753) Text flickering when selecting server types in New Server wizard
Rob Stryker (JIRA)
issues at jboss.org
Wed Dec 2 18:53:00 EST 2015
[ https://issues.jboss.org/browse/JBIDE-20753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136419#comment-13136419 ]
Rob Stryker commented on JBIDE-20753:
-------------------------------------
Well, the screencast shows me the issue, but doesn't help me replicate it ;)
I looked in the class NewManualServerComposite (which is the class responsible for this section) and there are only two lines that set the visibility of the label / text / etc in that area. One sets it to false, the other sets it to whether there one or more runtimes for that server type.
The code is line 582:
{code}
if (serverType == null || !serverType.hasRuntime() || server == null) {
if (runtimeLabel != null) {
// set a bunch of widgets to invisible
}
return;
}
{code}
Unfortunately, no matter what I do, I can never get it to NOT enter the above if statement. That's because ALL of our servertypes respond to hasRuntime() with a false. I'm sure this is a bit of a surprise, but it was a hack on our part to force selection of the runtime to be only on the 2nd page, while the user selects a profile (mgmt / fs / local / etc).
I'd be really curious to see that debugged, though, because my breakpoint down at line 636, where the label COULD be set to visible, is never hit, unless I pick a different server adapter like CDK or Jonas or other server type that isn't as / wf / eap / etc.
No matter what I do, I can't get that breakpoint to hit. Very very strange.
> Text flickering when selecting server types in New Server wizard
> ----------------------------------------------------------------
>
> Key: JBIDE-20753
> URL: https://issues.jboss.org/browse/JBIDE-20753
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.3.0.CR1
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Labels: regression
> Fix For: 4.3.x, 4.4.0.Alpha1
>
>
> When you open the New Server wizard and select a server type, There will be some elements rendered for a fraction of a second. It's Server Runtime Environment and a dropdown menu - it will disappear again, but it's not nice to see something quickly appear and disappear again. You can keep selecting server types and it will keep happening. All of this is on the first page of the dialog.
> I checked and this did not happen in Beta2.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list