Weird Behaviour with Overlapping Text and Cloze Mask
- Dominant language
- Rust
- Stars
- 31.2k
- Forks
- 3.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 72
Description
## Steps
1. Load an image for IO.
2. Create a rectangle mask.
3. Now create a text mask using the tool.
4. Put the rectangle above the text.
## Behaviour
The rectangle always go below the text. In review, these cards' cloze mask appear hidden by the text above it.
This seem to happen because the rectangle is created in step#2 before the text is created. If I switch the order of events, now I can't put the text above the cloze mask i.e. the cloze always go below the text.
Also noticed, editing these cards during review can reverse the behaviour.
Contributor guide
Research direction
Reproduce the issue by following the image, rectangle-mask, text-mask, and review steps described in the report, then compare the result after editing the card. Trace the card review and editing entry points to determine why mask ordering changes; done means rectangle and text/cloze masks consistently follow their intended stacking order in both creation sequences and after edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100