Merge lp:~mzanetti/ubuntu-clock-app/detect-qtmm-version into lp:ubuntu-clock-app
| Status: | Rejected |
|---|---|
| Rejected by: | Bartosz Kosiorek on 2015-12-10 |
| Proposed branch: | lp:~mzanetti/ubuntu-clock-app/detect-qtmm-version |
| Merge into: | lp:ubuntu-clock-app |
| Diff against target: |
74 lines (+38/-2) 3 files modified
app/alarm/AlarmSound.qml (+2/-2) app/components/AlarmAudio.qml (+35/-0) app/components/CMakeLists.txt (+1/-0) |
| To merge this branch: | bzr merge lp:~mzanetti/ubuntu-clock-app/detect-qtmm-version |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Albert Astals Cid (community) | Abstain on 2015-11-04 | ||
| Ubuntu Phone Apps Jenkins Bot | continuous-integration | Needs Fixing on 2015-10-28 | |
| Jenkins Bot | continuous-integration | Approve on 2015-10-27 | |
| Michał Sawicz (community) | Abstain on 2015-10-22 | ||
| Bartosz Kosiorek | 2015-10-21 | Needs Information on 2015-10-22 | |
|
Review via email:
|
|||
Commit Message
add a hack to detect the available QtMultimedia version
This is supposed to handle API changes in our QtMultimedia distro-patches
without requiring to go through a deprecation phase
Description of the Change
This would be the theoretical correct approach forward if we want the alarm sound preview to reflect the alarm volume. However, as the alarm volume seems to be restored to what the setting in the clock app is before the alarm is triggered, the current alarm role volume does not necessarily reflect the upcoming alarm's volume. Because of this, it is arguable how much sense it makes to include this workaround.
A simpler workaround to the api breakage problem, with roughly the same outcome can be found here:
https:/
- 402. By Michael Zanetti on 2015-10-21
-
make api a little better
| Bartosz Kosiorek (gang65) wrote : | # |
I tested it and it is working correctly for me on BQ E4.5 device.
It is nice improvement especially for QT 5.5 upgrade
One inline question below.
Do you think it could help in missing volume changes, during alarm preview?:
https:/
Ricardo Salveti already investigated that issue, unfortunately without success.
| Michael Zanetti (mzanetti) wrote : | # |
fixed the inline comment.
For me, the volume controls during preview were working fine. Probably the issue was because before it was using the "alert" role, which seems to be wrong in any case.
As written in the description, I'm not really sure if we should merge this branch, or instead just go with the much simpler https:/
The outcome is pretty much the same with the current audio system.
- 403. By Michael Zanetti on 2015-10-22
-
s/print/
console. log/
FAILED: Continuous integration, rev:403
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| Bartosz Kosiorek (gang65) wrote : | # |
@Michael
I would like to clarify, that volume preview is working perfectly on Desktop,
unfortunately it is not working on Phone.
https:/
This is very strange issue. Unfortunately these patches not resolve volume preview issue.
Do you have other idea, why it is not working on Phone?
| Michał Sawicz (saviq) wrote : | # |
@Bartosz, it's likely related to bug #1485522, and also the fact that indicator-datetime, AFAIK, sets the volume to the one set in the clock app when playing an alarm sound.
In any case, I vote for the competing approach for now - until we clear the whole volume situation up.
| Michał Sawicz (saviq) wrote : | # |
I'm abstainig from this after all, see my reasoning on the counter-proposal:
https:/
- 404. By Michael Zanetti on 2015-10-26
-
update check to 5.6, in case we'd use this branch
FAILED: Continuous integration, rev:404
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
PASSED: Continuous integration, rev:404
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| Nicholas Skaggs (nskaggs) wrote : | # |
Let me know if you have further troubles. I'll be fixing the messages jenkins leaves to be a bit saner.
FAILED: Continuous integration, rev:401
http://
Executed test runs:
Click here to trigger a rebuild:
http://
Unmerged revisions
- 404. By Michael Zanetti on 2015-10-26
-
update check to 5.6, in case we'd use this branch
- 403. By Michael Zanetti on 2015-10-22
-
s/print/
console. log/ - 402. By Michael Zanetti on 2015-10-21
-
make api a little better
- 401. By Michael Zanetti on 2015-10-21
-
add a hack to detect the available QtMultimedia version
This is supposed to handle API changes in our QtMultimedia distro-patches
without requiring to go through a deprecation phase


PASSED: Continuous integration, rev:402 /core-apps- jenkins. ubuntu. com/job/ clock-app- ci/10/ /core-apps- jenkins. ubuntu. com/job/ generic- update- mp/40/console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /core-apps- jenkins. ubuntu. com/job/ clock-app- ci/10/rebuild
https:/