Skip to content

Save Lilypond asks user for Filename twice #4286

Closed
@FirePheonix

Description

@FirePheonix

Description

The Save as Lilypond LY method has asks the user twice for the file name, once as a UI box, secondly as javascript box, and downloads the file with the SECOND input.

Screenshots

Music.Blocks.-.Google.Chrome.2025-01-18.04-37-26.mp4

@walterbender I found this issue relevant, since in the original, we asked user to enter FileName not once, but twice.

Expected Behavior

The file name entered the user should be displayed in the .ly file, and shouldn't ask twice.
The file should be donwloaded with the user entered value at once.

How to Reproduce

  1. Go to advance mode (click on the STAR icon in navbar)
  2. Press the download button.
  3. Go to save as lilypond file.
  4. It asks you for FileName, click on save as lilypond
  5. IT AGAIN asks you for the file name.

Console log Errors:

I put up console logs on debugging and realized that methods aren't receiving the filename variable.
Image

Environment:

  • Windows 11
  • Chrome

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.

Thank you for contributing to our project! We appreciate your help in improving it.

📚 See contributing instructions.

🙋🏾🙋🏼 Questions: Community Matrix Server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions