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

PR: Keep icons alive in cache #115

Merged
merged 1 commit into from
Mar 7, 2019
Merged

PR: Keep icons alive in cache #115

merged 1 commit into from
Mar 7, 2019

Conversation

ddemidov
Copy link
Contributor

@ddemidov ddemidov commented Mar 7, 2019

Fixes #113

Looks like icons are stored by reference in qt 5.12, so we need to keep
them alive somewhere.

Not sure though if the icon cache should reside in the library, or in user code.
The advantage of this PR is that it works without any changes to the user code.

Fixes #113

Looks like icons are stored by reference in qt 5.12, so we need to keep
them alive somewhere.
@stonebig
Copy link

stonebig commented Mar 7, 2019

I confirm the patch works (on Windows 10 / Spyder-3.3.3 / PyQt5.12.1 from pip) ! Thank you so much for the inquiry @ddemidov !

before (Spyder 2 theme)
image

now (Spyder 3 theme)
image

@ccordoba12 ccordoba12 changed the title Keep icons alive in cache PR: Keep icons alive in cache Mar 7, 2019
@ccordoba12 ccordoba12 added this to the v0.5.7 milestone Mar 7, 2019
@ccordoba12
Copy link
Member

Thanks a lot @ddemidov for your help and @stonebig for the confirmation!

These are really great news indeed! I'll release 0.5.7 right away with this fix.

@ccordoba12 ccordoba12 merged commit 9113bc4 into spyder-ide:master Mar 7, 2019
@ddemidov ddemidov deleted the icon-cache branch March 7, 2019 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants