[kate] [Bug 391518] Cursor width in Kate gets narrower every 16 characters
https://bugs.kde.org/show_bug.cgi?id=391518 Oleh Prypin changed: What|Removed |Added CC||o...@pryp.in --- Comment #3 from Oleh Prypin --- For me, the cursor appears thinner only at columns 1, 65, 129, ... Another person reported the same (this was in IRC) I'd like to note that I would prefer this to be fixed in the direction of making the cursor always thinner, rather than always thicker. -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 391518] Cursor width in Kate gets narrower every 16 characters
https://bugs.kde.org/show_bug.cgi?id=391518 --- Comment #2 from aryan10jan...@gmail.com --- I'm able to reproduce this bug and I will try to fix the issue. -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 391518] Cursor width in Kate gets narrower every 16 characters
https://bugs.kde.org/show_bug.cgi?id=391518 aryan10jan...@gmail.com changed: What|Removed |Added CC||aryan10jan...@gmail.com Assignee|kwrite-bugs-n...@kde.org|aryan10jan...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 391518] Cursor width in Kate gets narrower every 16 characters
https://bugs.kde.org/show_bug.cgi?id=391518 Christoph Feck changed: What|Removed |Added Keywords||junior-jobs -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 391518] Cursor width in Kate gets narrower every 16 characters
https://bugs.kde.org/show_bug.cgi?id=391518 Christoph Feck changed: What|Removed |Added Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 --- Comment #1 from Christoph Feck --- The issue is that QTextLayout uses QPainter::RasterOp_NotDestination, which means all pixels that are affected by the cursor rect get inverted. Since the cursor rect is positioned at fractional positions, usually 3 instead of 2 pixels get inverted. I suggest to use setRenderHint(QPainter::Antialiasing, false) for the cursor. This way, the rect rasterization will be pixel-aligned and only the intended 2 pixels get inverted. -- You are receiving this mail because: You are watching all bug changes.