[
https://issues.jboss.org/browse/JBIDE-21815?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich edited comment on JBIDE-21815 at 3/3/16 5:16 PM:
-----------------------------------------------------------------------
Well, after trying all kinds of refreshes that were of no use at all, I found one strong
remedy, and I know that everyone will be disgusted with it, but it is the only one that
works:
{code}
@Override
protected void onPageActivated(DataBindingContext dbc) {
if(envViewer != null && envViewer.getControl() != null &&
!envViewer.getControl().isDisposed()) {
Object input = envViewer.getInput();
envViewer.setInput(null);
envViewer.setInput(input);
}
if(dataViewer != null && dataViewer.getControl() != null &&
!dataViewer.getControl().isDisposed()) {
Object input = dataViewer.getInput();
dataViewer.setInput(null);
dataViewer.setInput(input);
}
}
{code}
I remind that table fails update on its own only when it needs vertical scroll, so it is
entirely an UI problem, not model updating and not databinding.
As what I found turns out to be a GTK3 problem, I have created issue JBIDE-21816 because
it does not cover what caused this issue on Mac OS.
was (Author: scabanovich):
Well, after trying all kinds of refreshes that were of no use at all, I found one strong
remedy, and I know that everyone will be disgusted with it, but it is the only one that
works:
{code}
@Override
protected void onPageActivated(DataBindingContext dbc) {
if(envViewer != null && envViewer.getControl() != null &&
!envViewer.getControl().isDisposed()) {
Object input = envViewer.getInput();
envViewer.setInput(null);
envViewer.setInput(input);
}
if(dataViewer != null && dataViewer.getControl() != null &&
!dataViewer.getControl().isDisposed()) {
Object input = dataViewer.getInput();
dataViewer.setInput(null);
dataViewer.setInput(input);
}
}
{code}
I remind that table fails update on its own only when it needs vertical scroll, so it is
entirely an UI problem, not model updating and not databinding.
Image metadata not refreshed after name change
----------------------------------------------
Key: JBIDE-21815
URL:
https://issues.jboss.org/browse/JBIDE-21815
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.Beta2
Reporter: Xavier Coulon
Steps to reproduce:
- open the *Deploy Docker Image* wizard
- input/search for {{jboss/infinispan-server:8.1.0.Final}}, then click on {{Next}}. The
*Deploy Configuration & Scalability* page should show a handful of metadata, including
{{INFINISPAN_VERSION = 8.1.0.Final}}
- go back to the previous page, *Deploy an Image* and now input/search for
{{jboss/wildfly:10.0.0.Final}} and click back on {{Next}} again.
- ASSERT: the metadata should have been updated
- FAILED: the metadata displayed correspond to the previously selected
{{jboss/infinispan-server:8.1.0.Final}} Docker image.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)