mate-desktop / mate-indicator-applet

http://www.mate-desktop.org
GNU General Public License v3.0
19 stars 15 forks source link

mate-indicator-applet can not auto scale image #38

Closed rocket049 closed 4 years ago

rocket049 commented 5 years ago

Expected behaviour

When show large image, it should auto scale image to fit the indicator area.

Actual behaviour

When show large image, it will not auto scale image to fit the indicator area, but show part of the image. systray1

Steps to reproduce the behaviour

install and run nutstore: (https://www.jianguoyun.com/s/downloads)

MATE general version

1.20.1-2ubuntu1

Package version

1.20.0-1

Linux Distribution

ubuntu-mate 18.04.2

Link to downstream report of your Distribution

systray1

monsta commented 4 years ago

Fixed in 1.22.1 by https://github.com/mate-desktop/mate-indicator-applet/pull/43.

rocket049 commented 4 years ago

@monsta This problem has not been completely solved. When the parameter of the set_icon function is the full path of the icon file, the icon still cannot be resized. The same error occurs in these functions: