musescore / musescore/MuseScore
(Plugin API) pagePos of Composer/Subtitle text objects returns pagePos of enclosing VBOX
Open
@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
- Create a plug-in that gets a reference to a text object contained within a VBOX
- 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.
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.