Merge lp://qastaging/~uriboni/camera-app/share-multiple-items into lp://qastaging/camera-app/staging

Proposed by Ugo Riboni
Status: Merged
Approved by: Florian Boucault
Approved revision: 670
Merged at revision: 665
Proposed branch: lp://qastaging/~uriboni/camera-app/share-multiple-items
Merge into: lp://qastaging/camera-app/staging
Diff against target: 396 lines (+243/-20)
8 files modified
GalleryView.qml (+1/-3)
PhotogridView.qml (+30/-4)
UnableShareDialog.qml (+34/-0)
camera-app.qml (+1/-1)
debian/control (+3/-0)
tests/autopilot/camera_app/tests/test_gallery_view.py (+85/-11)
tests/unittests/CMakeLists.txt (+1/-1)
tests/unittests/tst_PhotogridView.qml (+88/-0)
To merge this branch: bzr merge lp://qastaging/~uriboni/camera-app/share-multiple-items
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Florian Boucault (community) Needs Fixing
Review via email: mp+287895@code.qastaging.launchpad.net

Commit message

Allow sharing multiple files, except if they are mixed content

Description of the change

Allow sharing multiple files, except if they are mixed content

To post a comment you must log in.
Revision history for this message
Florian Boucault (fboucault) wrote :

code in PhotogridView.qml/onTriggered could be written in a clearer way, for example:

onTriggered: {
  if (selectedFilesMixedTypes()) {
    PopupUtils.open(unableShareDialogComponent).parent = photogridView;
  } else {
    PopupUtils.open(sharePopoverComponent).parent = photogridView;
  }
}

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

In some cases when selecting 3 photos camera thinks I have mixed type contents. The function selectedFilesMixedTypes() should be unit tested to root out these bugs.

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

Going to messaging app and trying to share pictures via the camera app: unable to tick more than 1 picture. Without this patch, it works fine.

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
663. By Ugo Riboni

Fix and simplify mixed media detection, add unit tests for it

664. By Ugo Riboni

Use single selection mode only in grid view if the content hub explicitly asks for it

665. By Ugo Riboni

Filter the grid view according to the content type requested by content hub

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)
666. By Ugo Riboni

Allow unit tests to find c++ plugin when run out of tree

667. By Ugo Riboni

Fix PEP8 issue

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
668. By Ugo Riboni

Add build dependencies needed for unit tests

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
669. By Ugo Riboni

Merge parent branch

670. By Ugo Riboni

Fix flake8 errors

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

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