GNOME Bugzilla – Bug 700775
gnome-terminal changes cursor color after terminal tab switch
Last modified: 2013-10-09 12:07:55 UTC
The bug was originally reported here for gnome-terminal 3.0.0, it's not fixed in 3.8.x (it is not related to Ubuntu, same bug with Gentoo and Arch): https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/842730 When you change the color of the cursor (thanks to 'echo -ne "\033]12;Green\007"' for example), un-focusing the terminal (changing active tab or active window) changes the color of the cursor into black. Coming back to the terminal let the cursor black. The bug does not appear in vte alone. AFAIK, the "black" color is not related to the color theme of gnome-terminal.
Not reproducible here (using vte + g-t git master). Can you perform the steps described at https://live.gnome.org/Terminal/ReportingBugs to make sure this is not a downstream bug?
I've tried the git master version of gnome-terminal, with a brand new user with default gnome-shell, and I have the bug. As the bug has been originally reported for Ubuntu, and as I can reproduce it on two different computers with Arch and Gentoo, I don't think that it's a downstream bug. I've also tried with bash and zsh, same bug. Here are the steps to reproduce the bug for me: - open gnome-terminal - type ' echo -ne "\033]12;red\007" ': the cursor becomes red - click on another window: the cursor becomes an unfilled black rectangle - click on the gnome-terminal window: the cursor becomes an filled black rectangle - type anyting: the cursor stays black In the original bug, the same behaviour appears when switching tabs, but I can't reproduce this case myself.
Which vte version is that with? You need >= 0.32.0 . Using your steps, the cursor becomes a unfilled *red* rect in step 3, and a filled *red* rect in steps 4 and 5. I'm using F17 using metacity, so the missing 'backdrop' support could be a deciding factory. However the original launchpad report is on 3.0 which doesn't do that.
(In reply to comment #3) > Which vte version is that with? You need >= 0.32.0 . I have 0.34.5. > Using your steps, the cursor becomes a unfilled *red* rect in step 3, and a > filled *red* rect in steps 4 and 5. It's *black* for me, no typo. > I'm using F17 using metacity, so the > missing 'backdrop' support could be a deciding factory. However the original > launchpad report is on 3.0 which doesn't do that. Well… You're right, maybe the bug reported on launchpad is not the same as this one. I've tested with metacity, and I *can't* reproduce the bug. The problem only happens with gnome-terminal + gnome-shell/mutter.
*** This bug has been marked as a duplicate of bug 705985 ***