Save changes

Bug #1367405 reported by Fabio Zaramella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Foto
Fix Committed
Medium
Erasmo Marín

Bug Description

If you open a photo from Foto or with the viewer and modify it (at the moment just rotate it) the changes should be automatically savedm at the moment the photo rotate but when you close foto notting changed :p

Changed in foto:
importance: Undecided → Medium
Changed in foto:
status: New → Confirmed
milestone: none → foto-1.0
Revision history for this message
Erasmo Marín (erasmo-marin) wrote :

Right now, rotations are not being loaded from the metadata, so, to fix this, I have to:

1) Implement a method to extract rotations from metadata
2) Implement a method to save rotations in metadata
3) Use it in the Cairo Picture WIdget (I need a new name for that widget hehe)

For other kind of editions that can't be saved in the metadata is more work, because I think it's not that easy as editing a pixbuf and save it, becuse the metadata will be lost (not sure of this). So, a solution is to implement a save() method in Photo.vala that extract all the metadata, replaces the file and then asign the extracted metadata to the new file.

Changed in foto:
assignee: nobody → Erasmo Marín (erasmo-marin)
Revision history for this message
Erasmo Marín (erasmo-marin) wrote :

Now the rotations are saved, but we will need to save the rotation in the database to reflect the changes in the collection page.

Changed in foto:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.