[konsole] [Bug 402589] Text cursor disappears or doesn't move
Kurt Hindenburg
bugzilla_noreply at kde.org
Tue Mar 5 14:37:49 GMT 2019
https://bugs.kde.org/show_bug.cgi?id=402589
Kurt Hindenburg <kurt.hindenburg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|CONFIRMED |RESOLVED
Latest Commit| |https://commits.kde.org/kon
| |sole/eccfb1f62bbf67ebffee11
| |e241bd05757b826ff1
--- Comment #7 from Kurt Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit eccfb1f62bbf67ebffee11e241bd05757b826ff1 by Kurt Hindenburg, on
behalf of Wolfgang Bauer.
Committed on 05/03/2019 at 14:37.
Pushed by hindenburg into branch 'master'.
Fix ibeam and underline cursor rendering
Summary:
Since anti-aliasing was enabled in the painter, coordinates need to
be shifted half a pixel so that they align with the pixel grid,
otherwise the result gets "blurred" due to the anti-aliasing.
And as parts of the blurred shape leak outside the cursor rectangle,
this also leaves artifacts when the cursor moves or blinks as these
parts are not cleared.
This is basically the same as commit
e7085310d6d594823d0ed491fa8bdbd99dec4932 for the
standard block cursor.
Test Plan:
- Switch cursor shape to "I-Beam" or "Underline" in the "Advanced"
profile settings
The cursors are a single line again now, before they were blurred by
anti-aliasing.
Screenshots:
Before:
{F6656366}
{F6656370}
After:
{F6656371}
{F6656373}
Also, there are no more artifacts when the cursor is moved or
cursor blinking is enabled.
Reviewers: #konsole, hindenburg
Reviewed By: #konsole, hindenburg
Subscribers: hindenburg, konsole-devel
Tags: #konsole
Differential Revision: https://phabricator.kde.org/D19513
M +10 -8 src/TerminalDisplay.cpp
https://commits.kde.org/konsole/eccfb1f62bbf67ebffee11e241bd05757b826ff1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list