Merge lp://qastaging/~franxesk/gallery-app/duplicates-feature into lp://qastaging/gallery-app
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~franxesk/gallery-app/duplicates-feature |
Merge into: | lp://qastaging/gallery-app |
Diff against target: |
682 lines (+291/-31) 15 files modified
rc/qml/Components/DuplicatesDialog.qml (+107/-0) rc/qml/GalleryApplication.qml (+11/-1) rc/sql/9.sql (+3/-0) src/database/database.cpp (+5/-0) src/database/media-table.cpp (+74/-6) src/database/media-table.h (+8/-3) src/gallery-manager.cpp (+27/-3) src/gallery-manager.h (+6/-1) src/media-object-factory.cpp (+25/-6) src/media-object-factory.h (+3/-1) src/media/media-monitor.cpp (+4/-4) src/media/media-monitor.h (+2/-2) tests/unittests/mediaobjectfactory/tst_mediaobjectfactory.cpp (+2/-1) tests/unittests/stubs/gallery-manager_stub.cpp (+7/-1) tests/unittests/stubs/media-table_stub.cpp (+7/-2) |
To merge this branch: | bzr merge lp://qastaging/~franxesk/gallery-app/duplicates-feature |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Günter Schwann (community) | Needs Fixing | ||
Review via email:
|
Commit message
Start implementing duplicates' detection feature.
Description of the change
Start implementing duplicates' detection feature.
Unmerged revisions
- 891. By Francisco Merino
-
- Removed old comments.
- Reallocated warning info about the duplicates' absolute filepaths.
- Set max values to the image's dimensions to be shown. - 890. By Francisco Merino
-
Updated the 'DuplicatesDialog' dialog in order to set fixed a fixed width
for the labels showing the absolute filepaths.Removed the 'DuplicatesPath
sDialog' because it's not needed anymore. - 889. By Francisco Merino
-
Added the removeFile method to the stub.
To-Do:
- Set fixed dimensions to the dialog element in DuplicatesDialog.
- Create a method to search for duplicates on the db in order to
detect duplicates already stored in the db. - 888. By Francisco Merino
-
Updated the DuplicatesDialog in order to show the key info just in one
dialog and ask the user about removing or keeping the duplicate media. - 887. By Francisco Merino
-
Merging latest changes from trunk.
- 886. By Francisco Merino
-
I've finally been able to show the filenames using a ListModel.
I'm still unable to give a proper dimmensions to the dialog. - 885. By Francisco Merino
-
At the moment, the duplicates' detection mechanism is able to
detect one at a time, because the system doesn't allow the user
to include the duplicate into the database.Included a new dialog to notify the user about the paths
of the duplicate and original pictures. - 884. By Francisco Merino
-
Trying to show the duplicate image inside the DuplicatesDialog.
- 883. By Francisco Merino
-
Updated the communication between GalleryApplication and DuplicatesDialog
in order to share information between each other. - 882. By Francisco Merino
-
Merging latest changes from trunk.
51 + Image { qt-project. org/doc/ qt-5.1/ qtquick/ qml-qtquick2- image.html# sourceSize- prop
Please set the source size for that image to the size of that item.
http://
Big images won't be shown otherwise (exceeding the max. GL texture size), and for performance reasons.
138 + console. log("duplicates have been found"); log("filename of the duplicate: " + newFilename); log("originals' filenames: " + oldFilenames);
139 + console.
140 + console.
Please remove that obsolete debugging code.
260 + // Are we really interested in the duplicates filenames?
261 + // or should we just notify the user that there are (unknown) duplicates of a given image?
I'd say that question is answered, so the comment can be removed