← Back to team overview

openlp-core team mailing list archive

[Bug 1544260] [NEW] Moving Song in Service Manager, Hover Text says "Service Manager"

 

Public bug reported:

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)

** Affects: openlp
     Importance: Low
         Status: New

-- 
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


Follow ups