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

Wait cursor only shows when Glue is really doing something #1097

Merged
merged 2 commits into from
Aug 27, 2016

Conversation

pllim
Copy link
Contributor

@pllim pllim commented Aug 23, 2016

This fixes #1092 (the second commit).

@pllim
Copy link
Contributor Author

pllim commented Aug 23, 2016

@astrofrog , I tried this with loading a big data file and the cursor appears to change properly. I didn't try saving/loading Glue session files. Perhaps you want to take this for a spin before merging.

self, "Confirm Close",
"Are you sure you want to reset the session? "
"This will close all datasets, subsets, and data viewers",
buttons=buttons, defaultButton=QMessageBox.Cancel)
Copy link
Member

Choose a reason for hiding this comment

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

In general, I prefer not to change the line length in cases like this when it actually makes the code less readable - would you mind disabling the line length PEP8 warnings or changing the line length to 100 or 120?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, no problem. I'll keep that in mind for the future.

@astrofrog astrofrog merged commit 9863a5b into glue-viz:master Aug 27, 2016
astrofrog added a commit that referenced this pull request Aug 27, 2016
Wait cursor only shows when Glue is really doing something
@astrofrog
Copy link
Member

(merged manually since this required resolving conflicts)

@pllim
Copy link
Contributor Author

pllim commented Aug 29, 2016

How did you "merge manually" and still get the PR to be listed as "merged" instead of "closed without merging"? I'm just curious. I have seen this across different repos. There must be some kind of git-fu that I have yet learned.

@astrofrog
Copy link
Member

@pllim - I think it's because I made the merge commit message look exactly like what GitHub normally does (I changed the default merge message)

@pllim pllim deleted the fix-wait-cursor branch August 29, 2016 19:30
@pllim
Copy link
Contributor Author

pllim commented Aug 29, 2016

@astrofrog -- I added a note in my commit indicating I was not sure if a context manager should belong in a module named "decorators" (OCD speaking again!), but I couldn't find another module that is appropriate and didn't want to create a new context_managers.py with only this in it. FYI.

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.

"Please wait" cursor while trying to select input file makes me nervous
2 participants