[Openlp-core] [Bug 1544260] Re: Moving Song in Service Manager, Hover Text says "Service Manager"
** Changed in: openlp Status: In Progress => Fix Committed ** Changed in: openlp Milestone: None => 2.9.1 -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1544260 Title: Moving Song in Service Manager, Hover Text says "Service Manager" Status in OpenLP: Fix Committed Bug description: When changing the order of songs in Service Manager, the hover text says "Service Manager", rather than the title of the song. See this function in core/ui/servicemanager.py: def mouseMoveEvent(self, event): """ Drag and drop event does not care what data is selected as the recipient will use events to request the data move just tell it what plugin to call :param event: """ if event.buttons() != QtCore.Qt.LeftButton: event.ignore() return if not self.itemAt(self.mapFromGlobal(QtGui.QCursor.pos())): event.ignore() return drag = QtGui.QDrag(self) mime_data = QtCore.QMimeData() drag.setMimeData(mime_data) mime_data.setText('ServiceManager') drag.exec(QtCore.Qt.CopyAction) To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1544260/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1544260] Re: Moving Song in Service Manager, Hover Text says "Service Manager"
The mousemove event mime needs to be set to the window you want to play with. ServiceManager now has detailed hover text for songs so this resolves the initial issue. ** Changed in: openlp Assignee: (unassigned) => Tim Bentley (trb143) ** Changed in: openlp Status: New => In Progress ** Branch linked: lp:~trb143/openlp/cleanups02182 -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1544260 Title: Moving Song in Service Manager, Hover Text says "Service Manager" Status in OpenLP: In Progress Bug description: When changing the order of songs in Service Manager, the hover text says "Service Manager", rather than the title of the song. See this function in core/ui/servicemanager.py: def mouseMoveEvent(self, event): """ Drag and drop event does not care what data is selected as the recipient will use events to request the data move just tell it what plugin to call :param event: """ if event.buttons() != QtCore.Qt.LeftButton: event.ignore() return if not self.itemAt(self.mapFromGlobal(QtGui.QCursor.pos())): event.ignore() return drag = QtGui.QDrag(self) mime_data = QtCore.QMimeData() drag.setMimeData(mime_data) mime_data.setText('ServiceManager') drag.exec(QtCore.Qt.CopyAction) To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1544260/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1544260] Re: Moving Song in Service Manager, Hover Text says "Service Manager"
** Changed in: openlp Importance: Low => Wishlist -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1544260 Title: Moving Song in Service Manager, Hover Text says "Service Manager" Status in OpenLP: New Bug description: When changing the order of songs in Service Manager, the hover text says "Service Manager", rather than the title of the song. See this function in core/ui/servicemanager.py: def mouseMoveEvent(self, event): """ Drag and drop event does not care what data is selected as the recipient will use events to request the data move just tell it what plugin to call :param event: """ if event.buttons() != QtCore.Qt.LeftButton: event.ignore() return if not self.itemAt(self.mapFromGlobal(QtGui.QCursor.pos())): event.ignore() return drag = QtGui.QDrag(self) mime_data = QtCore.QMimeData() drag.setMimeData(mime_data) mime_data.setText('ServiceManager') drag.exec(QtCore.Qt.CopyAction) To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1544260/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1544260] Re: Moving Song in Service Manager, Hover Text says "Service Manager"
Ideally, I think one day it would be nice if it worked like this: ** Attachment added: "This is how I think it should work... :P" https://bugs.launchpad.net/openlp/+bug/1544260/+attachment/4569803/+files/Drag%20List%20Ordering.mp4 -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1544260 Title: Moving Song in Service Manager, Hover Text says "Service Manager" Status in OpenLP: New Bug description: When changing the order of songs in Service Manager, the hover text says "Service Manager", rather than the title of the song. See this function in core/ui/servicemanager.py: def mouseMoveEvent(self, event): """ Drag and drop event does not care what data is selected as the recipient will use events to request the data move just tell it what plugin to call :param event: """ if event.buttons() != QtCore.Qt.LeftButton: event.ignore() return if not self.itemAt(self.mapFromGlobal(QtGui.QCursor.pos())): event.ignore() return drag = QtGui.QDrag(self) mime_data = QtCore.QMimeData() drag.setMimeData(mime_data) mime_data.setText('ServiceManager') drag.exec(QtCore.Qt.CopyAction) To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1544260/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1544260] Re: Moving Song in Service Manager, Hover Text says "Service Manager"
I just checked 2.0.5, and it happened back then, so maybe I'm just imagining that it used to be different. -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1544260 Title: Moving Song in Service Manager, Hover Text says "Service Manager" Status in OpenLP: New Bug description: When changing the order of songs in Service Manager, the hover text says "Service Manager", rather than the title of the song. See this function in core/ui/servicemanager.py: def mouseMoveEvent(self, event): """ Drag and drop event does not care what data is selected as the recipient will use events to request the data move just tell it what plugin to call :param event: """ if event.buttons() != QtCore.Qt.LeftButton: event.ignore() return if not self.itemAt(self.mapFromGlobal(QtGui.QCursor.pos())): event.ignore() return drag = QtGui.QDrag(self) mime_data = QtCore.QMimeData() drag.setMimeData(mime_data) mime_data.setText('ServiceManager') drag.exec(QtCore.Qt.CopyAction) To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1544260/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1544260] Re: Moving Song in Service Manager, Hover Text says "Service Manager"
It's possible that the problem is somewhere else. I'm sure I remember that in a previous release, you could drag items around, and you could see their name when you were dragging them. But since 2.2, the name has been replaced with "ServiceManager". -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1544260 Title: Moving Song in Service Manager, Hover Text says "Service Manager" Status in OpenLP: New Bug description: When changing the order of songs in Service Manager, the hover text says "Service Manager", rather than the title of the song. See this function in core/ui/servicemanager.py: def mouseMoveEvent(self, event): """ Drag and drop event does not care what data is selected as the recipient will use events to request the data move just tell it what plugin to call :param event: """ if event.buttons() != QtCore.Qt.LeftButton: event.ignore() return if not self.itemAt(self.mapFromGlobal(QtGui.QCursor.pos())): event.ignore() return drag = QtGui.QDrag(self) mime_data = QtCore.QMimeData() drag.setMimeData(mime_data) mime_data.setText('ServiceManager') drag.exec(QtCore.Qt.CopyAction) To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1544260/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1544260] Re: Moving Song in Service Manager, Hover Text says "Service Manager"
I don't see any hover text? -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1544260 Title: Moving Song in Service Manager, Hover Text says "Service Manager" Status in OpenLP: New Bug description: When changing the order of songs in Service Manager, the hover text says "Service Manager", rather than the title of the song. See this function in core/ui/servicemanager.py: def mouseMoveEvent(self, event): """ Drag and drop event does not care what data is selected as the recipient will use events to request the data move just tell it what plugin to call :param event: """ if event.buttons() != QtCore.Qt.LeftButton: event.ignore() return if not self.itemAt(self.mapFromGlobal(QtGui.QCursor.pos())): event.ignore() return drag = QtGui.QDrag(self) mime_data = QtCore.QMimeData() drag.setMimeData(mime_data) mime_data.setText('ServiceManager') drag.exec(QtCore.Qt.CopyAction) To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1544260/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp
[Openlp-core] [Bug 1544260] Re: Moving Song in Service Manager, Hover Text says "Service Manager"
If I change that text, drag and drop no longer works. I think that text *has* to be that. -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1544260 Title: Moving Song in Service Manager, Hover Text says "Service Manager" Status in OpenLP: New Bug description: When changing the order of songs in Service Manager, the hover text says "Service Manager", rather than the title of the song. See this function in core/ui/servicemanager.py: def mouseMoveEvent(self, event): """ Drag and drop event does not care what data is selected as the recipient will use events to request the data move just tell it what plugin to call :param event: """ if event.buttons() != QtCore.Qt.LeftButton: event.ignore() return if not self.itemAt(self.mapFromGlobal(QtGui.QCursor.pos())): event.ignore() return drag = QtGui.QDrag(self) mime_data = QtCore.QMimeData() drag.setMimeData(mime_data) mime_data.setText('ServiceManager') drag.exec(QtCore.Qt.CopyAction) To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1544260/+subscriptions ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp