musescore / musescore/MuseScore

(Plugin API) pagePos of Composer/Subtitle text objects returns pagePos of enclosing VBOX

Open
#28,681 1 comment 0 reactions 1 assignee View on GitHub

@igorkorsukov is already working on this.

Since Jul 4, 2025.

engraving needs review plugins UX/interaction
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

UX/Interaction bug (incorrect behaviour)

Description with steps to reproduce
  1. Create a plug-in that gets a reference to a text object contained within a VBOX
  2. Query the pagePos

Expected result:
The coordinates of the text box on the page

Actual result:
The coordinates of the enclosing VBOX on the page

Supporting files, videos and screenshots

I wrote a plugin that places a yellow comment box at the exact location returned by the pagePos of the text object highlighted in pink. As you can see, it has placed the comment box at the top-left corner of the VBOX.

Image

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

4.5.2

Regression

I was unable to check

Operating system

MacOS

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.