-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
[feat] Automatically set app name in About
menu item
#571
Comments
Other platforms don't have a reliable way to get the app name, that's why we need it tb explicity specified |
Hmm, that sucks. But do other platforms even need the name? I don't know about Linux, but so far as I'm aware on Windows the platform convention is edit: That said, it's a while since I've used Windows much, so maybe that's changed in recent years? |
For example, the Microsoft design guide here shows the following example: <muxc:MenuBarItem Title="Help">
<MenuFlyoutItem Text="About"/>
</muxc:MenuBarItem> |
On Linux, maybe we could use |
Yes other platforms do only show "About" in the menu item but the name along with othe metadata are shown in the dialog that appears when it is clicked. As for |
I see. Would including it in On a side note I'd love it if
Sounds like something Tao or Tauri should be doing anyway… isn't it used anywhere else? |
Every single field of
Not really, tao shouldn't care about it and even if tauri wants to, we never use |
Well, that's the point of this issue, on macOS
I don't agree… 🙂 but tbh it's only a small annoyance to me so if you prefer to keep it that way I'm happy to close this.
What I meant was that I would assume there are places where the OS displays the application name. But I'm not really familiar with how these things work on Linux so maybe |
Is In which case we're only talking about Linux needing the app name, which in my opinion would mean it was much cleaner if it was in the But again if you feel this is too trivial to bother with I don't mind 😄 |
Just because we can deduce the
|
I don't feel Linux is "the majority", and I suggested a cleaner solution by merging it with the extra metadata that's already required for Linux. But never mind, there are bigger issues to worry about, I'll close this. |
The majority is not Linux only, The majority is Windows and Linux. tao's menu system doesn't support
That is not true, |
Fair point, it could be implemented for Windows too – though since you also use the
That's true. It feels like an edge case, but I guess if you wanted an about box with only a name, that would make the call slightly cleaner. Anyway enough bikeshedding, the current implementation works, I'll put my objections aside and work on something that actually matters 😉 |
For consistency, it would be nice to implement this in a similar way to PR #570 (issue #536).
I didn't consider implementing it in that PR because of the following considerations:
It would be a breaking change, involving removal of the first field of the
MenuItem::About(String, AboutMetadata)
enum variant.It might require implementation for every platform – I am unsure of platform conventions for Linux and Windows so this would require some investigation.
I am happy to investigate and implement this if the breaking change is approved.
The text was updated successfully, but these errors were encountered: