After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 603713 - ibeam/underline cursor broken with large inner-border
ibeam/underline cursor broken with large inner-border
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks: 471920
 
 
Reported: 2009-12-03 17:55 UTC by Christian Persch
Modified: 2009-12-03 18:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2009-12-03 17:55:57 UTC
Put this in ~/.gtkrc-2.0:

style "terminal" { VteTerminal::inner-border = { 20, 20, 20, 20 } } class "*" style "terminal"

(one line), then start vteapp with "--cursor-shape ibeam" (or "underline).

Results:
Cursor doesn't show up or draws at the wrong position. When the prompt is on the last line of the terminal (e.g. after a ls in a full dir), this is esp. noticeable as the cursor shows in the inner border area.
Comment 1 Behdad Esfahbod 2009-12-03 18:29:19 UTC
Fixed.  Now lemme see if I can make it respect cursor aspect ratio and color from the style also.  Try with:

style "cursor" { 
        GtkWidget::cursor-aspect-ratio = 0.1 
        GtkWidget::cursor-color = "#c00040" 
        bg[SELECTED] = "#859fb8" 
} 
class "*" style "cursor"