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

[WIP] PR: Update icons using a threadpool in File Explorer #10337

Closed
wants to merge 3 commits into from

Conversation

dalthviz
Copy link
Member

@dalthviz dalthviz commented Oct 1, 2019

Description of Changes

  • Wrote at least one-line docstrings (for any new functions)
  • Added unit test(s) covering the changes (if testable)
  • Included a screenshot or animation (if affecting the UI, see Licecap)

Change the way we set file icons to prevent GUI freezing

Issue(s) Resolved

Fixes #10081

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: dalthviz

@goanpeca
Copy link
Member

goanpeca commented Oct 3, 2019

Hi @dalthviz remember to test this issue by commenting all the IconProvider code to check if we are specifically introducing a problem with it.

@dalthviz
Copy link
Member Author

dalthviz commented Oct 4, 2019

@goanpeca it can freeze even without the IconProvider (although just for some seconds and I have to do the scrolling quite quickly):

ee

@ccordoba12
Copy link
Member

@dalthviz, do these freezes happen in Spyder 3?

@dalthviz
Copy link
Member Author

dalthviz commented Oct 9, 2019

@ccordoba12 Spyder 3 can freeze, although just when adding/deleting a lot of files from the directory you are viewing:

s3

@dalthviz dalthviz added this to the v4.0.0 milestone Oct 26, 2019
@ccordoba12 ccordoba12 modified the milestones: v4.0rc2, v4.0.0, 4.1.0 Nov 12, 2019
@pep8speaks
Copy link

Hello @dalthviz! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 135:57: E127 continuation line over-indented for visual indent

@goanpeca goanpeca removed this from the v4.2.0 milestone Feb 19, 2020
@ccordoba12 ccordoba12 removed the v4.2.0 label May 27, 2020
@ccordoba12 ccordoba12 added this to the v4.2.0 milestone Aug 9, 2020
@ccordoba12 ccordoba12 modified the milestones: v4.2.0, v4.2.1 Sep 19, 2020
@ccordoba12 ccordoba12 removed this from the v4.2.1 milestone Nov 14, 2020
@ccordoba12
Copy link
Member

Closing because this solution doesn't really solve the problem.

@ccordoba12 ccordoba12 closed this Nov 14, 2020
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.

Opening a folder with many files causes spyder to freeze
4 participants