Skip to content

Oversized tray icon on Ubuntu Mate 20.04 #628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gumondo opened this issue Mar 19, 2021 · 1 comment
Closed

Oversized tray icon on Ubuntu Mate 20.04 #628

gumondo opened this issue Mar 19, 2021 · 1 comment
Assignees

Comments

@gumondo
Copy link

gumondo commented Mar 19, 2021

Bug Report

Describe the bug

Tray icon is not resized to the tray panel height when plug-in is launched and it is displayed oversized (zoomed in):

To Reproduce

imaxe

Expected behavior

Whole icon should be watched according to the tray panel height, as can be seen on Linux Mint 20.1:
imaxe

Environment (please complete the following information):

  • OS [e.g. Windows]: Ubuntu Mate
  • OS version: 20.04
  • Browser [e.g. chrome, safari]:
  • Browser Version:
  • Agent Version [e.g. 1.0.0]: 1.2.1
  • CPU architecture [e.g. amd64]: amd64

Additional context

This icon size issue occurs for any layout used on Ubuntu Mate 20.04 (Traditional, Redmon, etc.)

@gumondo
Copy link
Author

gumondo commented Apr 25, 2021

Finally I found out that this is not an issue related to Arduino Create Plugin. Some other systray icons in Ubuntu Mate 20.04 (for instance, hplip or sound-switcher-indicator) have also a not expected behaviour. For any of them behaviour is as expected is they are launch using prefix dbus-launch. Thus, I modified file ~/.config/autostart/arduino-create-agent.desktop changing Exec command as follows:
Exec=dbus-launch /path/to/my/home/folder/ArduinoCreateAgent/Arduino_Create_Agent
and now Arduino Create Plugin icon has a proper size:
imaxe

@gumondo gumondo closed this as completed Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants