don't display videos in content-picking mode when only Pictures are requested
Bug #1349493 reported by
Bill Filler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gallery-app |
Fix Released
|
High
|
Ugo Riboni | ||
gallery-app (Ubuntu) |
Fix Released
|
High
|
Ugo Riboni |
Bug Description
When being invoked in content picking mode, we are allowing pictures and videos to be displayed and selected.
We need to honor the content type that is being requested. If only ContentType.
Steps to reproduce:
- open messaging-app
- create a new message
- click camera icon, which will invoke gallery app in picking mode
Expected results:
gallery should only display Pictures or allow Pictures to be selected
Actual results:
gallery allows Pictures or videos to be selected
Related branches
lp:~phablet-team/gallery-app/gallery-app-restrict-pick-content-type
- Bill Filler (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Olivier Tilloy: Approve
-
Diff: 620 lines (+171/-86)18 files modifiedrc/qml/OrganicView/OrganicMediaList.qml (+2/-0)
rc/qml/PickerScreen.qml (+3/-0)
src/content-communicator.cpp (+1/-1)
src/content-communicator.h (+1/-1)
src/core/view-collection.cpp (+12/-2)
src/core/view-collection.h (+12/-3)
src/gallery-application.cpp (+27/-4)
src/gallery-application.h (+7/-1)
src/qml/qml-event-collection-model.cpp (+25/-0)
src/qml/qml-event-collection-model.h (+1/-0)
src/qml/qml-event-overview-model.cpp (+6/-0)
src/qml/qml-event-overview-model.h (+1/-0)
src/qml/qml-media-collection-model.cpp (+12/-0)
src/qml/qml-media-collection-model.h (+1/-0)
src/qml/qml-view-collection-model.cpp (+49/-13)
src/qml/qml-view-collection-model.h (+11/-3)
tests/unittests/stubs/content-communicator_stub.cpp (+0/-57)
tests/unittests/video/CMakeLists.txt (+0/-1)
Changed in gallery-app: | |
milestone: | none → beta-freeze |
assignee: | nobody → Ugo Riboni (uriboni) |
importance: | Undecided → High |
Changed in gallery-app (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Ugo Riboni (uriboni) |
status: | New → Confirmed |
Changed in gallery-app: | |
status: | New → Confirmed |
tags: | added: rtm14 |
Changed in gallery-app: | |
status: | Confirmed → In Progress |
Changed in gallery-app (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in gallery-app: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This bug was fixed in the package gallery-app - 0.0.67+ 14.10.20140827- 0ubuntu1
--------------- 14.10.20140827- 0ubuntu1) utopic; urgency=low
gallery-app (0.0.67+
[ Ugo Riboni ]
* Filter the picker lists according to the content type that is being
requested by the content hub. (LP: #1349493)
-- Ubuntu daily release <email address hidden> Wed, 27 Aug 2014 20:29:06 +0000