question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Window Application icon doesn't work

See original GitHub issue

on windows platform with kivy 1.8.0 ‘portable package’, App.icon doesn’t set the window icon, tested with the following code:

from kivy.app in App

class MyApp(App):
    def build(self):
        self.icon = 'myicon.png'

if __name__ == '__main__':
    MyApp().run()

example from the kivy.App documentation

<bountysource-plugin>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>

Issue Analytics

  • State:open
  • Created 9 years ago
  • Reactions:1
  • Comments:23 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
CodeMouse92commented, Sep 28, 2020

Bug still present on Ubuntu 16.04 and Kivy 1.9.2.

One reason is because the icon doesn’t appear on Ubuntu Unity is because that OS relies on .desktop files. On my blog, I describe a handy workaround:

~~http://www.indeliblebluepen.com/?p=1012~~

https://dev.to/codemouse92/icons-python-and-ubuntu

1reaction
n2qzshcecommented, Apr 6, 2022

how is this still broken

@yukkidev I was able to get this working in my project, you may be able to use it for a reference: https://github.com/n2qzshce/ham-radio-sync/blob/1819c70019f9e42140b056b76b082bb0208454af/src/ui/app_window.py#L135

Read more comments on GitHub >

github_iconTop Results From Across the Web

Thumbnail icon of apps not showing in windows 10 Start menu
Restart your computer and check the icons. If issue persists, rebuild the icon cache. -Click Start, type CMD and run as administrator -Copy...
Read more >
How to Fix Windows 10 Not Showing App Icons in the Taskbar
1. Exit Tablet Mode · 2. Restart Windows Explorer · 3. Check the Taskbar Settings · 4. Update the Display Driver · 5....
Read more >
FIX: Windows 10/11 app icons are not showing correctly
If your Windows 10 app icons are not showing correctly or are missing completely, use the solutions listed in this guide to fix...
Read more >
7 Best Ways to Fix App Icons Not Showing in Taskbar on ...
Step 1: Press Ctrl+Shift+Esc keys to open the Task Manager. Find Windows Explorer under the Processes tab. Right-click on it and select Restart....
Read more >
How to Fix Broken or Missing Icons and Thumbnails in ...
If your icons are corrupted or not displaying properly, you can reset the Windows 10 icon cache to fix them. The easiest way...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found