-
Notifications
You must be signed in to change notification settings - Fork 63
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
Set SingleMainWindow
in Desktop Entry
#2387
base: main
Are you sure you want to change the base?
Set SingleMainWindow
in Desktop Entry
#2387
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.
Change is fine, I'll try and find out if we can upgrade to a newer spec version, I think I ran into this issue before.
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.
This is good for the time being.
Long term we are supposed to expose multi window (in fact, we previously did); but opted to disable it for the time being due to some technical caveats.
This PR conflicts with |
This indicates to the DE that the app usually runs with a single "main" window, and doesn't support opening additional instances. This can be used by desktops to disable "New Window" actions in the right-click menu.
7e3224e
to
99f2a19
Compare
This PR doesn't conflict with |
@Sewer56 https://github.com/Sewer56/PupNet-Deploy/tree/main/PupNet/Assets it looks like we have appimagetool builds in the deploy project that are outdated. I think we can just upgrade that. |
@erri120 Sounds good to me. |
Follow up to #2386, this tells the DE that we don't need a "New Window" button because we typically only have one single "main" window.
SingleMainWindow
is a hint to DEs for whether to offer a "New Window" button.This makes sense for NexusMods.App, because it only supports having one "main" window open.
The CI is unhappy about
SingleMainWindow
:https://github.com/Nexus-Mods/NexusMods.App/actions/runs/12342433935/job/34442250123?pr=2386#step:8:1375
The CI is validating against Desktop Entry Spec v1.0, however
SingleMainWindow
was added in v1.5.I'm not sure if we can have this as an
X-
prefixed option and it still work, need to test that out. Otherwise, is it possible for the linter to support a newer Desktop Entry Spec version?