Merge lp://qastaging/~fboucault/camera-app/camera-app-multi_selection into lp://qastaging/camera-app

Proposed by Florian Boucault
Status: Merged
Approved by: Bill Filler
Approved revision: 429
Merged at revision: 434
Proposed branch: lp://qastaging/~fboucault/camera-app/camera-app-multi_selection
Merge into: lp://qastaging/camera-app
Diff against target: 244 lines (+76/-72)
3 files modified
GalleryView.qml (+7/-68)
GalleryViewHeader.qml (+2/-2)
PhotogridView.qml (+67/-2)
To merge this branch: bzr merge lp://qastaging/~fboucault/camera-app/camera-app-multi_selection
Reviewer Review Type Date Requested Status
Bill Filler (community) Approve
PS Jenkins bot continuous-integration Needs Fixing
Florian Boucault Pending
Review via email: mp+243385@code.qastaging.launchpad.net

This proposal supersedes a proposal from 2014-10-31.

Commit message

Add support to multi selection on grid view when triggered by the user

Description of the change

Add support to multi selection on grid view when triggered by the user

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Florian Boucault (fboucault) wrote : Posted in a previous version of this proposal

Merge has conflicts

review: Needs Fixing
Revision history for this message
Florian Boucault (fboucault) wrote : Posted in a previous version of this proposal

Share and delete dialogs seem to be copy/paste code from elsewhere?

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Florian Boucault (fboucault) wrote : Posted in a previous version of this proposal

singleSelectionOnly needs to be set to false when activating multi selection by long pressing a photo.

review: Needs Fixing
Revision history for this message
Florian Boucault (fboucault) wrote : Posted in a previous version of this proposal

What was the point of not having the entire thumbnail area being selectable, ie. tapping anywhere in a photo thumbnail while in multi select mode to add/remove the photo from the selection? I can't remember.

Revision history for this message
Arthur Mello (artmello) wrote : Posted in a previous version of this proposal

> What was the point of not having the entire thumbnail area being selectable,
> ie. tapping anywhere in a photo thumbnail while in multi select mode to
> add/remove the photo from the selection? I can't remember.

We discussed during the sprint that having the option to view the full photo and not only the thumbnail during a multi selection would be a good feature. But we didn't have a final word if the small check square would be the best way to set a photo as selected.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Florian Boucault (fboucault) wrote : Posted in a previous version of this proposal

Looks good now, thanks.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote : Posted in a previous version of this proposal

I found a few problems with this MR in testing:

1) Long pressing an image causes the Share/Delete menu to be briefly shown then hidden
2) Select two images, then tap on a third one to view it. When you return to selection mode the previous selections are no longer selected as they should be. Then you can only single select from that point.
3) There should be a "select all" toggle button on the toolbar that toggles select all/select none. See address-book-app. This should perform the same way.
4) I found it's too easy to accidentally tap the photo to open it when I was trying to check the selection button. Maybe leave the visual size of the selection box the same but make a bigger touch area around such that we can increase the hit size without having to make the box bigger visually.

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Arthur Mello (artmello) wrote : Posted in a previous version of this proposal

All the issues commented by Bill seems to be fixed based on the tests I did on the device. Related with the issue #4 I increased the MouseArea for toggling photo selection to be the full top right quarter of the thumbnail (but did not increased the selection icon itself). Please, let me know if that fix the problem.

Revision history for this message
Florian Boucault (fboucault) wrote : Posted in a previous version of this proposal

It looks like it's working fine now. Code is as expected.

review: Approve
Revision history for this message
Bill Filler (bfiller) wrote : Posted in a previous version of this proposal

works well, but found one small issue. The share action should be disabled if multiple pictures selected as sharing is currently only supported for a single picture in the clients that support it (messaging-app and facebook)

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:427
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~fboucault/camera-app/camera-app-multi_selection/+merge/243385/+edit-commit-message

http://jenkins.qa.ubuntu.com/job/camera-app-ci/327/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/camera-app-vivid-amd64-ci/23
    SUCCESS: http://jenkins.qa.ubuntu.com/job/camera-app-vivid-armhf-ci/23
        deb: http://jenkins.qa.ubuntu.com/job/camera-app-vivid-armhf-ci/23/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/camera-app-vivid-i386-ci/23
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-click-autopilot-vivid-touch/39
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-vivid/264
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-click-autopilot-runner-mako/682
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-click-builder-vivid-armhf/59
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/16396
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-vivid/228
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-amd64/270
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-amd64/270/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/camera-app-ci/327/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote :

Found another issue:
- have at least 3 pictures in photo roll
- enter selection mode
- select the first two pictures
- click on the third picture which opens it fully
- now perform an action on using the toolbar, either Share or Delete

Expected result:
the current picture which is open should be shared or deleted

Actual result:
the selections from selection view are operated on (shared or deleted)

review: Needs Fixing
428. By Florian Boucault

When in slideshow view and selection mode, make sure that actions correspond to the presently shown photo instead of to the current selection.

429. By Florian Boucault

Fixed binding loop

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote :

happroved

review: Approve
430. By Florian Boucault

Merged from trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches