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

[MU4 Issue] Hidden elements cannot be selected until zoom level change with navigator open #14970

Open
SamYeh opened this issue Dec 5, 2022 · 10 comments
Labels
P2 Priority: Medium UX/interaction

Comments

@SamYeh
Copy link

SamYeh commented Dec 5, 2022

Describe the bug
In some cases, hidden elements cannot be selected by mouse clicks.

To Reproduce
Example score (download link)
image

  1. Try selecting one of the hidden dynamics with a mouse click.

    • If it can be selected, click on another hidden element and observe that it cannot be selected.
    • If it cannot be selected, change the zoom level and try again. Observe that it can now be selected.
  2. Go to step 1.

  3. Do the same thing with non-hidden elements and observe that they don't have the problem.

Expected behavior
Hidden elements can be selected just like non-hidden ones.

Platform information

  • OS: Windows 11
  • Build: MuseScore 4 RC1
@Tantacrul
Copy link
Contributor

Hi there. Thanks for logging this. Unfortunately, I'm unable to reproduce any problem with selection on this score. Could you record a video to help us understand?

Thanks again!

@Tantacrul Tantacrul added the needs info More information is required before action can be taken label Dec 6, 2022
@SamYeh
Copy link
Author

SamYeh commented Dec 6, 2022

Interesting... After downloading RC2 (MuseScoreNightly-223400502-4.0_rc-40c5b42-x86_64), I tested the bug against it and couldn't repro. I then test it against RC1 (MuseScoreNightly-223400502-4.0_rc-40c5b42-x86_64), with which I had experienced the bug, and could no longer repro, either.

Sorry about the confusion. Closing.

@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Dec 7, 2022

RC2 (MuseScoreNightly-223400502-4.0_rc-40c5b42-x86_64), ... RC1 (MuseScoreNightly-223400502-4.0_rc-40c5b42-x86_64),

Really the same thing and neither is an RC

@SamYeh
Copy link
Author

SamYeh commented Dec 9, 2022

Reopening as I'm experiencing the bug again with MuseScoreNightly-223430306-master-ff7e63c-x86_64. Please see the video below.

Since mouse clicks are not usually visible in screen capture, I made the screen flash as I click.

The video shows:

  1. I clicked on the hidden f three times but it wouldn't get selected.
  2. I changed the zoom (with Ctrl + mouse wheel) and then clicked on the hidden f again. It was selected.
  3. I clicked on the hidden p three times but it wouldn't get selected.
  4. I changed the zoom again, and then clicked, now the hidden p was selected.

The remainder of the video shows that panning has the same effect as zooming in making hidden elements selectable.

2022-12-09.12-57-02.mp4

I can also repro with MuseScoreNightly-223370502-4.0_rc-d050fb0-x86_64 now, although I couldn't repro with the same build 3 days ago.

@SamYeh
Copy link
Author

SamYeh commented Dec 9, 2022

@Tantacrul Could you please reopen this issue? It seems that I don't have the permission to do so. Thanks!

@cbjeukendrup cbjeukendrup reopened this Dec 9, 2022
@Tantacrul
Copy link
Contributor

Can anyone else reproduce this?

@MarcSabatella
Copy link
Contributor

I work with invisible elements a fair amount and have never encountered this, but I just tried deliberately for a few minutes and still have never encountered this. I see the in video that the Navigator is enabled which I never normally would have, but I tried it that way, still no problems.

@SamYeh
Copy link
Author

SamYeh commented Dec 10, 2022

@MarcSabatella You are spot on! I closed the navigator and the problem went away. I open it again and the problem still didn't show up. It seemed like the problem surfaces only when MU4 is launched with the navigator open.

@MarcSabatella
Copy link
Contributor

Now confirmed. What a weird bug! To reproduce, try this exactly:

  1. open mu4
  2. open any random score
  3. open navigator
  4. close mu4
  5. reopen mu4
  6. open any score containing invisible elements, or create a score and add invisible elements
  7. verify navigator is open (since it was open when you closed it at stop 4)
  8. try to click an invisible element

Failure. But then zoom a little and try again, and selection works.

@Tantacrul Tantacrul added P2 Priority: Medium and removed needs info More information is required before action can be taken labels Dec 10, 2022
@MiguelVicenteGarcia
Copy link

Never encountered this problem until last version (4.2) when it started to happen exactly as described. Changing zoom does somehow enable the selection for one hidden element. To select another one I have to change zoom again.
In Win 10.

@avvvvve avvvvve changed the title [MU4 Issue] Hidden elements cannot be selected until zoom level change [MU4 Issue] Hidden elements cannot be selected until zoom level change with navigator open Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Priority: Medium UX/interaction
Projects
Status: Some release after that
Development

No branches or pull requests

7 participants