[MGNLUI-132] Wrong z-index while switching to other running app Created: 01/Nov/12  Updated: 19/Jun/13  Resolved: 19/Jun/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Neutral
Reporter: Mikaël Geljić Assignee: Mikaël Geljić
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

ShellAppsViewport fades out still on top of zooming-in app transition. Compare this to running an app for the first time.

Here is what restoring a different running app triggers:

  • a 500ms zoom-in transition of the app within the AppsViewport.
  • a fade-out of the ShellAppsViewport

ShellAppsViewport has fixed z-index of 200.
AppsViewport has fixed z-index of 100.
Zooming effects force z-index above these two, at 300, such as for the AppPreloader.

This works for AppPreloader because it is attached to the RootPanel, but zooming apps does so inside the AppsViewport, hence having no chance to display above shell apps.

Additionnally, the curtain fade out when reactivating apps viewport lasts for 600ms (200ms delay + 400ms fade out). This means that even when zoom-in transition z-index is fixed here, we'll still see a small flicker of the curtain finishing fadeOut when app zoom-in completes.

Proposal:

  • AppsViewport may be z-index free (that's the bottom one anyway) so that zoom-in effects rise above shell apps.
  • curtain needs to be less than 200 (shell apps)
  • curtain delay is actually only useful when sliding up, not when fading.

Generated at Mon Feb 12 08:33:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.