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

Fix bug in view (q)settings handling #1705

Merged
merged 2 commits into from
Mar 22, 2023
Merged

Fix bug in view (q)settings handling #1705

merged 2 commits into from
Mar 22, 2023

Conversation

joernu76
Copy link
Member

No description provided.

@joernu76 joernu76 changed the title update Fix bug in view (q)settings handling Mar 20, 2023
@joernu76 joernu76 force-pushed the fix_setttings branch 2 times, most recently from 209cc12 to 55ff493 Compare March 20, 2023 12:06
@joernu76 joernu76 marked this pull request as ready for review March 20, 2023 12:59
@ReimarBauer ReimarBauer self-requested a review March 20, 2023 13:30
Copy link
Member

@ReimarBauer ReimarBauer left a comment

Choose a reason for hiding this comment

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

At least using sideview is a problem on clicking options - ok

options_problem

"secondary_axis": "no secondary axis",
"plot_title_size": "default",
"axes_label_size": "default",
"flightlevels": [],
Copy link
Member

Choose a reason for hiding this comment

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

an old entry was:
https://github.com/Open-MSS/MSS/pull/1705/files#diff-46d3dceb21b8fa62a87ac72721c0c16241048c1eef22ecc21fa3786f282f8f6bL68
"flightlevels": [300, 320, 340]

I'm not verified if that was used, just seen in the review

@joernu76
Copy link
Member Author

At least using sideview is a problem on clicking options - ok

options_problem options_problem

Fixed this and some other issues in linear view.

Copy link
Member

@ReimarBauer ReimarBauer left a comment

Choose a reason for hiding this comment

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

unicode standard? -8 ?

tests/_test_msui/test_sideview.py

* consistent naming of dialogs
* consistent naming of settings
* move of load/store to one base class
* move of default settings to global, private variables for simpler
  (testing) access
@ReimarBauer
Copy link
Member

found a different problem. The stored draw flight track color is not used for the initialization on a restart in the Sideview
also other flight track colors are not used
color_options_not_used

After clicking options and ok, they are updated
option_color_not_used

in Topview this is doing as expected

Copy link
Member

@ReimarBauer ReimarBauer left a comment

Choose a reason for hiding this comment

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

see comment example, sideview is not using stored settings on restart

Copy link
Member

@ReimarBauer ReimarBauer left a comment

Choose a reason for hiding this comment

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

Thx

@ReimarBauer ReimarBauer merged commit 785bc1d into develop Mar 22, 2023
@ReimarBauer ReimarBauer deleted the fix_setttings branch March 22, 2023 12:16
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.

2 participants