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

Cannot scroll up while dragging items on Wayland

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 2.11
    • User Interface

      When trying to drag an unmatched song to its correct position off-screen, it's not possible to scroll the view while dragging, either by entering scroll inputs or moving the cursor near the top/bottom of the view. It's also not possible to make the track list panel any larger than I have it here.

      I did finally manage to drag this track to where it belongs, but only by moving the window around and making it taller than my screen. Now it's stuck like that because I can't grab anything to make it smaller again - a solution to this would also be appreciated!

          [PICARD-2954] Cannot scroll up while dragging items on Wayland

          In general scrolling is supposed to work by dragging near the top or bottom of the list. Picard is using Qt's default settings for this, which is scrolling when inside an area of 16 pixels from top or bottom.

          But this seems not to work under Wayland (yet another issue Qt on Wayland seems to have). I need to investigate, but this likely needs to be reported to Qt.

          As a workaround you can run Picard with the X11 backend by launching it with the environment variable "QT_QPA_PLATFORM=xcb" being set.

          Regarding resizing, I'm not sure how you managed to get the Window overall larger then the screen. But my usual trick if I cannot reach the window borders of any window is to make the window full screen with keyboard shortcut (not sure about Plasma, but on GNOME it is Meta + Arrow Up), then resize it into window mode by dragging the title bar with the mouse. At least on GNOME I end up with a non-maximized window for which I have the title bar on screen. I can then resize vertically by dragging the upper window border.

           

          Also for more vertical space for the list you might want to disable the cover art view via the menu View -> Cover Art. That allows you to resize the metadata view to a smaller size.

          Philipp Wolfer added a comment - In general scrolling is supposed to work by dragging near the top or bottom of the list. Picard is using Qt's default settings for this, which is scrolling when inside an area of 16 pixels from top or bottom. But this seems not to work under Wayland (yet another issue Qt on Wayland seems to have). I need to investigate, but this likely needs to be reported to Qt. As a workaround you can run Picard with the X11 backend by launching it with the environment variable "QT_QPA_PLATFORM=xcb" being set. Regarding resizing, I'm not sure how you managed to get the Window overall larger then the screen. But my usual trick if I cannot reach the window borders of any window is to make the window full screen with keyboard shortcut (not sure about Plasma, but on GNOME it is Meta + Arrow Up), then resize it into window mode by dragging the title bar with the mouse. At least on GNOME I end up with a non-maximized window for which I have the title bar on screen. I can then resize vertically by dragging the upper window border.   Also for more vertical space for the list you might want to disable the cover art view via the menu View -> Cover Art. That allows you to resize the metadata view to a smaller size.

            Unassigned Unassigned
            barnabyw Barnaby Walters
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package