shell icon indicating copy to clipboard operation
shell copied to clipboard

Stack Tabs are not using some application icons like Popsicle

Open ahoneybun opened this issue 2 years ago • 10 comments

(1) Issue/Bug Description:

For certain applications like Popsicle Pop Shell is using a generic application icon instead of the correct icon.

(2) Steps to reproduce (if you know):

Open Popsicle and include it in a Stack.

(3) Expected behavior:

Correct application icon is used.

(4) Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

(5) Gnome Shell version:

gnome-shell:
  Installed: 42.3.1-2ubuntu1pop1~1659548102~22.04~8796832
  Candidate: 42.3.1-2ubuntu1pop1~1659548102~22.04~8796832
  Version table:
 *** 42.3.1-2ubuntu1pop1~1659548102~22.04~8796832 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status
     42.2-0ubuntu0.2 500
        500 http://apt.pop-os.org/ubuntu jammy-updates/main amd64 Packages
     42.0-2ubuntu1 500
        500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):

pop-shell:
  Installed: 1.1.0~1659996551~22.04~08abba0
  Candidate: 1.1.0~1659996551~22.04~08abba0
  Version table:
 *** 1.1.0~1659996551~22.04~08abba0 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1001 http://apt.pop-os.org/release jammy/main i386 Packages
        100 /var/lib/dpkg/status

(7) Where was Pop Shell installed from:

apt.pop-os.org repo

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):

Primary (Horizontal) 2560x1440 Secondary (Vertical) 1920x1200

(9) Other Installed/Enabled Extensions:

None other then stock Pop extensions

(10) Other Notes:

Screenshot:

Screenshot from 2022-08-16 05-35-42

ahoneybun avatar Aug 16 '22 11:08 ahoneybun

I was able to reproduce this, but only in Wayland.

n3m0-22 avatar Aug 16 '22 14:08 n3m0-22

Ah yes I'm also on Wayland so that must be the key.

ahoneybun avatar Aug 16 '22 14:08 ahoneybun

Popsicle is likely not setting the correct Application ID, as the icon is not transmitted via the wayland protocol (in contrast to X11), but instead matched with it's desktop file by it's app id.

So there is not much the shell can do about this and it is more likely a Popsicle bug.

Drakulix avatar Aug 16 '22 14:08 Drakulix

For certain applications like Popsicle Pop Shell is using a generic application icon instead of the correct icon.

@ahoneybun Are there other applications you've seen this happening with, or just Popsicle?

n3m0-22 avatar Aug 16 '22 14:08 n3m0-22

Here is another one:

  • cameractrls

ahoneybun avatar Aug 16 '22 15:08 ahoneybun

Interesting I can see happen with cameractrls if I run it from the source on GitHub, but the Flatpak shows the icon properly.

Screenshot from 2022-08-16 09-10-22

n3m0-22 avatar Aug 16 '22 15:08 n3m0-22

It looks like it's just those two at least the installed applications on my system.

ahoneybun avatar Aug 16 '22 15:08 ahoneybun

It does not affect the Flatpak of Popsicle either. This is in the logs when I run popsicle-gtk.

Aug 16 08:07:19 pop-os popsicle-gtk[2803]: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_I_WAYLAND_WINDOW (window)' failed

n3m0-22 avatar Aug 16 '22 15:08 n3m0-22

Looks like LibreOffice also does this but just the System (deb) version as the Flatpak version works fine.

ahoneybun avatar Aug 22 '22 12:08 ahoneybun

I am having this with the deb version of libreoffice. Sometimes it gets it right, but it often has a generic gear icon, or the wrong libreoffice application icon (e.g. a calc file showing with the writer icon).

I'm not using wayland.

TC68 avatar Sep 13 '22 03:09 TC68