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

qApp.setDesktopFileName (wayland app_ip)

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.2
    • None
    • User Interface
    • Linux, Wayland

      Under swaywm, the picard window doesn't have it's app_ip property set. One can use the window title to assign the program to a workspace, but this fails for the directory/file dialog window.

      A fix would be to add;

      set.qApp.setDesktopFileName("MusicBrainz Picard")

      As seen here https://github.com/qutebrowser/qutebrowser/pull/4153

          [PICARD-1502] qApp.setDesktopFileName (wayland app_ip)

          The first PR was wrong, but fixed now. Changes are in master, but if it does not work for you please let me know.

          Philipp Wolfer added a comment - The first PR was wrong, but fixed now. Changes are in master, but if it does not work for you please let me know.

          Submitted for review in in https://github.com/metabrainz/picard/pull/1183

          It would be great if you could give this a quick test if it is working as you expect.

          Philipp Wolfer added a comment - Submitted for review in in https://github.com/metabrainz/picard/pull/1183 It would be great if you could give this a quick test if it is working as you expect.

          Indeed, you are correct.

          Milkii Brewster added a comment - Indeed, you are correct.

          Yes, but if I read the QT documentation correctly it needs to be

           

          setDesktopFileName("org.musicbrainz.Picard.desktop")

          Philipp Wolfer added a comment - Yes, but if I read the QT documentation correctly it needs to be   setDesktopFileName("org.musicbrainz.Picard.desktop")

            outsidecontext Philipp Wolfer
            milk Milkii Brewster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.2