! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Cursor isn't displayed
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Alex Dedul 2010-05-01 19:13:38 CEST
Created attachment 2960 
Screenshot with described issue

Hi, i'm using terminal 0.4.4/vte 0.24(tried several other pairs, including terminal from git - result is the same) and for quite some time cursor here isn't displayed. I'm attaching screenshot - current position is only highlighted with cursor color(letter 'r' there), but no cursor.. If any other details needed i can provide them.
Comment 1 Alex Dedul 2010-05-01 19:17:49 CEST
And some more info - test application vte and gnome-terminal show cursor okay.
Comment 2 suertreus 2010-05-05 15:15:05 CEST
A patch applied to vte in response to Gnome bug #602596 [0] causes this issue in Terminal (and, oddly, seems to fix a similar issue in other terminals like mc).  You're seeing it with vte-0.24.0 from the Gentoo gnome overlay because the ebuild there applies the patch.

I'm not sure whether to file a new bug with vte, reopen that bug, or if this can/should be fixed or worked around in Terminal.  FWIW Terminator [1] appears to also be affected #559855 [2].

I have found two workarounds for Gentoo users affected by this.
1. Use an unaffected vte, i.e. v 0.22.5 from the main Portage tree.  You might have to downgrade gtk+ to build the older vte.
2. Make and use a local overlay copy of the v 0.24.0 ebuild from the gnome overlay (you could even revbump to 0.24.1 if so inclined) and modify it to not apply the patch by removing the whole src_prepare() function definition.

[0] https://bugzilla.gnome.org/show_bug.cgi?id=602596
[1] http://www.tenshu.net/terminator/
[2] https://bugs.edge.launchpad.net/terminator/+bug/559855
Comment 3 Alex Dedul 2010-05-05 18:14:39 CEST
(In reply to comment #2)
> I have found two workarounds for Gentoo users affected by this.
> 1. Use an unaffected vte, i.e. v 0.22.5 from the main Portage tree.  You might
> have to downgrade gtk+ to build the older vte.

Yea, with the latest gtk it didn't build.

> 2. Make and use a local overlay copy of the v 0.24.0 ebuild from the gnome
> overlay (you could even revbump to 0.24.1 if so inclined) and modify it to not
> apply the patch by removing the whole src_prepare() function definition.

Hm, tried vte 0.24.1 with and without that patch from [1] - nothing changed here.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=602596#c6
Comment 4 Alex Dedul 2010-05-05 18:19:52 CEST
(In reply to comment #3)
> (In reply to comment #2)
> > 2. Make and use a local overlay copy of the v 0.24.0 ebuild from the gnome
> > overlay (you could even revbump to 0.24.1 if so inclined) and modify it to not
> > apply the patch by removing the whole src_prepare() function definition.
> 
> Hm, tried vte 0.24.1 with and without that patch from [1] - nothing changed
> here.
> 
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=602596#c6

Ah, i see, after some tweaks it started to work okay without that patch. Thank you..
Comment 5 Alex Dedul 2010-05-05 18:27:41 CEST
Yay, cursor is back, happy to see it again :). Okay, seems like then its not really terminal related issue, but more Gentoo's overlay/ebuild stuff, closing it for now then..
Comment 6 xfcebugs 2010-06-03 12:17:08 CEST
I'm using plain sources of latest vte 0.24.1 and Terminal 0.4.5 and the cursor is not shown. No patches have been applied to these sources, as I build everything myself ala Linux From Scratch.
Comment 7 xfcebugs 2010-06-07 18:31:42 CEST
(In reply to comment #6)
> I'm using plain sources of latest vte 0.24.1 and Terminal 0.4.5 and the cursor
> is not shown. No patches have been applied to these sources, as I build
> everything myself ala Linux From Scratch.

Please, forget what I said, it works now.
Comment 8 Michał Górny 2010-06-11 13:37:30 CEST
I would like to notice the mentioned patch has been commited upstream [1] and vte-0.25.1 is now affected as well. I've already opened a new bug at GNOME bugzie [2], and there's a related one on Gentoo's [3]. I guess it might be a good idea to reopen this one as well.

[1] http://git.gnome.org/browse/vte/commit/?id=b58bc5359085d2c9233ac6d6a265645bfa217e82
[2] https://bugzilla.gnome.org/show_bug.cgi?id=621298
[3] http://bugs.gentoo.org/show_bug.cgi?id=323443
Comment 9 Pacho Ramos 2010-06-19 11:13:33 CEST
Please reopen this bug since it will affect as soon as a new vte stable version is released

This affects to people running *official* vte >=0.25.1
Comment 10 Alex Dedul 2010-06-19 11:14:41 CEST
Okay, reopening.
Comment 11 Pacho Ramos 2010-06-19 11:45:47 CEST
Thanks :-)
Comment 12 Tomasz Paweł Gajc 2010-08-01 14:05:32 CEST
Created attachment 3050 
vte without any arguments

vte without any arguments
Comment 13 Tomasz Paweł Gajc 2010-08-01 14:06:30 CEST
Created attachment 3051 
vte with arguments -r and --reversed

vte with arguments -r and --reversed
Comment 14 Tomasz Paweł Gajc 2010-08-01 14:08:17 CEST
Looks like this bug is still valid, and it seems like vte is a real culprit here
(Check the attached screenshots)

vte-0.25.1-1mdv2011.0
gtk+2.0-2.21.5-2mdv2011.0
terminal-0.4.5-1mdv2011.0
Comment 16 Pacho Ramos 2010-09-03 12:22:25 CEST
This was fixed in vte
https://bugzilla.gnome.org/show_bug.cgi?id=621298#c6

Can be closed then
Comment 17 M. H. Trinh 2010-12-01 19:31:34 CET
Created attachment 3227 
vte 0.24 : invert color when cursor highlight
Comment 18 M. H. Trinh 2010-12-01 19:36:25 CET
Created attachment 3228 
vte 0.26 : BUG invert color when cursor highlight

Hi,

I have a bug a bit similar : it's about when the cursor highlight a character in the command line. Normally, the color is inverted (http://bugzilla.xfce.org/attachment.cgi?id=3227). But since vte 0.25.x, the color is not inverted anymore. 

I'm using terminal 0.4.5-1

Bug #6423

Reported by:
Alex Dedul
Reported on: 2010-05-01
Last modified on: 2010-12-01

People

Assignee:
Nick Schermer
CC List:
6 users

Version

Attachments

Screenshot with described issue (1.18 KB, image/png)
2010-05-01 19:13 CEST , Alex Dedul
no flags
vte without any arguments (682.91 KB, image/png)
2010-08-01 14:05 CEST , Tomasz Paweł Gajc
no flags
vte with arguments -r and --reversed (686.92 KB, image/png)
2010-08-01 14:06 CEST , Tomasz Paweł Gajc
no flags
vte 0.24 : invert color when cursor highlight (22.36 KB, image/png)
2010-12-01 19:31 CET , M. H. Trinh
no flags
vte 0.26 : BUG invert color when cursor highlight (14.41 KB, image/png)
2010-12-01 19:36 CET , M. H. Trinh
no flags

Additional information