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

Images added to palettes are lost on program restart #17456

Open
MarcSabatella opened this issue May 3, 2023 · 4 comments
Open

Images added to palettes are lost on program restart #17456

MarcSabatella opened this issue May 3, 2023 · 4 comments
Assignees
Labels
palettes regression_ms3 Regression from MS3 (3.6.2) UI Visual issues affecting the UI (not notation)

Comments

@MarcSabatella
Copy link
Contributor

Issue type

UI bug

Bug description

If you use Ctrl+Shift drag to add an image from your score to a palette, then quit and restart MuseScore, the palette cell is present, but it appears empty, and attempting to add the image to a score produces zero-sized images that may lead to crashes.

Steps to reproduce

  1. copy an image to your clipboard by whatever means is available on your system
  2. make sure to have only one instance of MuseScore running
  3. select a note or rest in any score
  4. press Ctrl+V to add the image
  5. Ctrl+Shif+drag the image to a palette of your choice
  6. quit MuseScore
  7. restart MuseScore
  8. open any score
  9. open the palette you saved the image to

Result: the palette cell that formerly contained the image remains, but it looks empty. If you try to add that image to a score, it doesn't appear to work, although depending on whether you click it or use drag & drop, you may end up with a zero-sized image added.

Screenshots/Screen recordings

No response

MuseScore Version

OS: Debian GNU/Linux 11 (bullseye), Arch.: x86_64, MuseScore version (64-bit): 4.0.2-230690504, revision: github-musescore-musescore-dbe7c6d

Regression

Yes, this used to work in MuseScore 3.x and now is broken

Operating system

Debian 11

Additional context

If you explicitly save the palette by clicking the "..." and then Save palette, then load the palette into another instance, it works.

@muse-bot muse-bot added regression_ms3 Regression from MS3 (3.6.2) UI Visual issues affecting the UI (not notation) labels May 3, 2023
@worldwideweary
Copy link
Contributor

Hey @MarcSabatella, I just tried this process in the most recent nightly build and I'm not getting the behavior you're describing (although it was happening in an older build). Maybe it got fixed in the meantime? If so maybe it could be marked as fixed...

Also seems to be some weird discrepancy between debug and release builds - If in the future you get a build environment as debug compilation, check out this behavior: images don't seem to be showing up in the palettes at all after dragging them into it... and there's an ASSERT that as if forbades it. Kinda makes me wish the travis appimage building system also produced a debug appimage for testing...

@RomanPudashkin RomanPudashkin assigned mathesoncalum and unassigned Eism Aug 8, 2023
@CynthiaCat
Copy link

I just tried following the steps @MarcSabatella gave above, and I still have the same issue. I can get the copied image back, but I have to first delete the custom palette it is in and then reload it.

Running Windows 11 Pro, My copy of Musescore tells me I'm running the latest version, but I need help finding out which version that is, precisely. I just checked it on August 25.

@MarcSabatella
Copy link
Contributor Author

To see the version, use Help / About MuseScore.

For me, this is still reproducible with the current version(4.1.1) on Linux. And it's also still reproducible with the current nightly build, meaning I see no evidence it is fixed yet for an upcoming release either.

@CynthiaCat
Copy link

Ah, Thank you, Marc. I was looking in the wrong "About" on the Dropdown. To mark the spot, I'm on MuseScore version (64-bit): 4.1.1-232071203, revision: e4d1ddf
@worldwideweary -- You wrote about images not showing up in the palettes after dragging them in. Two points from my experience: To drag an image into a palette, I find that I must first close and then reopen MuseScore and drag the image before doing anything else (other than opening a score, of course.) Second, the image does not show in the palette for me because I run in dark mode. The image is there; it's just also dark, so you can't see it against the dark background. Odd that this only happens with "outside" images. The images from the Master Palette (for example) display white in dark mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
palettes regression_ms3 Regression from MS3 (3.6.2) UI Visual issues affecting the UI (not notation)
Projects
None yet
Development

No branches or pull requests

7 participants