Rendering failure with combined DCH + line scroll
Bug #1498517 reported by
Paul "LeoNerd" Evans
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pangoterm |
Fix Released
|
Medium
|
Paul "LeoNerd" Evans |
Bug Description
$ echo -en "\e[25H\
renders incorrectly
$ echo -en "\e[25H\
renders correctly.
Seems just to be a surface GTK problem, because the underlying VTermScreen buffer is fine; using mouse-selection or scrolling away+back re-renders it and now displays correctly.
Changed in pangoterm: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
A little bit of analysis on these (by stderr printfs() in pangoterm.c) reveals some interesting differences between these.
OK case:
BEGIN{
INPUT bytes: 1B 5B 32 35 48 0D 0D 0A 41 42 43 44 45 08 08 08 1B 5B 32 50
MOVERECT 1..25,0..80 -> 0..24,0..80
blit dirty
DAMAGE 24..25,0..80
putglyph E
MOVERECT 24..25,4..80 -> 24..25,2..78
blit dirty
DAMAGE 24..25,78..80
putglyph E
blit dirty
}END
BEGIN{
putglyph E
INPUT bytes: 0D 0A
MOVERECT 1..25,0..80 -> 0..24,0..80
blit dirty
DAMAGE 24..25,0..80
blit dirty
}END
FAIL case:
BEGIN{
INPUT bytes: 1B 5B 32 35 48 0D 0D 0A 41 42 43 44 45 08 08 08 1B 5B 32 50 0D 0D 0A
MOVERECT 1..25,0..80 -> 0..24,0..80
blit dirty
DAMAGE 24..25,0..80
putglyph E
MOVERECT 24..25,4..80 -> 24..25,2..78
blit dirty
DAMAGE 24..25,78..80
MOVERECT 1..25,0..80 -> 0..24,0..80
blit dirty
DAMAGE 24..25,0..80
blit dirty
}END
What's notable is the number of times a "putglyph E" appears.