Scroll Kitty images with their scroll region #126
No reviewers
Labels
No labels
Area/ci
Area/cli
Area/client
Area/client-core
Area/daemon
Area/deps
Area/docs
Area/grid
Area/manual
Area/nix
Area/protocol
Area/pty
Area/render
Area/shaping
Area/skills
Area/transport
Area/vt
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Security
Kind/Testing
perf-regression-accepted
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Blocked
Status
Need More Info
Status
Upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
felis-terminal/felis!126
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/scroll-region-images"
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?
Kitty graphics placements now scroll with the text inside a scroll region (
DECSTBM) and on a reverse scroll (RIat the top margin,SD), following kitty'sscroll_filter_margins_func:PlacementRemoved).r=with it) and its source rectangle loses the pixels those rows showed, at the scale the image draws at (kitty'ssrc_pixels_per_screen_pixel, including the one-axisc=/r=cases). What is left keeps its size and position on screen.The grid queues a new
PtyEffect::RegionScrolled(adjacent scrolls of one band coalesce); the daemon re-sends each survivor asPlacement, sincePlacementsShiftedmoves every anchor. No wire change.Two cases depart from kitty where its region path disagrees with its full-screen path, recorded in the explanation doc:
Tests: unit tests for move, removal, top clip, bottom clip with a partial last row, a lone-
c=clip, placements crossing or outside the band, and the into-history case; a property test that survivors stay in the band, inside their image, at their old scale, and that placements outside the band are untouched; the image-mirror property test now exercises region scrolls and compares extents and source rectangles; a daemon test for the issue's repro.Closes #40