[MGNLUI-4043] Since Vaadin update (7.7.0?) app-specific themes sometimes aren't applied Created: 21/Oct/16 Updated: 31/Oct/16 Resolved: 31/Oct/16 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.5 |
| Fix Version/s: | 5.5 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Aleksandr Pchelintcev | Assignee: | Aleksandr Pchelintcev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| 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
|
||||||||
| Sprint: | Basel 68 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
When admincentral starts-up with an app fragment specified (=> by default it displays some app instead of applauncher), the app theme is not applied right away. The reason is that by the time the method which is supposed to set up style injection is invoked, the app view is already in the component hierarchy. The method unfortunately instructs the style to be attached when the app view attaches => it never happens (until app re-start), since app is already attached. The solution would be to attach the stylesheet right away if the app view itself is attached and postpone it (like we do now) otherwise. |