Skip to content

Find a widget's position by drawing only the path to it - #76

Merged
trissim merged 2 commits into
mainfrom
perf/committed-geometry-readers-20261006
Oct 6, 2026
Merged

trissim merged 2 commits into
mainfrom
perf/committed-geometry-readers-20261006

Conversation

@trissim

@trissim trissim commented Oct 6, 2026 •

Copy link
Copy Markdown

Looking up a widget's position used to build the full arrangement of every offscreen widget. When the full map is out of date, find_widget now reflows the visible part with that widget added as a target, and _get_geometry reads the last published map. Compositor.__contains__ also uses find_widget. Changes are in _compositor.py and screen.py, with three test files.

@trissim
trissim marked this pull request as ready for review October 6, 2026 12:56
Copilot AI balanced review requested due to automatic review settings October 6, 2026 12:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim
trissim merged commit 67af8df into main Oct 6, 2026
2 of 22 checks passed
@trissim trissim changed the title Use retained reader paths for native position acquisition Find a widget's position by drawing only the path to it Oct 11, 2026
@trissim
trissim deleted the perf/committed-geometry-readers-20261006 branch October 11, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants