onMouseLeftHold and onMouseRightHold are declared and in the consumer notes, and no backend fires them #196
Labels
No labels
claude:blocked
claude:done
claude:failed
claude:in-progress
claude:ready
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Catcrafts/Crafter.Graphics#196
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Window::onMouseLeftHoldandWindow::onMouseRightHoldare declared, andAGENTS.consumer.mdlists them among theWindowevents a consumer can subscribe to, but no backend ever invokes either. A listener on them is never called. Line numbers refer toc006519.Details
interfaces/Crafter.Graphics-Window.cppm:113-114:Event<void> onMouseRightHold;andEvent<void> onMouseLeftHold;.AGENTS.consumer.md:131: "onMouseLeftClick,onMouseLeftHold,onMouseLeftReleaseand the right-button trio (mouseLeftHeld,mouseRightHeld)".git grep -n 'onMouseLeftHold\|onMouseRightHold'atc006519finds those three lines and nothing else: noInvokeinimplementations/, none inadditional/, no use in the examples or inInput.The state a consumer would want from them is there:
mouseLeftHeldandmouseRightHeldare kept by every backend.Found in the pre-push review of 364d210..c006519, by the commit-truth lens reading the consumer notes. It is older than that range.
Suggested fix
Either remove the two events and their mention in
AGENTS.consumer.md(design rule 11: the clean breaking change; nothing in this tree subscribes to them), or fire them, once per update while the button is held, on every backend, and say when in the notes.