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

Alarm Note doesn't preserve newline character on scene change #19

Closed
yalov opened this issue Nov 28, 2021 · 3 comments
Closed

Alarm Note doesn't preserve newline character on scene change #19

yalov opened this issue Nov 28, 2021 · 3 comments
Labels
kspBug Identified KSP issue

Comments

@yalov
Copy link
Contributor

yalov commented Nov 28, 2021

https://bugs.kerbalspaceprogram.com/issues/28410

  • create new sandbox game
  • on KSC scene create alarm with the note: (one digit per line)

    1
    2
    3

  • Change scene, for example go to VAB.
  • Click on alarm, and then "Edit", to see note.
  • Note will be: (all digits in one line)

    123

@yalov
Copy link
Contributor Author

yalov commented Nov 28, 2021

Looks like the desc = desc.Replace("\n", "<br>") fixes the problem.

@yalov
Copy link
Contributor Author

yalov commented Nov 30, 2021

also popup with the description on the mouse hover over alarm line in the Alarm Clock App would be helpful (same as in the KAC)

@gotmachine gotmachine added kspBug Identified KSP issue up-for-grabs Won't be worked on, but contributions are welcome labels Mar 15, 2022
gotmachine added a commit that referenced this issue Apr 16, 2022
- AutoSavedCraftNameAtLaunch (#30)
- StockAlarmDescPreserveLineBreak (#19)
@gotmachine gotmachine removed the up-for-grabs Won't be worked on, but contributions are welcome label Apr 16, 2022
@gotmachine
Copy link
Contributor

Fix added in release 1.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kspBug Identified KSP issue
Development

No branches or pull requests

2 participants