Skip to content

Conversation

@mrclary
Copy link
Contributor

@mrclary mrclary commented Dec 15, 2025

Description of Changes

set_windows_appusermodelid now set the AppUserModelID to be the same as that used by our menuinst shortcut.
For conda-based installations, this is spyder-ide.Spyder-{major version}. For all other installations this is spyder-ide.Spyder-{major version}.{environment name}.

Issue(s) Resolved

Fixes #24292

@mrclary mrclary force-pushed the issue-24292-appusermodelid branch from 84b6694 to 27abe37 Compare December 16, 2025 03:24
@ccordoba12 ccordoba12 changed the title PR: Set the AppUserModelID to be the same as that used by our menuinst shortcut PR: Set the AppUserModelID to be the same as that used by our menuinst shortcut Dec 18, 2025
@ccordoba12
Copy link
Member

@mrclary, is this ready for review?

@mrclary mrclary marked this pull request as ready for review December 18, 2025 02:58
@mrclary
Copy link
Contributor Author

mrclary commented Dec 18, 2025

Yep, ready for review

@ccordoba12 ccordoba12 requested a review from dalthviz December 18, 2025 21:33
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

A few suggestions for you @mrclary.

Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
Co-authored-by: Daniel Althviz Moré <16781833+dalthviz@users.noreply.github.com>
@ccordoba12
Copy link
Member

@mrclary, the failures in our tests are due to a new version of intervaltree, which came with a broken wheel.

I already reported the problem upstream.

@mrclary
Copy link
Contributor Author

mrclary commented Dec 20, 2025

@mrclary, the failures in our tests are due to a new version of intervaltree, which came with a broken wheel.

I already reported the problem upstream.

Interesting. Is our caching paradigm not working properly? The intervaltree version shouldn't change except when we rebuild caches on the weekend. For the rest of the week, all workflows should be using the cache.

@mrclary
Copy link
Contributor Author

mrclary commented Dec 20, 2025

I see. The new intervaltree version is introduced in the "Install additional dependencies" step. This is not cached.

@ccordoba12
Copy link
Member

@dalthviz, please review again and approve @mrclary's work if ready.

I'll fix the failure in our tests in another PR.

Copy link
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

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

Thanks @mrclary !

@ccordoba12
Copy link
Member

I fixed the failure in our tests in PR #25506, so merging.

@ccordoba12 ccordoba12 merged commit 5e70122 into spyder-ide:master Dec 23, 2025
28 of 40 checks passed
@ccordoba12
Copy link
Member

@meeseeksdev please backport to 6.x

meeseeksmachine pushed a commit to meeseeksmachine/spyder that referenced this pull request Dec 23, 2025
…same as that used by our menuinst shortcut
ccordoba12 pushed a commit that referenced this pull request Dec 23, 2025
…the same as that used by our menuinst shortcut) (#25511)
@mrclary mrclary deleted the issue-24292-appusermodelid branch December 24, 2025 00:33
@mukarakaplan1
Copy link

Hello All,
I applied this PR with a manual patch but issue unfortunately remained. After a lot of back-and-forth with ChatGPT, I was able to isolate the cause and get a working fix on my end. My solution is summarized at #24292

Setup (for reference):
Windows 11 Pro
Spyder 6.1.1 Standalone installer (“All users”)
Installed under C:\ProgramData\spyder-6\...

I don’t know how the final packaging/shortcuts will look in 6.1.3. However, if the shipped Start Menu shortcut AppID is still suffix’d (e.g., ...Spyder-6.spyder-runtime) while Spyder sets a non-suffix’d AppID (e.g., ...Spyder-6), it may still trigger the two-icon behavior. So it’s worth double-checking, and the 6.1.3 solution may need a similar “match whatever AppID the installer shortcut uses” adjustment if those two strings don’t align.

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.

Two Spyder icons on Windows taskbar (regression?)

4 participants