Skip to content

Applying a barline from the palette with Ctrl held should split the measure at the same position as without Ctrl #30615

@bakajikara

Description

@bakajikara

Issue type

UX/Interaction bug (incorrect behaviour)

Description with steps to reproduce

When applying barline from palette, pressing Ctrl creates barline to a different position than not pressing it.
In #16641, the position where a barline is created when applied from the palette was changed, but this change should also have been applied to the position where the measure is split when Ctrl is pressed.

  1. Select note on the score
  2. Apply barline from the palette without Ctrl. This creates barline after the chordrest. (expected)
  3. Apply barline with Ctrl. This creates barline before the chordrest. (not expected)

Supporting files, videos and screenshots

2025-10-20_00-36-21.mp4

In which versions of MuseScore Studio is this issue present?

4.1.0 - 4.6.2

Regression

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

Operating system

Windows 11

Additional context

No response

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions