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

Save-to-file in increments and add status label #1174

Open
karlmsmith opened this issue Nov 23, 2017 · 1 comment
Open

Save-to-file in increments and add status label #1174

karlmsmith opened this issue Nov 23, 2017 · 1 comment

Comments

@karlmsmith
Copy link
Contributor

karlmsmith commented Nov 23, 2017

Reported by @karlmsmith on 29 Nov 2011 17:32 UTC
The save-to-file operation in the viewer should be done in increments, using the QTimer check-command callback (called when the viewer has no events to deal with) to perform another piece of the saving.

Since the number of drawing commands to a QPicture has now been capped, each increment of drawing can save one QPicture to file. This will prevent the GUI from becoming unresponsive when saving large and/or complex drawings.

A label should be added to the status area of the QMainWindow and should indicate when a file is being saved, or when the drawing is being redrawn.

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1902

@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 23, 2017

Comment by @karlmsmith on 20 Dec 2011 18:13 UTC
Added messages to the status bar at the bottom of the window giving an indication of progress (piece 'n' out of 'total'). The mouse icon changes to a "working" icon to also give the user a clue that it is busy doing something.

Pushing the saving in increments to a lower priority for now.

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

No branches or pull requests

1 participant