Skip to content
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

[Windows] Set application user model ID to prevent editor / running project and different versions of editor taskbar icon stacking. #85905

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Dec 7, 2023

Set application ID for the editor and project windows to prevent unnecessary taskbar icon stacking.

@bruvzg bruvzg added this to the 4.x milestone Dec 7, 2023
@bruvzg bruvzg marked this pull request as ready for review December 8, 2023 08:03
@bruvzg bruvzg requested a review from a team as a code owner December 8, 2023 08:03
if (version.is_empty()) {
version = "0";
}
appname = "Godot." + name.to_pascal_case() + "." + version;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any restrictions on what the AppUserModel_ID format should be? Because application/config/name can contain all kinds of characters like punctuation, non-Latin, etc. which may not play well if not validated before passing it further.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some validation, but will recheck it tomorrow to make sure it's sufficient.

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me overall, but I still have a comment worth assessing.

@akien-mga akien-mga modified the milestones: 4.x, 4.3 Feb 15, 2024
…roject and different versions of editor taskbar icon stacking.
@akien-mga akien-mga merged commit d94827a into godotengine:master Feb 25, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants