You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recent ruler layout work, especially around zero-corner orientation changes and unit label placement, is covered by geometry/unit tests. Those tests are useful, but they cannot catch visual regressions such as text looking slightly too high/low, labels overlapping tick marks, or subtle drawing changes that are still numerically plausible.
Suggestion
Add screenshot regression coverage for representative ruler renderings.
Potential coverage:
Horizontal and vertical rulers.
All zero-corner configurations.
Unit label placement near each corner.
Mouse tick/number label overlap behavior where practical.
Light and dark/custom ruler colors if stable enough for deterministic rendering.
Expected Benefit
Screenshot baselines would give layout and drawing changes a visual safety net, complementing the existing unit tests. This would make future tweaks to ruler drawing, label offsets, resize handles, and zero-corner placement easier to review with confidence.
Notes
Keep the first version small and deterministic. A focused set of rendered ruler views is probably more useful than broad UI-test coverage, especially if it can run without launching the full app UI.
Activity