Trusted prompts make application inactive: Qt.application.active == false
Bug #1483752 reported by
Florian Boucault
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
kevin gunn | ||
unity8 (Ubuntu) |
Fix Released
|
Critical
|
Josh Arenson |
Bug Description
When a trusted prompt shows up the application becomes "inactive", concretely QML applications receive a signal that Qt.application.
This is will be an issue for example in the case of the camera-app trying to start recording a video, a pulseaudio trusted prompt will show up to ask for permission to record from the microphone but the camera-app believing that it's become inactive will immediately stop the recording.
Related branches
lp:~dandrader/unity8/mirSurface
Superseded
for merging
into
lp:unity8
- Michael Zanetti (community): Needs Fixing
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 2120 lines (+813/-481)28 files modifiedCMakeLists.txt (+1/-1)
debian/control (+1/-1)
qml/Components/InputMethod.qml (+26/-21)
qml/Shell.qml (+0/-19)
qml/Stages/ApplicationWindow.qml (+2/-1)
qml/Stages/SurfaceContainer.qml (+38/-21)
tests/mocks/Unity/Application/ApplicationInfo.cpp (+9/-1)
tests/mocks/Unity/Application/ApplicationInfo.h (+4/-6)
tests/mocks/Unity/Application/ApplicationTestInterface.cpp (+3/-3)
tests/mocks/Unity/Application/ApplicationTestInterface.h (+3/-3)
tests/mocks/Unity/Application/CMakeLists.txt (+4/-1)
tests/mocks/Unity/Application/MirSurface.cpp (+182/-0)
tests/mocks/Unity/Application/MirSurface.h (+113/-0)
tests/mocks/Unity/Application/MirSurfaceItem.cpp (+193/-100)
tests/mocks/Unity/Application/MirSurfaceItem.h (+41/-76)
tests/mocks/Unity/Application/MirSurfaceItem.qml (+2/-0)
tests/mocks/Unity/Application/MirSurfaceItemModel.h (+0/-35)
tests/mocks/Unity/Application/Session.cpp (+22/-22)
tests/mocks/Unity/Application/Session.h (+10/-6)
tests/mocks/Unity/Application/SurfaceManager.cpp (+14/-17)
tests/mocks/Unity/Application/SurfaceManager.h (+8/-11)
tests/mocks/Unity/Application/VirtualKeyboard.cpp (+5/-11)
tests/mocks/Unity/Application/VirtualKeyboard.h (+4/-12)
tests/mocks/Unity/Application/plugin.cpp (+11/-8)
tests/qmltests/Stages/tst_ApplicationWindow.qml (+39/-29)
tests/qmltests/Stages/tst_SurfaceContainer.qml (+26/-32)
tests/qmltests/tst_OrientedShell.qml (+28/-20)
tests/qmltests/tst_Shell.qml (+24/-24)
Changed in unity8 (Ubuntu): | |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
milestone: | none → ww34-2015 |
importance: | Undecided → Critical |
Changed in unity8 (Ubuntu): | |
importance: | High → Critical |
Changed in canonical-devices-system-image: | |
assignee: | nobody → kevin gunn (kgunn72) |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Josh Arenson (josharenson) |
tags: | added: lt-blocker lt-category-visible |
Changed in unity8 (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
To be correct, in the situation you described, Qt.application. active should remain true, but the camera window will be unfocused. Ok?