Merge lp:~phablet-team/gallery-app/avoid-thumbnailers-from-viewer into lp:gallery-app
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Arthur Mello on 2015-01-21 | ||||
| Approved revision: | 1132 | ||||
| Merged at revision: | 1130 | ||||
| Proposed branch: | lp:~phablet-team/gallery-app/avoid-thumbnailers-from-viewer | ||||
| Merge into: | lp:gallery-app | ||||
| Diff against target: |
114 lines (+20/-23) 5 files modified
rc/qml/MediaViewer/MediaViewer.qml (+0/-5) rc/qml/MediaViewer/SingleMediaViewer.qml (+1/-17) src/medialoader/photo-metadata.cpp (+11/-0) src/medialoader/photo-metadata.h (+5/-0) src/photo/photo-edit-thread.cpp (+3/-1) |
||||
| To merge this branch: | bzr merge lp:~phablet-team/gallery-app/avoid-thumbnailers-from-viewer | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Arthur Mello (community) | 2015-01-20 | Approve on 2015-01-21 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-01-20 | |
|
Review via email:
|
|||
Commit Message
Directly downscale the images for the viewer instead of asking the thumbnailer to do it (which it would do incorrectly)
Description of the Change
Directly downscale the images for the viewer instead of asking the thumbnailer to do it (which it would do incorrectly)
- 1131. By Ugo Riboni on 2015-01-20
-
Use the post-edit reload mechanism built into the photo editor instead of manually doing it from qml
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1131
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1132. By Ugo Riboni on 2015-01-20
-
Save the exif thumbnail after editing the image
| Arthur Mello (artmello) wrote : | # |
I just tested this branch with r204. The issue related with opening pictures does not happen anymore. Rotation (with undo and back to original) seems to work as expected.
But I think there are some issues with crop:
- On a first crop on an image, when we return to the picture we can still see the original image on the background with the loading spin until the cropped image is loaded. Besides that the first crop works;
- On subsequent crops on the same image there are some strange behaviors. The image displayed is the original one and not the result of the previous crop. The blue rectangle does not always have the size of the previous crop over the original image, on some cases it was smaller than the previously cropped area. Sometimes I was able to increase the cropped area over the previous one but sometimes that was not possible. Besides that, the results of the cropped area seems ok and the thumbnail seems to be updated as expected.
| Arthur Mello (artmello) wrote : | # |
Ok, so I tested the current trunk version of gallery on the same image release and the crop issues are all there. It does not seem to be introduced by this MR.
But I was not able to reproduce the original image on the background with the loading spin while the result of a crop is generated. Not sure if that is a desired behavior.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1132
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Ugo Riboni (uriboni) wrote : | # |
The crop issues (for crops after the first) are long standing.
They have been fixed in the external photo editor, which uses a different logic for crop entirely.
I would not bother with them and work on pushing the new editor ASAP after RTM
| Arthur Mello (artmello) wrote : | # |
Since neither of the issues are regression this MR does fix the problem and the code lgtm.

FAILED: Continuous integration, rev:1130 jenkins. qa.ubuntu. com/job/ gallery- app-ci/ 1092/ jenkins. qa.ubuntu. com/job/ gallery- app-vivid- amd64-ci/ 20 jenkins. qa.ubuntu. com/job/ gallery- app-vivid- armhf-ci/ 20 jenkins. qa.ubuntu. com/job/ gallery- app-vivid- armhf-ci/ 20/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ gallery- app-vivid- i386-ci/ 20 jenkins. qa.ubuntu. com/job/ generic- click-autopilot -vivid- touch/80 jenkins. qa.ubuntu. com/job/ generic- mediumtests- vivid/412/ console jenkins. qa.ubuntu. com/job/ generic- click-autopilot -runner- mako/720 jenkins. qa.ubuntu. com/job/ generic- click-builder- vivid-armhf/ 165 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 17222 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-amd64/ 461/console
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/gallery- app-ci/ 1092/rebuild
http://