Unity8 can't correctly display multi-surface apps (i.e. menus and tooltips)
Bug #1543467 reported by
Daniel van Vugt
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Nick Dedekind | ||
qtmir (Ubuntu) |
Fix Released
|
High
|
Daniel d'Andrada | ||
qtubuntu (Ubuntu) |
Fix Released
|
Undecided
|
Gerry Boland | ||
unity8 (Ubuntu) |
Fix Released
|
High
|
Daniel d'Andrada |
Bug Description
Unity8 can't display multi-surface apps (including menus and tooltips).
Fixing bug 1497085 was a great start. However instead of crashing Unity8 now just shows the most recently created window by the app in the apps /single window/, and stretches it too. When such a secondary window like a menu or tooltip closes, you never get back to the original app window. So existing apps still aren't quite usable yet.
Test case:
sudo apt-get install mir-demos
mir_demo_
Expected: Three windows (red, green, blue)
Observed: Only the blue window
You can also experience the same bug with lots of apps via: Xmir -rootless under Unity8.
Related branches
lp://qastaging/~dandrader/unity8/childWindows
- Gerry Boland (community): Approve
- Unity8 CI Bot: Needs Fixing (continuous-integration)
- Michael Zanetti: Pending requested
- Lukáš Tinkl: Pending requested
- Nick Dedekind: Pending requested
-
Diff: 1464 lines (+726/-108)31 files modifiedCMakeLists.txt (+1/-1)
debian/control (+3/-3)
plugins/WindowManager/TopLevelWindowModel.cpp (+36/-28)
plugins/WindowManager/TopLevelWindowModel.h (+2/-0)
plugins/WindowManager/Window.h (+0/-1)
qml/Components/WindowControlButtons.qml (+2/-0)
qml/Stage/ChildWindow.qml (+159/-0)
qml/Stage/ChildWindowRepeater.qml (+28/-0)
qml/Stage/ChildWindowTree.qml (+127/-0)
qml/Stage/DecoratedWindow.qml (+1/-2)
qml/Stage/MoveHandler.qml (+23/-18)
qml/Stage/Stage.qml (+50/-9)
qml/Stage/WindowControlsOverlay.qml (+21/-24)
qml/Stage/WindowDecoration.qml (+1/-0)
qml/Stage/WindowResizeArea.qml (+3/-2)
tests/mocks/Unity/Application/ApplicationInfo.cpp (+9/-1)
tests/mocks/Unity/Application/ApplicationInfo.h (+3/-0)
tests/mocks/Unity/Application/ApplicationManager.cpp (+9/-0)
tests/mocks/Unity/Application/MirSurface.cpp (+43/-0)
tests/mocks/Unity/Application/MirSurface.h (+11/-0)
tests/mocks/Unity/Application/MirSurfaceItem.cpp (+19/-4)
tests/mocks/Unity/Application/MirSurfaceListModel.h (+0/-1)
tests/mocks/Unity/Application/SurfaceManager.cpp (+15/-8)
tests/mocks/Unity/Application/SurfaceManager.h (+3/-1)
tests/mocks/Unity/Application/VirtualKeyboard.cpp (+5/-4)
tests/mocks/Unity/Application/resources/Kate.qml (+49/-0)
tests/mocks/Unity/Application/resources/KateDialog.qml (+48/-0)
tests/mocks/Unity/Application/resources/KateMenu.qml (+41/-0)
tests/mocks/Unity/Application/resources/surfaces.qrc (+3/-0)
tests/qmltests/Stage/ApplicationCheckBox.qml (+1/-1)
tests/qmltests/Stage/tst_WindowResizeArea.qml (+10/-0)
lp://qastaging/~gerboland/qtubuntu/add--more-surface-type-support
- Nick Dedekind (community): Approve
- Unity8 CI Bot: Approve (continuous-integration)
- Lukáš Tinkl (community): Needs Information
-
Diff: 535 lines (+264/-155)2 files modifiedsrc/ubuntumirclient/input.cpp (+2/-0)
src/ubuntumirclient/window.cpp (+262/-155)
Changed in qtmir: | |
status: | New → Triaged |
Changed in qtmir (Ubuntu): | |
status: | New → Triaged |
Changed in unity8 (Ubuntu): | |
status: | New → Triaged |
Changed in qtmir: | |
importance: | Undecided → High |
Changed in qtmir (Ubuntu): | |
importance: | Undecided → High |
Changed in unity8 (Ubuntu): | |
importance: | Undecided → High |
Changed in qtmir: | |
assignee: | nobody → Daniel d'Andrada (dandrader) |
Changed in qtmir (Ubuntu): | |
assignee: | nobody → Daniel d'Andrada (dandrader) |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Daniel d'Andrada (dandrader) |
Changed in qtmir: | |
status: | Triaged → In Progress |
Changed in qtmir (Ubuntu): | |
status: | Triaged → In Progress |
Changed in unity8 (Ubuntu): | |
status: | Triaged → In Progress |
tags: | added: xmir |
description: | updated |
Changed in qtmir (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in unity8 (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in qtmir: | |
assignee: | Daniel d'Andrada (dandrader) → nobody |
Changed in qtmir (Ubuntu): | |
assignee: | Daniel d'Andrada (dandrader) → nobody |
Changed in unity8 (Ubuntu): | |
assignee: | Daniel d'Andrada (dandrader) → nobody |
tags: | added: visual-quality |
summary: |
- Unity8 can't correctly display multi-surface apps (including menus and + Unity8 can't correctly display multi-surface apps (i.e. menus and tooltips) |
tags: | added: unity8-desktop |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 14 |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Nick Dedekind (nick-dedekind) |
Changed in canonical-devices-system-image: | |
milestone: | 14 → x1 |
Changed in qtubuntu: | |
status: | New → In Progress |
assignee: | nobody → Gerry Boland (gerboland) |
Changed in unity8 (Ubuntu): | |
assignee: | Nick Dedekind (nick-dedekind) → Daniel d'Andrada (dandrader) |
Changed in qtmir (Ubuntu): | |
assignee: | Nick Dedekind (nick-dedekind) → Daniel d'Andrada (dandrader) |
Changed in unity8 (Ubuntu): | |
status: | Triaged → In Progress |
tags: | added: resizing |
Changed in qtmir (Ubuntu): | |
status: | Triaged → Fix Released |
no longer affects: | qtmir |
Changed in qtubuntu: | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Triaged → Fix Released |
affects: | qtubuntu → qtubuntu (Ubuntu) |
To post a comment you must log in.
Still in progress?
This bug is the biggest blocker for using Xmir -rootless in Unity8.