-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8.12.0 set a custom theme => page loading hangs with blinking progress indicator #12151
Comments
There has been a change in 8.12.0 what comes to programmatic theme change, as there was documented bug in earlier versions, see #11954 The symptoms documented are very similar to yours, with the difference that PreserveOnRefresh was not used in that scenario. The fix is https://github.com/vaadin/framework/pull/12043/files |
I managed to reproduce something like this once on my first try with both Chrome and Firefox, but after normal reload (without @PreserveOnRefresh, all other conditions match except I'm running the test on current master, which contains a few more changes on top of 8.12.0) it started working again, and after that I haven't been able to get the problem to happen again on either browser, so I'm not entirely certain that was actually the same issue that you reported. If the problem is still present for you in 8.12.1 (released last week), could you attach a simple test UI that reproduces the error state, so that I can give it a closer look? I'm also interested in what kinds of errors or warnings you might have in your browser console when the application gets stuck. |
Sorry for the delay, I'am very busy these days in projects.
|
Thank you! I'm sadly still unable to reproduce the issue, so can't really dig in deeper for now, but that's a good starting point. |
#12043 changed resync message sending to be deferred to queue. Now also the setting of the semaphor in message handler needs to be deferred to its right place. Otherwise there is possibility for a timing glitch. I.e. MessageHandler is set to resync handling mode before message is actually send. Fixes: #12151
I managed to reproduce this locally. It requires the combination of |
It seems I have the same problem with page-reloading ("page loading hangs with blinking progress") with Vaadin 8.12.1 |
…12178) #12043 changed resync message sending to be deferred to queue. Now also the setting of the semaphor in message handler needs to be deferred to its right place. Otherwise there is possibility for a timing glitch. I.e. MessageHandler is set to resync handling mode before message is actually send. Fixes: #12151
…12178) #12043 changed resync message sending to be deferred to queue. Now also the setting of the semaphor in message handler needs to be deferred to its right place. Otherwise there is possibility for a timing glitch. I.e. MessageHandler is set to resync handling mode before message is actually send. Fixes: #12151
…12178) (#12184) #12043 changed resync message sending to be deferred to queue. Now also the setting of the semaphor in message handler needs to be deferred to its right place. Otherwise there is possibility for a timing glitch. I.e. MessageHandler is set to resync handling mode before message is actually send. Fixes: #12151 Authored-by: Tatu Lund <[email protected]>
I confirm the issue is fixed. |
Great to hear, thank you for testing! |
8.11.3 and previous version work properly
The text was updated successfully, but these errors were encountered: