2

I'm using Ubuntu 20.04 with Gnome 3.36.1 and the yaru-dark theme (default). In the top bar, some non-default applications have vertically stretched icons, like what you see in this image showing Firefox Dev Edition and Zoom (on the left side the icons are stretched, on the right side you have some examples of correct sizing):

enter image description here

Both apps were not installed from the store (because they're not there). Firefox Dev Edition was installed by placing it into the /opt folder and creating a .desktop file that linked to the path. Zoom was installed using their .deb package.

How could I fix this? I tried changing the gnome theme, but it didn't helped.

4
  • The same happens with me when i start Virtualbox (installed via apt) I still can't figure the cause – Mido Apr 27 '20 at 13:48
  • Welcome to Askubuntu! Would you be so kind as to edit your question to include an image that shows both an application with a vertically stretched image and one without for comparison purposes? Thank you for helping us help you! – Elder Geek Apr 27 '20 at 20:06
  • Done, thank you for your help – Drago96 Apr 27 '20 at 21:26
  • same thing on Arch. I guess it's a bug in GNOME 3.36 – Tooniis May 2 '20 at 20:23
1

I think it's a gnome-shell bug. However value changes in text-scaling-factor would trigger top panel resize automatically and fix the icons distortion.

A workaround to fix the icon distortion in top panel. Adding following script to "Startup Application Preference", it will be executed after login and changes text-scaling-factor value and reset.

-- #!/bin/bash

gsettings set org.gnome.desktop.interface text-scaling-factor 1.01 gsettings reset org.gnome.desktop.interface text-scaling-factor

exit 0

3
  • Hi Peng, thank you very much for giving a workaround for this! I tried testing it by changing the text scaling factor in Gnome Tweaks, but the icons remained stretched. I wanted to try with the "Startup Application Preference", but I couldn't find this setting (or file). Could you point me on where to find these preferences? – Drago96 Aug 4 '20 at 10:12
  • You can check this topic and its answers: askubuntu.com/q/1269090/1037999 in order to run the script at startup – Lorenz Keel Aug 28 '20 at 15:13
  • My icons were squished after an update, and this worked for me – Shanteva Sep 8 '20 at 13:14
0

As of August 28th, 2020 it look like this bug has now been fixed (at least I don't see it anymore, and the only thing I did was updating the OS regularly).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.