-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Deprecate theme.FyneLogo() function #3705
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of minor things inline. But yes we need to figure what the default for tray/app icon is and keep it consistent. I'm not sure that no-icon works in the tray context?
@@ -1,47 +1,33 @@ | |||
<canvas size="200x300"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this should have been committed - it is part of a flakey test that needs more work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I made sure to restore it
I think it needs the |
Absolutely. You are right. It is currently changed to use the warning icon but the error icon could work as well. Another idea of mine was to use the question icon. What would you prefer? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Maybe instead of re-using we should actually have an "icon missing" icon? then app developers can replace it using the theme without changing one of those dialog icons... |
That sounds like a good plan. I'll go ahead with getting that sorted in a few days |
I can't seem to find any icon in material design to indicate that an icon is missing. It does put a stick in the wheel so to say.
|
There is also HelpIcon which is (currently) more filled in and might make a better fallback icon? |
This is what we have used in Fyne Desk when an app has no icon https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Abroken_image%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048 |
231d8a5
to
e55cff3
Compare
Thanks. That's wonderful. I was trying to find icons with |
I had to force-push a rebase on develop. Something seemed strange with the test where it expected |
The foreground_ prefix should be on every default themed resource name now, it was a fix to a cache overlap bug earlier this month |
Yeah, I remember it being added but the test were strange. None of the other icon tests included the change so I didn’t either. However, my code still failed because it was missing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
Description:
This deprecates the
theme.FyneLogo()
function as discussed on a call a few months back. Developers should use their own application icons instead. Anyone that needs a Fyne logo can bundle it manually.Fixes #3296
Checklist:
Where applicable: