AcademySoftwareFoundation / AcademySoftwareFoundation/OpenRV
[Bug]: Annotate on Folder in Layout view buggy
- Dominant language
- C++
- Stars
- 764
- Forks
- 246
- Avg merge
- 6d 12h
- Merged PRs (30d)
- 13
Description
### What happened?
we noticed a strange behaviour:
When annotating and creating a folder in layout mode, the annotations don't get drawn at the correct position.
Steps to reproduce:
1. Open Annotation Mode (F10)
2. Create a Folder (select two sources -> new Folder -> from Selection)
3. Change folder to "View As" -> Layout
4. try annotating (you will see it's not annotating where the mouse/pen is)
this is quite easily fixed while in the session:
- either click on another viewnode and jump back to the folder
- or close the annote mode and open it again
This is quite an edgecase scenario I think, but it cam up in our testing so I wanted to let it be known here
Tested in: OpenRV2.2 (also with newest annotate mode), RV 2025.0.0
### List all the operating systems versions where this is happening
Windows 10, Linux, MacOS
### On what computer hardware is this happening?
any
### Relevant console log output
```shell
```
### Environment variables
_No response_
### Extra information
_No response_
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Research direction
Reproduce the issue by opening Annotation Mode, creating a folder from two selected sources, switching it to View As → Layout, and annotating. Compare the annotation position with the mouse or pen position, including after switching views or reopening annotation mode. Done means annotations initially appear at the correct position in a newly created layout folder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100