You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spot that during clicking on arrow down key, garbage is left on previous lines (see below screenshot from the Demo app). When I resize the frame (I assume during paint), the garbage disappears. VK_UP doesn't have such effect.
I am using MacOS 11.4; jdk1.8.0_251.jdk.
The text was updated successfully, but these errors were encountered:
Can you debug and inspect the font being used (family, size, any other interesting tidbits?). I'm assuming it's the default (Menlo or Monaco or something similar) but just so I have the data point. This looks like a regression though I can't reproduce it. The fix is likely changing the caret height to be 1 pixel shorter.
Also, does the overwrite cursor do the same thing?
Changing ConfigurableCaret.java (lines 474-479) to this (decreasing caret height by one pixel) fixed the issue for me:
// A thicker vertical line.
case THICK_VERTICAL_LINE_STYLE:
g.drawLine(r.x,r.y+1, r.x,r.y+r.height);
r.x++;
g.drawLine(r.x,r.y+1, r.x,r.y+r.height);
break;
I spot that during clicking on arrow down key, garbage is left on previous lines (see below screenshot from the Demo app). When I resize the frame (I assume during paint), the garbage disappears. VK_UP doesn't have such effect.
I am using MacOS 11.4; jdk1.8.0_251.jdk.
The text was updated successfully, but these errors were encountered: