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

An intruder in the menu bar (Edit>AutoFill, Mac only) #20813

Open
alexnoclain opened this issue Jan 3, 2024 · 5 comments
Open

An intruder in the menu bar (Edit>AutoFill, Mac only) #20813

alexnoclain opened this issue Jan 3, 2024 · 5 comments
Assignees
Labels
needs info More information is required before action can be taken os: macOS Potentially specific to the macOS operating system P3 Priority: Low regression MS4 Regression on a prior release UI Visual issues affecting the UI (not notation)

Comments

@alexnoclain
Copy link

Issue type

UI bug (incorrect info or interface appearance)

Bug description

The edit menu has items that should not be there.
See screenshot.
This happens by selecting the default system language and French.
I tried other languages and there were no these items in the menu. (I haven't tried all languages)

Steps to reproduce

  1. Open Musescore
  2. Click on edit menu
    3....

Screenshots/Screen recordings

musescore 4 2 bug menu

MuseScore Version

4.2

Regression

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

Operating system

MacOS 14

Additional context

No response

@muse-bot muse-bot added regression MS4 Regression on a prior release UI Visual issues affecting the UI (not notation) labels Jan 3, 2024
@JLWALTENER
Copy link

Strange, does not happen on my Windows version of 4.2, see screenshot 👍

Edit_Menu_Win11_FR

@cbjeukendrup cbjeukendrup added the os: macOS Potentially specific to the macOS operating system label Jan 7, 2024
@cbjeukendrup
Copy link
Contributor

This seems caused by a new macOS 14 feature; in English, this is probably called AutoFill.
Probably this only occurs when your macOS language matches your MuseScore language, because macOS uses the names of the menus to detect which one is the edit menu.
In a65eea3, we removed some other items that are automatically added by macOS. However, it would be more ideal to not remove these items but support them properly instead, and make sure that they appear in a sensible place in the menu.
Technically this seems somewhat related to #12682.

@bkunda bkunda added the needs info More information is required before action can be taken label Jan 12, 2024
@bkunda bkunda added the P3 Priority: Low label Jan 12, 2024
@cbjeukendrup
Copy link
Contributor

I wasted a significant part of my day researching this problem, but without luck. I could not find a way to get rid of this unwanted menu, so I tried if we can make it less annoying by having it at the bottom of the list of menu items instead of at the top, but I can't get that to happen either.
So maybe a more drastic solution is needed, like directly using macOS APIs for implementing the menu bar, bypassing Qt. That won't be particularly pleasant to do though, and maybe not worth the effort and risk.
Hopefully Apple will add a way to disable this AutoFill menu item; or if a hidden way already exists, hopefully someone will find it and document it.

@DmitryArefiev DmitryArefiev changed the title An intruder in the menu bar An intruder in the menu bar (Edit>AutoFill, Mac only) Mar 15, 2024
@DmitryArefiev
Copy link
Contributor

so I tried if we can make it less annoying by having it at the bottom of the list of menu items instead of at the top

This was improved in #21936/#21935

Screenshot 2024-03-15 at 19 48 06

@bkunda
Copy link

bkunda commented Jul 4, 2024

Looks like we cannot fix this at the moment without bypassing Qt.
We'll leave this open at the back of the backlog, in case we uncover a way to disable it.
Meanwhile, the solution to put it at the bottom of the Edit menu is a good one. I've personally not even noticed it until now 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info More information is required before action can be taken os: macOS Potentially specific to the macOS operating system P3 Priority: Low regression MS4 Regression on a prior release UI Visual issues affecting the UI (not notation)
Projects
Status: In the further future
Development

No branches or pull requests

7 participants