Good evening,
i upgraded from version 12 to version 13 of smartgwt but i have an annoying problem that i can’t solve.
In each of my RibbonBar / RibbonGroup I have display problems during the first creation phase; if the page goes in the background and is put back in the foreground (it is refreshed) the display is corrected.
I am attaching 2 screens to give a better idea,
image 1 to creation
Can you clarify what is happening here: it sounds like you get Image #1 if you just call draw(), but then you get image #2 once you call redraw() on the same components, with no other change?
If so, this is very strange - can you show some of the code involved in this part of the application?
Hello,
the first image has just been drawn; then doing nothing but simply opening something else and then returning to the previously created mask I see everything correctly.
I am sending you in small video in order to be clearer. I also send you the piece of code of the Tab that you see in the video, the gwt.xml and the .html that integrate the v 13 pro
We have tried to reproduce the issue with no success based on the files you posted. However, we had to applied some adjustments to the code in the TestTab.java file in order to run and test it, because for example, there are various references to other classes in the it.studiors package.
Therefore, two things:
Did you test your app with the latest code of 13.0?
If you still see the problem with the latest code of 13.0, then we are going to need you to provide a minimal standalone app that reproduces the issue so that we can test it.
Sorry for the delay in responding;
I was able to make a new project and identify an anomalous situation.
If I change the visibility of a component that I have already added to the RibbonGroup before it is displayed,
I have the anomaly (see buttonCerca). I am attaching the wetransfer link of the project
From a quick look, this appears to be an entire project - please note we don’t accept that (see notes right below the reply box), because many, many things could be flawed in a complete project.
If you think that this “anomalous situation” is a framework bug, please put together a test case that demonstrates it (self-contained please).
We’ve fixed the issue where visibility changes after init but before draw() were not being caught, and made some refinements that should address the extra draw()s.
You can try out the changes as of today’s builds, dated November 17.