musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.15k stars 2.63k forks source link

Transpose dialog disappears immediately when there is a selection, with QT_QPA_PLATFORM=xcb #24296

Open bfields opened 1 month ago

bfields commented 1 month ago

Issue type

UX/Interaction bug (incorrect behaviour)

Description with steps to reproduce

Select some measures, then choose Tools->Transpose...

A box appears briefly in the middle of the screen and then immediately vanishes, as if it tried to open the dialog and then immediately closed it.

If nothing is selected, then Tools->Transpose... selects the entire score and displays the Transpose dialog, as expected.

I'm on Fedora 40, using musescore-4.3.2-12.fc40.x86_64 run with QT_QPA_PLATFORM=xcb (to work around issue 15285). Without that set, the dialog appears and works as it should.

This looks similar to issue 17440, which was closed as a dup of 18608, the root cause of which was believed to be https://gitlab.gnome.org/GNOME/mutter/-/issues/2820, but I have mutter-46.4-1.fc40.x86_64, which I believe should have the fix.

Supporting files, videos and screenshots

none

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

4.3.2

Regression

I was unable to check

Operating system

Fedora 40

Additional context

No response

Checklist

oktophonie commented 1 month ago

Could you please try this with the new 4.4 release and see if the behaviour is different? It would also be interesting to know whether the problem also arises using Wayland.

MarcSabatella commented 1 month ago

I can't reproduce this on 4.3.2 or 4.4, with xcb or wayland (wayland tested on 4.4 only, since it isn't supported on 4.3.2).

Be sure you are using the supported AppImage downloaded and optionally installed directly from musescore.org, not any sort of unofficial third-party build from another source. The fact that you mention needing to explicit set xcb makes me think you might not be using the official build. Also the filename you mention running isn't the name of the official build.

bfields commented 1 month ago

Right, musescore-4.3.2-12.fc40.x86_64 is a Fedora package.

That said, I tried the AppImage download just now and behavior is the same: Tools->Transpose works if nothing is selected, but if I select some bars first, it doesn't. (The about dialog says: OS: Fedora Linux 40 (Workstation Edition), Arch.: x86_64, MuseScore Studio version (64-bit): 4.4.0-242390800, revision: github-musescore-musescore-0fcd11b)

MarcSabatella commented 1 month ago

Can you ZIP and attach your score and say which bars specifically you are selecting? I still cannot reproduce any problem with this on Debian.

bfields commented 1 month ago

It reproduces for me every time no matter the score, but here's an example.

example.zip

I'll see if I can get a video....

bfields commented 1 month ago

https://github.com/user-attachments/assets/bf0d358c-2466-469c-afd5-8129ce765e80