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

Immediate-store all of view dialog #3987

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Immediate-store all of view dialog #3987

wants to merge 5 commits into from

Conversation

gzotti
Copy link
Member

@gzotti gzotti commented Nov 25, 2024

Description

This continues a series of changes which aims at optionally avoiding the requirement to press "save settings".
All features in the view settings dialog should be immediate-store so far.

The Configure dialog is still to be done.

The Language settings are probably the only settings that crucially needs to be protected by an extra (upcoming) confirmation so they are not messed up on a panic exit. All other settings are as easy to reset as they were set.

In the end of this branch, the "save settings" button will be toggled off when the corresponding "immediate storage" option in the config dialog has been activated, and a "save languages" will appear.

Fixes # (issue)

Screenshots (if appropriate):

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • This change requires a documentation update
  • Housekeeping

How Has This Been Tested?

Test Configuration:

  • Operating system: Win11
  • Graphics Card: irrelevant

Checklist:

  • My code follows the code style of this project.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (header file)
  • I have updated the respective chapter in the Stellarium User Guide
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

- also fix smooth fading of rectangular FOV box
- Final NomenclatureMgr fix
- Move planet visual magnitude selection logic to SolarSystem property
  (This also fixes a missing RemoteSync property not syncing)
- Update URL for JUPOS
- also move selection of single constellations to starlore
  and add isolated setting as well.
  Properties/config keys should be named more fittingly.
@gzotti gzotti self-assigned this Nov 25, 2024
@gzotti gzotti added the enhancement Improve existing functionality label Nov 25, 2024
Copy link

Great PR! Please pay attention to the following items before merging:

Files matching src/**/*.cpp:

  • Are possibly unused includes removed?

Files matching guide/**:

  • Did you remember to update screenshots to match new updates?
  • Did you remember to grammar check in changed part of documentation?

This is an automatically generated QA checklist based on modified files.

Copy link

Hello @gzotti!

Thank you for the suggested improvement.

// These are to find out the best sky parameters. Program feature for debugging/expert mode.
// These will be connected from AtmosphereDialog and forward the settings to SkyLight class.

void StelSkyDrawer::setFlagDrawSunAfterAtmosphere(bool val){
Copy link
Member

Choose a reason for hiding this comment

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

Formatting issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve existing functionality
Development

Successfully merging this pull request may close these issues.

2 participants