Currently, on plasma mobile, if you navigate from a page that contains contextual actions to a page without contextual actions and back, context drawer disappears. Looking for contextual actions in pageStack.layers.currentItem only when pageStack.layers.depth > 1, then checking pageStack.currentItem and finally, checking pageStack.lastVisibleItem, we ensure that we look for contextual actions in the most relevant page.
Details
Details
- Reviewers
mart - Commits
- R169:b897b37b254b: Prevent context drawer from disappearing
On mobile, navigate from a page that contains contextual actions to a page without contextual actions and back.
Before patching:
Context drawer disappears
After patching:
Context drawer is still visible
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.