Merge lp:~trb143/openlp/dnd into lp:openlp
Proposed by
Tim Bentley
Status: | Merged |
---|---|
Approved by: | Andreas Preikschat |
Approved revision: | 1701 |
Merged at revision: | 1701 |
Proposed branch: | lp:~trb143/openlp/dnd |
Merge into: | lp:openlp |
Diff against target: |
367 lines (+153/-34) 9 files modified
openlp.pyw (+2/-0) openlp/core/lib/__init__.py (+1/-1) openlp/core/lib/listwidgetwithdnd.py (+50/-0) openlp/core/lib/mediamanageritem.py (+52/-14) openlp/core/ui/servicemanager.py (+29/-9) openlp/plugins/images/lib/mediaitem.py (+3/-0) openlp/plugins/media/lib/mediaitem.py (+12/-9) openlp/plugins/presentations/lib/mediaitem.py (+3/-0) openlp/plugins/songusage/songusageplugin.py (+1/-1) |
To merge this branch: | bzr merge lp:~trb143/openlp/dnd |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andreas Preikschat (community) | Approve | ||
Raoul Snyman | Approve | ||
Review via email: mp+70399@code.launchpad.net |
This proposal supersedes a proposal from 2011-08-03.
Description of the change
Move all the Drag and Drop changes from the B1 tree which is stuck at present.
It is no possible to Dnd Images, Presentations and Media into the plugins as wee as dragging a otz file into the service manager.
Can import Folders now.
Remove duplicate popups now.
Servicefile load now checks for unsaved file and asks to save.
To post a comment you must log in.
A few things:
1) line 74: hasUrls should be hasUrls()
2) line 143: spelling (runn)
3) line 146-147, 165-166: wrong indents
4) Dropping a few files (e. g. images) makes the mainwindow process bar going from 0 to 100 (in one step) as many times as many files I drop (instead of increasing the bar after processing each file)
5) when I DnD a service file to the service manager without asking me to save an already opened service
6) I thought you were going to add support for folders as well (e. g. image library)
7) line 220-222, ...: I do not like this. All ListWidgets which allow dnd need to connect to the signal, thus it should be taken care of when activating the dnd. I am not sure if we should call/have an activate method. I was thinking about specifying this in the constructor or to have an attribute (like hasDnD) in the media manager.
8) When I DnD two files (e. g. "Copy of Foo" and "Foo") a dialog pops up and says that "Copy of Foo" is already in the list. I guess this will be/is fixed in your b1 branch?
9) The "duplicate error message" does not pop up once, instead it pop ups x times which can block the program (as you have to close x dialogs)