linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.56k stars 743 forks source link

Low resolution icons in Alt-Tab app switcher #6205

Open barkap opened 7 years ago

barkap commented 7 years ago

Hello,

For some applications Cinnamon's window manager chooses low resolution (low quality) icons. Adding StartupWMClass=corebird to the .desktop file solves the problem but it is a temporary workaround as .desktop files may be overwritten on update at any time. So far i've seen this for corebird (installed via default repository) and Visual Studio Code (installed using umake ide visual-studio-code).

I'm running Cinnamon 3.2.7 on Mint 18.1 Serena.

Also, I tried same applications on Ubuntu 16.04, Fedora 25, Linux Mint 18.1 Beta Xfce (Xfwm4 and Metacity wm) and icons appear high resolution as they should.

Below is a screenshot showing low resolution icons for corebird and visual studio code (other icons look fine).

alt-tab-low-quality

germanfr commented 7 years ago

I have also this problem with many apps ~that have GNOME window borders.~

Also noticed that if I launch them from the menu or from /usr/share/applications it looks fine. But if I copy that same shortcut to the Desktop or I launch it from the terminal it appears blurried there. Also if you launch them as keyboard shortcuts. Others, like the terminal, if you launch it from the menu they look fine, but if you launch the same shortcut from /usr/share/applications it looks blurried. If you already have open it with high resolution other instances will have high resolution, and viceversa.

I'm not sure if its an app problem, a Cinnamon problem or my distro's problem. I'm running Manjaro. The only thing I'm sure it's that it's not the icon theme, because it happens with all of them.

eudennis commented 6 years ago

I also noticed that same problem, but in Firefox. For me, I even changed the icon from firefox-trunk to firefox, and it changed for the original FF logo in search and dock, but not in the ALT+TAB. There is any news about this issue? Where the ALT+TAB function get the icon?

xmo-odoo commented 5 years ago

The same issue occurs with a "manually installed" pycharm on Mint 19: the icon shows pixelated in the application switcher, whether I'm linking the shortcut to the SVG or the 128x128 PNG.

Vahan86 commented 4 years ago

I have tried the applications mentioned in original post (Corebird and Visual Studio Code) and icons appear high resolution in Cinnamon 4.4.6.

alexandru-dinu commented 4 years ago

Same thing happens for Mendeley. What's weird is that in the launcher, Mendeley has the correct icon from the Papirus icon set, but when launched, the icon ALT+TAB switcher is a different, low resolution one.

EDIT: Found out that appending StartupWMClass=mendeleydesktop.x86_64 to where the script install-mendeley-link-handler.sh defines the .desktop file contents solves the problem.