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

Crash when pasting formatted multi-line text with formatting #23520

Closed
4 tasks done
TeeDeeY opened this issue Jul 8, 2024 · 5 comments
Closed
4 tasks done

Crash when pasting formatted multi-line text with formatting #23520

TeeDeeY opened this issue Jul 8, 2024 · 5 comments
Assignees
Labels
crash Issues involving a crash of MuseScore P0 Priority: Critical regression MS4 Regression on a prior release

Comments

@TeeDeeY
Copy link

TeeDeeY commented Jul 8, 2024

Issue type

Crash or freeze

Description with steps to reproduce

  1. Write text with two lines and Italic
  2. Copy Paste into a text frame or staff text or sim

this works in 4.3.2
I think all three were needed to be set to crash but I didn’t try all combinations.

Supporting files, videos and screenshots

MuseScore_240708_154504.log

As far as this tracker goes:
This box was confusing. I initially didn’t know where the three dots were to attach the log.

Too much text above the box made the input box hard to see on a smartphone. Maybe the box borders need to be much thicker on this bug report tracker.

What is the latest version of MuseScore Studio where this issue is present?

Nightly 8b06e64 crashes like earlier nightly

Regression

Yes, this used to work in a previous version of MuseScore 4.x

Operating system

Ubuntu 24.04

Additional context

I don’t think it’s related to control shift drag crash directly but could be connected indirectly.

#23318 (comment)

video1722690877.mp4

Checklist

  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
@muse-bot muse-bot added crash Issues involving a crash of MuseScore regression MS4 Regression on a prior release labels Jul 8, 2024
@TeeDeeY
Copy link
Author

TeeDeeY commented Jul 8, 2024

On my working score, this was crashing. My initial workaround was to make a new frame, type “frame” in default text, and then save the score and exit musescore. Then, I open the score and can copy paste into the new frame successfully. New frames could be incorrectly made in some way.

@TeeDeeY
Copy link
Author

TeeDeeY commented Jul 8, 2024

An inconsistent behaviour is that I made the last page of the song with a frame with six empty lines - just carriage returns. It looks good. Then, I save and reopen, and no carriage returns are there. The frame is empty. I use “empty” (no visible content) carriage returns so the dimensions match a prior frame’s dimensions based in the same number of lines, the font, etc. it’s convenient to allow saving an “empty” frame (multiple carriage returns)

@bkunda
Copy link

bkunda commented Jul 9, 2024

@zacjansheski pls check

@bkunda bkunda added the needs info More information is required before action can be taken label Jul 9, 2024
@zacjansheski
Copy link
Contributor

zacjansheski commented Jul 9, 2024

I'm going to simplfy this report

It is simply a crash caused by pasting text with multiple lines and formatting into a text frame or staff text or sim...

video1722690877.mp4

@zacjansheski zacjansheski added the P0 Priority: Critical label Jul 9, 2024
@zacjansheski zacjansheski removed the needs info More information is required before action can be taken label Jul 9, 2024
@zacjansheski zacjansheski changed the title Master crash copy/paste frame text Master Pasting formatted multi-line text with formatting Jul 9, 2024
@cbjeukendrup cbjeukendrup changed the title Master Pasting formatted multi-line text with formatting Crash when pasting formatted multi-line text with formatting Jul 12, 2024
@mathesoncalum mathesoncalum added the needs testing Testing is needed (if issue doesn't reproduce or might be fixed already) label Jul 17, 2024
@DmitryArefiev
Copy link
Contributor

Tested in latest master on Win10, Mac13.6, LinuxUbuntu22.04. No longer occurs

@DmitryArefiev DmitryArefiev removed the needs testing Testing is needed (if issue doesn't reproduce or might be fixed already) label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Issues involving a crash of MuseScore P0 Priority: Critical regression MS4 Regression on a prior release
Projects
Development

No branches or pull requests

7 participants