Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2556

Player popovers for volume and playback speed crash on Wayland and open on wrong position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.8.4
    • 2.8.3
    • User Interface

      The popover dialogs for volume and playback speed control in the media player toolbar cause Picard to crash with the "wayland" Qt platform.

      W: 08:00:34,835 /home/phw/devel/musicbrainz/picard/picard/util/pipe.send_to_pipe:273: Couldn't send: '\x00'
      Traceback (most recent call last):
        File "/home/phw/devel/musicbrainz/picard/./picard/ui/playertoolbar.py", line 412, in show_popover
          popover.show()
        File "/home/phw/devel/musicbrainz/picard/./picard/ui/widgets/__init__.py", line 110, in show
          self.update_position()
        File "/home/phw/devel/musicbrainz/picard/./picard/ui/widgets/__init__.py", line 119, in update_position
          pos = parent.mapToGlobal(QtCore.QPoint(x, y))
      TypeError: arguments did not match any overloaded call:
        QPoint(): too many arguments
        QPoint(int, int): argument 1 has unexpected type 'float'
        QPoint(QPoint): argument 1 has unexpected type 'float'
      zsh: IOT instruction  QT_QPA_PLATFORM=wayland python tagger.py
      W: 08:02:18,024 /home/phw/devel/musicbrainz/picard/picard/util/pipe.send_to_pipe:273: Couldn't send: '\x00'
      Traceback (most recent call last):
        File "/home/phw/devel/musicbrainz/picard/./picard/ui/playertoolbar.py", line 351, in show_popover
          popover = SliderPopover(
        File "/home/phw/devel/musicbrainz/picard/./picard/ui/widgets/__init__.py", line 148, in __init__
          self.slider.setValue(value)
      TypeError: setValue(self, int): argument 1 has unexpected type 'float'
      zsh: IOT instruction  QT_QPA_PLATFORM=wayland python tagger.py

       

      Furthermore, even if this is fixed the popups open on wrong position.

            outsidecontext Philipp Wolfer
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package
                2.8.4