gallery-app crashes when trying to delete multiple photos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gallery-app |
Fix Released
|
Critical
|
Arthur Mello | ||
gallery-app (Ubuntu) |
Fix Released
|
Critical
|
Arthur Mello | ||
gallery-app (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Mako #162
OOPS: https:/
On the main Events page when I try to delete multiple images from different days the app crashes.
TEST CASE:
1. Open the camera and take several photos (half a dozen)
2. Open the gallery
3. Long press the shape with the date of the day to select all the photos that have just been taken.
2. Tap 'Delete' in the toolbar
ACTUAL RESULT
the app crashes. see the attached .crash file.
EXPECTED RESULT
It doesn't crash
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: gallery-app (not installed)
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.3-0ubuntu2
Architecture: armhf
Date: Thu Jun 26 23:50:19 2014
InstallationDate: Installed on 2014-06-26 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140626-020204)
SourcePackage: gallery-app
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Bill Filler (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 812 lines (+175/-88)25 files modifiedrc/qml/EventsOverview.qml (+24/-1)
rc/qml/PhotosOverview.qml (+24/-1)
rc/qml/Utility/SelectionState.qml (+8/-0)
src/album/album-collection.cpp (+8/-6)
src/album/album-collection.h (+4/-2)
src/album/album.cpp (+5/-4)
src/album/album.h (+2/-1)
src/core/container-source.cpp (+7/-6)
src/core/container-source.h (+3/-2)
src/core/data-collection.cpp (+11/-10)
src/core/data-collection.h (+6/-4)
src/core/source-collection.cpp (+5/-4)
src/core/source-collection.h (+2/-1)
src/core/view-collection.cpp (+6/-5)
src/core/view-collection.h (+2/-1)
src/event/event-collection.cpp (+6/-4)
src/event/event-collection.h (+4/-2)
src/gallery-manager.cpp (+3/-3)
src/media/media-collection.cpp (+3/-2)
src/media/media-collection.h (+2/-1)
src/qml/qml-event-overview-model.cpp (+9/-8)
src/qml/qml-event-overview-model.h (+4/-2)
src/qml/qml-media-collection-model.cpp (+1/-1)
src/qml/qml-view-collection-model.cpp (+24/-16)
src/qml/qml-view-collection-model.h (+2/-1)
Changed in gallery-app: | |
importance: | Undecided → Critical |
Changed in gallery-app (Ubuntu): | |
assignee: | nobody → Arthur Mello (artmello) |
Changed in gallery-app: | |
assignee: | nobody → Arthur Mello (artmello) |
status: | New → In Progress |
Changed in gallery-app (Ubuntu): | |
status: | New → In Progress |
Changed in gallery-app: | |
importance: | Critical → High |
Changed in gallery-app (Ubuntu): | |
importance: | Critical → High |
tags: | added: pat |
Changed in gallery-app (Ubuntu): | |
importance: | High → Medium |
Changed in gallery-app: | |
importance: | High → Medium |
Changed in gallery-app (Ubuntu): | |
importance: | Medium → Critical |
tags: |
added: touch-2014-10-9 removed: touch-09-25 |
Changed in gallery-app: | |
importance: | Medium → Critical |
tags: |
added: touch-2014-10-09 removed: touch-2014-10-9 |
Changed in gallery-app (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in gallery-app: | |
status: | In Progress → Fix Released |
I just tested gallery-app from last image (rev 100) on nexus 4 and I was not able to reproduce the problem. I added a couple of images with different dates, selected some of them and removed. I repeated the process a couple of times and was not able to crash the application.
I was taking a look on the crash log and it does not point to any specific call from gallery. The stack log mentions some core functions but I was not able to find the exact reason of the problem.
Am I missing something during tests?