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

astrocalc: issue warning for potential overload #2957

Open
axd1967 opened this issue Dec 31, 2022 · 2 comments
Open

astrocalc: issue warning for potential overload #2957

axd1967 opened this issue Dec 31, 2022 · 2 comments
Labels
feature Entirely new feature subsystem: astrocalc The issue is related to AstroCalc subsystem of planetarium...

Comments

@axd1967
Copy link
Contributor

axd1967 commented Dec 31, 2022

Is your feature request related to a problem? Please describe.
The user might make mistakes when choosing the start and end date/times, in combination with very small time steps.
Example: specifying 2021-01-12 to 2023-01-12 with a time step of 1 minute.

Describe the solution you'd like

One or more of

  • Show a confirmation panel when the calculations would require more than N results, where N is to be either a user configurable value (via dialog and/or config.ini). include the computed number of rows that would be generated.
  • show the expected number of steps as a fixed field in the astrocal dialog; highlight that field when it exceeds N
  • Update the progress bar to give an indication how far the calculations are. A very nice solution could be to use the "Execute" button to show the progress bar; but there is already a progress bar mechanism available in Stellarium.
  • Provide a user-friendly means to cancel/interrupt long-running calculations

This is a simple example how to guard the user against silly mistakes.

Describe alternatives you've considered
None. Stellarium must be killed in order to stop the computations.

Additional context

@10110111
Copy link
Contributor

I have been caught by this a few times too. Best UX would be to have all of the following:

  1. responsive UI during calculations (e.g. move calculations to a separate thread),
  2. progress indication,
  3. a cancel button (this requires item 1, responsivity).

@alex-w alex-w changed the title astrocal: issue warning for potential overload astrocalc: issue warning for potential overload Jan 22, 2023
@alex-w alex-w added the feature Entirely new feature label Dec 11, 2023
Copy link

Hello @axd1967!

Thank you for suggesting this feature.

@alex-w alex-w added the subsystem: astrocalc The issue is related to AstroCalc subsystem of planetarium... label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Entirely new feature subsystem: astrocalc The issue is related to AstroCalc subsystem of planetarium...
Development

No branches or pull requests

3 participants