I have reduced my issue to this small example below. When I run this app on Win7, I get the correct icon on in the corner of the window, but not on the taskbar.
How do I get the correct icon on the taskbar? In the image below, the icon on the window in the green circle is correct, the icon in the red circle on the taskbar is not correct.
Also note in the code, I have tried a number of image formats and resolutions. As a side note a 250x250 png file shows up on the top-bar of the window only occasionally.
I have attached the code, the icon file(*.ico) and a 32x32 png file.
Thanks in advance (and Kivy is AWESOME!)
-Elliot
from kivy.app import App
from kivy.uix.label import Label
class MyApp(App):
title = 'Test Case for icons Windows7'
def build(self):
# SELECT ANY ONE of the following test conditions...
self.icon = 'SY300logo_icon.ico' # Windows Icon, multi reso, works in window corner, not on taskbar
#self.icon = 'SY300logo.png' # png 250x250, image on window on some runs - very strange, not on taskbar
#self.icon = 'SY300logo128.png' # png 128x128, works on window, not on taskbar
#self.icon = 'SY300logo64.png' # png 64x64, works on window, not on taskbar
#self.icon = 'SY300logo32.png' # png 32x32, works on window, not on taskbar
#self.icon = 'SY300logo.jpg' #jpg 250x250, does not work
#self.icon = 'SY300logo64.gif' # gif works on window, not on taskbar
return Label(text='Wrong Logo on Task bar for Win7?')
if __name__ == '__main__':
MyApp().run()
