no cursor in 0.92

Bug #559855 reported by Guillaume ZITTA
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Gnome Virtual Terminal Emulator
Fix Released
Medium
Terminator
Invalid
Medium
Unassigned

Bug Description

I've got no cursor :(

gentoo ~amd64
vte 0.24.0
Python 2.6.5
gnome 2.30

Revision history for this message
Guillaume ZITTA (zitta-guillaume) wrote :
Revision history for this message
Marc-Antoine Perennou (keruspe) wrote :

Same problem here. Actually, the foreground of the cursor takes the color its background should take instead

Revision history for this message
Guillaume ZITTA (zitta-guillaume) wrote :

workaround :
- found a black image and put it as background
- put white as foreground and background color

invert black and white if you prefer white bg

Revision history for this message
Chris Jones (cmsj) wrote :

What I don't quite understand from the -d output is:

ConfigBase::get_item: ConfigBase::get_item: foreground_color found in profile default: #aaaaaaaaaaaa
ConfigBase::get_item: ConfigBase::get_item: background_color found in profile default: #000000000000
ConfigBase::get_item: ConfigBase::get_item: cursor_color found in profile default: #aaaaaaaaaaaa

This should have set the cursor to be the same colour as the foreground text. Very odd.

Revision history for this message
Marc-Antoine Perennou (keruspe) wrote :

By the way, if it can helps, I upgraded to 0.92 when I upgraded to xorg 1.8 so maybe it's related ?
Which version of xorg are you running on, Guillaume ?

Revision history for this message
Marc-Antoine Perennou (keruspe) wrote :

(just tested with terminator-0.91, cursor works properly, but background doesn't. upgrade back to 0.92, background works properly but cursor doesn't)

Revision history for this message
Chris Jones (cmsj) wrote :

Keruspe: That's a fascinating data point. How would you feel about a bit of bisecting? :D

Revision history for this message
Guillaume ZITTA (zitta-guillaume) wrote :

I use xorg-server 1.7.6, but I think it is related to vte 0.24 or gtk 2.20
I recently upgraded to gnome 2.30

Revision history for this message
Guillaume ZITTA (zitta-guillaume) wrote :

btw, I have the same problem with 0.91 and 0.92
0.14 works

Revision history for this message
Marc-Antoine Perennou (keruspe) wrote :

actually, when cursor_color is set in my config file :

keruspe@Lou ~ % terminator -d 2>&1 | grep cursor
ConfigBase::get_item: ConfigBase::get_item: cursor_color found in profile default: #00009671dc28
ConfigBase::get_item: ConfigBase::get_item: cursor_shape found in profile default: underline
ConfigBase::get_item: ConfigBase::get_item: cursor_blink found in profile default: False

but cursor background is black (as my background) and cursor foreground is the color its background should be.
then, if I set cursor_color = without any value in my config file, its background color is the one from the main foreground color and it foreground color is black :

keruspe@Lou ~ % terminator -d 2>&1 | grep cursor
ConfigBase::get_item: ConfigBase::get_item: cursor_color found in profile default:
ConfigBase::get_item: ConfigBase::get_item: cursor_shape found in profile default: block
ConfigBase::get_item: ConfigBase::get_item: cursor_blink found in profile default: False

What I meant for 0.91 is that, because of the background not working properly and being a light-colored one, I could see a black cursor on it. It's not really working properly because it should be in another color, but I can see it.

As a workaround for now I'll keep an empty string as my cursor_color

Revision history for this message
Marc-Antoine Perennou (keruspe) wrote :

(hum, the "underline" part was just a test, it usually is "block")
if you want me to test some tricks, just ask it

Revision history for this message
Guillaume ZITTA (zitta-guillaume) wrote :

another work around, comment this in terminal.py
# if self.config['cursor_color'] != '':
# self.vte.set_color_cursor(gtk.gdk.color_parse(
# self.config['cursor_color']))

Revision history for this message
Chris Jones (cmsj) wrote :

Keruspe: I'm not really sure what you mean by "cursor foreground" and "cursor background" - the cursor only has one colour.

I'm wondering if the problem here is simply that the default cursor_color config value happens to be the same as your background colour?

Revision history for this message
Marc-Antoine Perennou (keruspe) wrote :

cursor foreground color = color of a character when the cursor is on it
cursor background color = cursor color
that is what I meant, sorry.
actually, whatever color I choose for cursor color, except '', the cursor will be black, and what I call the "cursor foreground color" will be the color I chose for the cursor.

Revision history for this message
Chris Jones (cmsj) wrote : Re: [Bug 559855] Re: no cursor in 0.92

Aha, thanks for the extra detail. Unfortunately I still don't know why
this is happening for you, but at least I now understand the symptoms :)

Chris Jones

On 17 Apr 2010, at 09:24, Keruspe <email address hidden> wrote:

> cursor foreground color = color of a character when the cursor is on
> it
> cursor background color = cursor color
> that is what I meant, sorry.
> actually, whatever color I choose for cursor color, except '', the
> cursor will be black, and what I call the "cursor foreground color"
> will be the color I chose for the cursor.
>
> --
> no cursor in 0.92
> https://bugs.launchpad.net/bugs/559855
> You received this bug notification because you are a member of
> Terminator, which is subscribed to Terminator.

Revision history for this message
Chris Jones (cmsj) wrote :

I'm curious if this happens with vte 0.23.x

Changed in terminator:
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → Medium
milestone: none → 1.0-beta
Revision history for this message
Suertreus (suertreus) wrote :

This bug is related to a change made in vte in v 0.24.1 or 0.25; see Gnome bug #602596 [0]. The change is backported by Gentoo's vte-0.24.0 package (from the gnome overlay), so Gentoo users might be seeing it in that version as well.

The same problem manifests in Xfce's Terminal and is documented in Xfce bug #6423 [1]. I suggested some workarounds there.

[0] https://bugzilla.gnome.org/show_bug.cgi?id=602596
[1] http://bugzilla.xfce.org/show_bug.cgi?id=6423

Revision history for this message
Chris Jones (cmsj) wrote :

Suertreus' comment suggests this is a VTE bug, so I'm speculatively shifting the bug over to that. if people are able to still reproduce this with fixed versions of VTE then we should re-open this and investigate further.

Changed in terminator:
status: Confirmed → Invalid
Changed in vte:
status: Unknown → Fix Released
Changed in vte:
importance: Unknown → Medium
Revision history for this message
Chris McCauley (chris-avondalepark) wrote :

This is a problem for me using terminator 0.95 with vte 0.25.1 on Mac OSX

This bug makes terminator pretty unusable on Mac OSX. Luckily this fix works form me.

another work around, comment this in terminal.py
# if self.config['cursor_color'] != '':
# self.vte.set_color_cursor(gtk.gdk.color_parse(
# self.config['cursor_color']))

Chris Jones (cmsj)
Changed in terminator:
milestone: 1.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.