GNOME Bugzilla – Bug 731427
Blinking cursor drawing artifact
Last modified: 2014-06-14 08:25:58 UTC
With blinking block or i-beam cursor, start the "joe" text editor. The cursor is in col 1, row 2 (below the top bar). When the cursor is off, press the Up arrow (press it many times if you wish). Expected: the cursor becomes fully visible (as it is when you type letters). Actual: only the top part of the cursor is visible. Notice that joe prints something in the top bar, so in vte's eyes the cursor is actually moved (even though it happens to end up at its previous location, which seems to be necessary to trigger the bug).
The actual bug is that the cursor disappears (and stays so) when a key is pressed but the cursor stays at the same location. This is also observable when pressing e.g. backspace at the shell prompt (without typing any command). You don't need the joe editor for this. Probably invalidating the old cursor, drawing the new one, and setting the cursor to visible happens in the wrong order, or something similar. I guess if we fix this, the partial cursor with the joe editor will be gone too.
Created attachment 278189 [details] [review] fix
Created attachment 278190 [details] [review] fix v2 - save a bit of UI work if we can
Created attachment 278335 [details] [review] fix v3 Although this patch is functionally equivalent to the previous one, and I don't quite get the intent of the "periodic" parameter, I think FALSE is the semantically correct value.