GSoC: GUI: Caret blink shaves pixels [...] (bug #2951681)
|Reported by:||SF/vgvgf||Owned by:||lordhoto|
Proposed patch for bug number 2951681 "GUI: Caret blink shaves pixels from the letter underneath"
The problem is in ThemeEngine::drawCaret and EditableWidget::drawCaret. When erasing the cursor caret, ThemeEngine::drawCaret only restores the background of the widget but not the character that was affected by the cursor.
My proposed solution is to draw again the char affected by the cursor in EditableWidget::drawCaret when erasing the cursor. This way the text is restored when the cursor blinks.
Ticket imported from: #2980691. Ticket imported from: patches/1259.