[jbosstools-issues] [JBoss JIRA] (JBIDE-24448) Application wizard: error decoration is not removed when I correct "Custom Template" url to be valid

Rob Stryker (JIRA) issues at jboss.org
Wed Aug 16 16:00:01 EDT 2017


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

Rob Stryker commented on JBIDE-24448:
-------------------------------------

https://github.com/jbosstools/jbosstools-openshift/pull/1542

It's possible either hte redraw is getting executed before the new status is set, or, the redraw never occurs until you resize the window. I suspect it's the latter, not the former. 

The original workaround for this issue was to call redraw(), but that method only marks the composite for redrawing later. An additional call to update() is necessary to force the repainting. However, to do this during the validator before the validator returns means that the redraw would occur before hte new status is set. Therefore, the redraw and repaint must be done via async exec, done after the validator stuff is complete. 

> Application wizard: error decoration is not removed when I correct "Custom Template" url to be valid
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-24448
>                 URL: https://issues.jboss.org/browse/JBIDE-24448
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.4.Final
>         Environment: Win 10.
>            Reporter: Radim Hopp
>            Assignee: Rob Stryker
>            Priority: Minor
>              Labels: application_wizard, openshift_v3
>             Fix For: 4.5.1.AM1
>
>
> Error decorator is not redrawn until windows is resized.
> See screencast: https://youtu.be/BQo-NtDS_c0
> For more detailed info, see JBIDE-23473
> I tried it on Win10 & Fedora 25.... Win10 has this issue, Fedora 25 does not.
> Mac is not affected either.



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


More information about the jbosstools-issues mailing list