linuxmint / mint19.3-beta

BETA Bug Squah Rush
10 stars 3 forks source link

cinnamon: App icons in panel do not refresh (regression) #25

Open darrenhopkinson opened 4 years ago

darrenhopkinson commented 4 years ago

(Cloning from https://github.com/linuxmint/cinnamon/issues/8837 as advised)

Issue Application icons in the cinnamon panel and task switcher do not refresh correctly when changed programmatically. This is a regression from Mint 19.1. Restarting cinnamon using the 'r' command correctly updates the icon in both the panel and the task switcher, demonstrating that this is likely to be a refresh issue.

Steps to reproduce Can be reproduced using a Java application which calls the setIconImage() method of the AWT class JFrame.java. Reproducible using both java-1.11.0-openjdk-amd64 and java-8-oracle. This used to work correctly with identical application and Java runtime in Mint 19.1, suggesting it is a regression in Cinnamon.

Expected behaviour Panel icon for the application is updated immediately with the png image specified in the call to setIconImage().

Other information

mtwebster commented 4 years ago

Can you provide a simple example program to reproduce this? Thanks

darrenhopkinson commented 4 years ago

Example program was included on original bug report (https://github.com/linuxmint/cinnamon/issues/8837).

Please let me know if you need me to re-clone it here.