Crop tool sometimes selects the wrong area
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gallery-app |
Fix Released
|
High
|
Ugo Riboni | ||
gallery-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Prerequisites:
A photo taken with the phones camera is present in the gallery
Steps to reproduce:
1. Open the Gallery application
2. Tap on a photo in Events
3. Select Crop from the edit menu
4. At this point check if the whole image is selected in the crop area, or just the middle part (this seems to happen mainly when a photo has never been opened before)
5. If just the middle part is selected, then you should be able to reproduce the following strange behaviour:
- Move the bottom handles up about halfway and let go, you'll see that the wrong area is selected
- Move the bottom handles down as far as possible. You'll see that it can't be dragged all the way down.
- Finish selecting an area and press Crop. The photo is cropped but at the wrong co-ordinates
current build number: 184
device name: krillin
channel: ubuntu-
last update: 2014-12-19 08:55:34
version version: 184
version ubuntu: 20141218
version device: 20141209-cae2b5f
version custom: 20141216-484-22-169
Related branches
- Arthur Mello (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 104 lines (+17/-7)5 files modifiedsrc/database/media-table.cpp (+5/-3)
src/database/media-table.h (+1/-1)
src/media-object-factory.cpp (+4/-1)
src/photo/photo.cpp (+2/-1)
tests/unittests/stubs/media-table_stub.cpp (+5/-1)
tags: | added: lt-category-visible |
Changed in gallery-app: | |
assignee: | nobody → Ugo Riboni (uriboni) |
importance: | Undecided → High |
Changed in gallery-app: | |
status: | New → In Progress |
Changed in gallery-app: | |
status: | In Progress → Fix Released |
This bug was fixed in the package gallery-app - 0.0.67+ 15.04.20150121. 1-0ubuntu1
--------------- 15.04.20150121. 1-0ubuntu1) vivid; urgency=low
gallery-app (0.0.67+
[ Bill Filler ]
* merge lp:~bfiller/gallery-app/sd-card-rules
[ Ubuntu daily release ]
* New rebuild forced
[ Ugo Riboni ]
* Directly downscale the images for the viewer instead of asking the
thumbnailer to do it (which it would do incorrectly) (LP: #1412442)
* Make sure the first time a photo is added to the database we read
the actual size save it to the database (LP: #1404170)
-- Ubuntu daily release <email address hidden> Wed, 21 Jan 2015 15:39:55 +0000