[MGNLUI-377] Action bar has corrupted layout during app switch transition. Created: 07/Dec/12 Updated: 11/Feb/13 Resolved: 19/Dec/12 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.0 |
| Fix Version/s: | 5.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Christopher Zimmermann | Assignee: | Samuli Penttilä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | frontend | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Description |
|
This is a followup ticket to |
| Comments |
| Comment by Samuli Penttilä [ 13/Dec/12 ] |
|
Fixed by letting layouts calculate itself first and animate later. User may see randomly target app switching first and then animation take place depending how fast web browser is able to render. This is the best that can be done with small changes. |
| Comment by Christopher Zimmermann [ 17/Dec/12 ] |
|
It works in my testing but we must prevent that: "User may witness switching app flicking shortly before the animation."
The vaadin size calculation should work then, and it would not be possible to see the app before the deferred animation started. Then I think it would be fare to remove the "this is a hack" comment. |
| Comment by Samuli Penttilä [ 19/Dec/12 ] |
|
Used that approach with small modifications. Starting from scale 0 would break size calculations but setting opacity to 0 will do the trick. By doing that the app flicking is gone and instead there is background visible what would be desired start point of animation anyway. |