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

Proposed by Arthur Mello
Status: Superseded
Proposed branch: lp://qastaging/~artmello/camera-app/camera-app-multi_selection
Merge into: lp://qastaging/camera-app
Diff against target: 748 lines (+409/-105)
9 files modified
CameraApp/foldersmodel.cpp (+8/-0)
CameraApp/foldersmodel.h (+1/-0)
DeleteDialog.qml (+47/-0)
GalleryView.qml (+101/-6)
GalleryViewHeader.qml (+27/-2)
PhotogridView.qml (+44/-6)
SharePopover.qml (+61/-0)
SlideshowView.qml (+18/-54)
tests/autopilot/camera_app/tests/test_gallery_view.py (+102/-37)
To merge this branch: bzr merge lp://qastaging/~artmello/camera-app/camera-app-multi_selection
Reviewer Review Type Date Requested Status
Bill Filler (community) Needs Fixing
Florian Boucault (community) Approve
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+240320@code.qastaging.launchpad.net

This proposal has been superseded by a proposal from 2014-12-02.

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 :
review: Needs Fixing (continuous-integration)
Revision history for this message
Florian Boucault (fboucault) wrote :

Merge has conflicts

review: Needs Fixing
Revision history for this message
Florian Boucault (fboucault) wrote :

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

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Florian Boucault (fboucault) wrote :

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 :

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 :

> 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 :
review: Needs Fixing (continuous-integration)
Revision history for this message
Florian Boucault (fboucault) wrote :

Looks good now, thanks.

review: Approve
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 :

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 :
review: Needs Fixing (continuous-integration)
429. By Arthur Mello

Merge with trunk

430. By Arthur Mello

Does not display the actionsDrawer while initializing it

431. By Arthur Mello

Does not chamge the single selection property from model after viewing an image on select mode

432. By Arthur Mello

Add a select all button when at the selectionMode in the grid view

433. By Arthur Mello

Expand the MouseArea for toggling select on the photo grid

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Arthur Mello (artmello) wrote :

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 :

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

review: Approve
Revision history for this message
Bill Filler (bfiller) wrote :

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

Unmerged revisions

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