Port to upstreamed versions of Audio Role patch
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Ubuntu Clock App |
High
|
Michael Zanetti | ||
| | dropping-letters (Ubuntu) |
Undecided
|
Unassigned | ||
| | media-hub (Ubuntu) |
Undecided
|
Jim Hodapp | ||
| | pulseaudio (Ubuntu) |
Undecided
|
David Henningsson | ||
| | qtubuntu-camera (Ubuntu) |
High
|
Timo Jyrinki | ||
| | qtubuntu-media (Ubuntu) |
High
|
Timo Jyrinki | ||
| | telephony-service (Ubuntu) |
Undecided
|
Gustavo Pichorim Boiko | ||
| | ubuntu-clock-app (Ubuntu) |
Undecided
|
Unassigned | ||
| | unity8 (Ubuntu) |
High
|
Unassigned | ||
Bug Description
The Qt 5.5 packages at https:/
There are some differences in the Audio Role patch compared to the version on vivid-overlay PPA that requires changes.
Qt 5.5 targets landing soon after xenial opens.
For reference,
Old API: http://
New, upstreamed API: http://
More information about Qt 5.5 at https:/
The plan (2015-11-02):
Patch some components to work with both old API & Qt 5.4 + new API & Qt 5.5 - qtubuntu-camera, qtubuntu-media to detect at compile time and Unity 8 at runtime.
Pulseaudio and media-hub would land only to xenial, switching to the new API as part of the Qt 5.5 silo.
Clock and dropping-letters drop the audio role usage as it's not supposed to be used in those.
Related branches
- Jim Hodapp: Approve (code) on 2015-11-02
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-10-22
-
Diff: 118 lines (+42/-0)4 files modifiedsrc/aal/aalmediaplayercontrol.cpp (+8/-0)
src/aal/aalmediaplayercontrol.h (+5/-0)
src/aal/aalmediaplayerservice.cpp (+24/-0)
src/aal/aalmediaplayerservice.h (+5/-0)
- Jim Hodapp: Pending (code) requested 2015-11-25
- PS Jenkins bot: Pending (continuous-integration) requested 2015-11-25
-
Diff: 15 lines (+4/-0)1 file modifiedsrc/aalimagecapturecontrol.cpp (+4/-0)
- Jim Hodapp: Approve (code) on 2015-10-21
- PS Jenkins bot: Approve (continuous-integration) on 2015-10-08
-
Diff: 15 lines (+4/-0)1 file modifiedsrc/aalimagecapturecontrol.cpp (+4/-0)
- Jenkins Bot: Needs Fixing (continuous-integration) on 2015-11-10
- Ubuntu Phone Apps Jenkins Bot: Needs Fixing (continuous-integration) on 2015-10-28
- Jim Hodapp (community): Approve (code) on 2015-10-21
- Dropping Letters developers: Pending requested 2015-10-21
-
Diff: 33 lines (+0/-4)1 file modifieddropping-letters.qml (+0/-4)
- Albert Astals Cid (community): Abstain on 2015-11-04
- Ubuntu Phone Apps Jenkins Bot: Needs Fixing (continuous-integration) on 2015-10-28
- Jenkins Bot: Approve (continuous-integration) on 2015-10-27
- Michał Sawicz (community): Abstain on 2015-10-22
- Bartosz Kosiorek: Needs Information on 2015-10-22
-
Diff: 74 lines (+38/-2)3 files modifiedapp/alarm/AlarmSound.qml (+2/-2)
app/components/AlarmAudio.qml (+35/-0)
app/components/CMakeLists.txt (+1/-0)
- Ubuntu Phone Apps Jenkins Bot: Needs Fixing (continuous-integration) on 2015-10-28
- Michał Sawicz (community): Abstain on 2015-10-22
- Bartosz Kosiorek: Needs Information on 2015-10-22
- Jim Hodapp (community): Needs Information on 2015-10-22
- Jenkins Bot: Approve (continuous-integration) on 2015-10-21
-
Diff: 11 lines (+0/-1)1 file modifiedapp/alarm/AlarmSound.qml (+0/-1)
- Michał Sawicz: Approve on 2015-11-04
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-11-02
- Timo Jyrinki: Pending requested 2015-10-26
-
Diff: 112 lines (+45/-7)4 files modifiedqml/Components/NotificationAudio.qml (+42/-0)
qml/Components/ScreenGrabber.qml (+1/-3)
qml/Notifications/Notification.qml (+2/-3)
tests/qmltests/Notifications/tst_OptionToggle.qml (+0/-1)
- Gustavo Pichorim Boiko (community): Approve on 2015-12-04
- PS Jenkins bot: Approve (continuous-integration) on 2015-12-02
-
Diff: 27 lines (+8/-0)1 file modifiedlibtelephonyservice/ringtone.cpp (+8/-0)
| Changed in media-hub (Ubuntu): | |
| importance: | Undecided → Medium |
| summary: |
- Port to upstreamed versions of QML Playlist and Audio Role + Port to upstreamed versions of Audio Role patch |
| Timo Jyrinki (timo-jyrinki) wrote : | #1 |
| Jim Hodapp (jhodapp) wrote : | #2 |
This change affects qtubuntu-media and I would expect it to not compile without updates to reflect the upstream changes to the audio role patch that was already previously submitted.
| description: | updated |
| affects: | media-hub (Ubuntu) → qtubuntu-media (Ubuntu) |
| Changed in qtubuntu-media (Ubuntu): | |
| importance: | Medium → High |
| Timo Jyrinki (timo-jyrinki) wrote : | #3 |
This would seem to affect Unity 8 too, and is currently blocking starting up Unity 8 on Qt 5.5 (after hacking around a few other problems):
file://
Shell {
^
file://
^
file://
delegate: Notification {
file://
^
| Timo Jyrinki (timo-jyrinki) wrote : | #4 |
The upstreamed version is at http://
So for example s/audioRole/Role/ under Audio, and different MediaPlayer.* roletypes.
| Timo Jyrinki (timo-jyrinki) wrote : | #5 |
Qt Ubuntu Media builds and seems to run with the MP now attached to this bug report.
The Unity 8 starts if I comment out the two offending lines from Notifications/
For some reason I was not able to figure out how they should be changed immediately to set the role without getting some QML error. I changed the backported qtmultimedia patch a bit to state 5.5 - https:/
| Timo Jyrinki (timo-jyrinki) wrote : | #6 |
For Unity 8, I tried Role: MediaPlayer.
| Changed in qtubuntu-media (Ubuntu): | |
| status: | New → In Progress |
| Timo Jyrinki (timo-jyrinki) wrote : | #7 |
Also needed is qtubuntu-camera.
| Changed in unity8 (Ubuntu): | |
| importance: | Undecided → High |
| Changed in qtubuntu-camera (Ubuntu): | |
| importance: | Undecided → High |
| Changed in qtubuntu-camera (Ubuntu): | |
| status: | New → In Progress |
| Changed in qtubuntu-camera (Ubuntu): | |
| assignee: | nobody → Timo Jyrinki (timo-jyrinki) |
| Changed in qtubuntu-media (Ubuntu): | |
| assignee: | nobody → Timo Jyrinki (timo-jyrinki) |
| Timo Jyrinki (timo-jyrinki) wrote : | #8 |
Regarding the Unity 8's audioRole usage from QML:
---
Component {
name: "QDeclarativeAudio"
prototype: "QObject"
exports: ["QtMultimedia/
...
Property { name: "audioRole"; revision: 1; type: "AudioRole" }
---
So I guess it should be available with audioRole = MediaPlayer.
| Changed in unity8 (Ubuntu): | |
| status: | New → Triaged |
| assignee: | nobody → Albert Astals Cid (aacid) |
| Jim Hodapp (jhodapp) wrote : | #9 |
I'm not sure I understand why it's blocked because of revision 1? I'm not familiar enough with how the declarative object exporting works in regard to revisions. Is it blocked because it's exporting as revision 1 of the parent object, which is QDeclarativeAudio?
| description: | updated |
| description: | updated |
| Changed in ubuntu-clock-app: | |
| status: | New → In Progress |
| importance: | Undecided → High |
| assignee: | nobody → Michael Zanetti (mzanetti) |
| Changed in unity8 (Ubuntu): | |
| status: | Triaged → In Progress |
| Changed in pulseaudio (Ubuntu): | |
| assignee: | nobody → David Henningsson (diwic) |
| Changed in media-hub (Ubuntu): | |
| assignee: | nobody → Jim Hodapp (jhodapp) |
| Timo Jyrinki (timo-jyrinki) wrote : | #10 |
Assigned pulseaudio part to David with a tip from Jim. We at least to know if pulseaudio needs to be changed for this or not.
| description: | updated |
| description: | updated |
| Launchpad Janitor (janitor) wrote : | #11 |
This bug was fixed in the package unity8 - 8.11+16.
---------------
unity8 (8.11+16.
[ Albert Astals Cid ]
* Add an Item that proxies for old and new audio roles (LP: #1493851)
* CroppedImageMin
property "imageAspectRatio"'
* Make the scope settings list scroll to text visible area (LP:
#1499084)
* Move to importing QtQuick 2.4 & friends
* Use SDK 1.3 across all files (LP: #1503498, #1508363, #1449628)
[ Andrea Cimitan ]
* Add sharing widget to zoomable image and video playback
* Make zoomable and video playback widgets edge to edge
* Updated all 1.3 UbuntuShape to use new APIs where possible
* Use SDK 1.3 across all files (LP: #1503498, #1508363, #1449628)
[ CI Train Bot ]
* Resync trunk.
[ Christopher Lee ]
* Quick spelling fix in process control output.
[ Daniel d'Andrada ]
* Enable support for overriding application orientations based on
device type (LP: #1478637)
* Use SDK 1.3 across all files (LP: #1503498, #1508363, #1449628)
* Use SDK 1.3 across all files (LP: #1503498, #1508363, #1449628)
[ Josh Arenson ]
* Enable support for overriding application orientations based on
device type (LP: #1478637)
[ Michael Terry ]
* Avoid showing the shutdown dialog when turning on the screen if your
device is under heavy load. (LP: #1508563)
* Handle lifecycle policy exceptions ourselves, instead of letting
qtmir do it for us and allow non-Touch apps to opt-out of the Touch
lifecycle.
[ Michael Zanetti ]
* Fixes for the panel buttons (LP: #1510360, #1504269, #1431566,
#1443319)
* Use SDK 1.3 across all files (LP: #1503498, #1508363, #1449628)
[ Michał Sawicz ]
* Add missing copyright to Cursor.qml
* Enable support for overriding application orientations based on
device type (LP: #1478637)
* Support server->client visibility change to stop rendering
(lp:#1475678) (LP: #1475678)
[ Nick Dedekind ]
* Support server->client visibility change to stop rendering
(lp:#1475678) (LP: #1475678)
-- Michał Sawicz <email address hidden> Wed, 04 Nov 2015 14:58:41 +0000
| Changed in unity8 (Ubuntu): | |
| status: | In Progress → Fix Released |
Fix committed into lp:ubuntu-clock-app at revision 411, scheduled for release in ubuntu-clock-app, milestone 3.7
| Changed in ubuntu-clock-app: | |
| status: | In Progress → Fix Committed |
| Timo Jyrinki (timo-jyrinki) wrote : | #13 |
There doesn't seem to be anything explicitly off even without updating media-hub and pulseaudio, so therefore marking them as needing more information. Do they need to be patched and if, how?
| Changed in media-hub (Ubuntu): | |
| status: | New → Incomplete |
| Changed in pulseaudio (Ubuntu): | |
| status: | New → Incomplete |
| Jim Hodapp (jhodapp) wrote : | #14 |
I'm currently in process of emailing with mpt about how we should handle this for media-hub and pulseaudio. I just sent this out yesterday, so I don't know his thoughts on this quite yet.
| Changed in dropping-letters (Ubuntu): | |
| status: | New → Fix Committed |
| Changed in ubuntu-clock-app (Ubuntu): | |
| status: | New → Fix Committed |
| Changed in qtubuntu-camera (Ubuntu): | |
| status: | In Progress → Fix Committed |
| Changed in ubuntu-clock-app: | |
| status: | Fix Committed → Fix Released |
| Changed in ubuntu-clock-app (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Changed in telephony-service (Ubuntu): | |
| assignee: | nobody → Gustavo Pichorim Boiko (boiko) |
| Launchpad Janitor (janitor) wrote : | #15 |
This bug was fixed in the package qtubuntu-camera - 0.3.3+16.
---------------
qtubuntu-camera (0.3.3+
[ Florian Boucault ]
* New release: Support the new AudioRole API in addition to the old
(LP: #1493851) (LP: #1450346) Make it possible to set resolution at
application startup by not Don't reset the zoom level when only
switching recording mode. Allow disabling shutter sound via the
running process having set a QSettings key. Query the supported
flash modes directly from Android instead of hardcoding them. Enable
zoom when in video recording mode, if supported by hardware. Ensure
the flash is correctly set on recording mode switch added:
.qmake.conf (LP: #1450346, #1493851)
[ Timo Jyrinki ]
* New release: Support the new AudioRole API in addition to the old
(LP: #1493851) (LP: #1450346) Make it possible to set resolution at
application startup by not Don't reset the zoom level when only
switching recording mode. Allow disabling shutter sound via the
running process having set a QSettings key. Query the supported
flash modes directly from Android instead of hardcoding them. Enable
zoom when in video recording mode, if supported by hardware. Ensure
the flash is correctly set on recording mode switch added:
.qmake.conf (LP: #1450346, #1493851)
[ Ugo Riboni ]
* New release: Support the new AudioRole API in addition to the old
(LP: #1493851) (LP: #1450346) Make it possible to set resolution at
application startup by not Don't reset the zoom level when only
switching recording mode. Allow disabling shutter sound via the
running process having set a QSettings key. Query the supported
flash modes directly from Android instead of hardcoding them. Enable
zoom when in video recording mode, if supported by hardware. Ensure
the flash is correctly set on recording mode switch added:
.qmake.conf (LP: #1450346, #1493851)
-- Florian Boucault <email address hidden> Wed, 02 Dec 2015 10:41:30 +0000
| Changed in qtubuntu-camera (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Launchpad Janitor (janitor) wrote : | #16 |
This bug was fixed in the package telephony-service - 0.1+16.
---------------
telephony-service (0.1+16.
[ CI Train Bot ]
* New rebuild forced.
* Resync trunk. added: po/be.po
[ Tiago Salem Herrmann ]
* Fill notifications with attachments info when no text is received.
(LP: #1517654)
* Improve notifications on multi-sim devices. (LP: #1487528, #1460301)
-- Tiago Salem Herrmann <email address hidden> Mon, 07 Dec 2015 17:55:49 +0000
| Changed in telephony-service (Ubuntu): | |
| status: | New → Fix Released |
| Launchpad Janitor (janitor) wrote : | #17 |
This bug was fixed in the package qtubuntu-media - 0.7.1+16.
---------------
qtubuntu-media (0.7.1+
[ Timo Jyrinki ]
* Port to the new Audio Role API (LP: #1493851) (LP: #1493851)
-- CI Train Bot <email address hidden> Wed, 04 Nov 2015 08:31:35 +0000
| Changed in qtubuntu-media (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in dropping-letters (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| tags: | added: pulse-touch |
| Changed in unity8 (Ubuntu): | |
| assignee: | Albert Astals Cid (aacid) → nobody |


These are the build logs of qtubuntu-media against the new Qt 5.5 (+ patches) in 012:
https:/ /launchpad. net/~ci- train-ppa- service/ +archive/ ubuntu/ landing- 012/+sourcepub/ 5379430/ +listing- archive- extra
"error: 'QMediaPlayer: :AudioRole' has not been declared"