Wishlist: Change cursor depending on focussed term

Bug #1724440 reported by Dave
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Terminator
New
Undecided
Unassigned

Bug Description

In the GTK2 version, when using the block cursor, the unfocussed terminals would have an empty block (just an outline), so that you could see very easily which terminal had focus.

The GTK3 version doesn't do this - it shows a solid block on all terminal windows whether focussed or not. Would it be possible to add this back in?

This obviously wouldn't work with the I beam cursor though. Perhaps it would be possible to hide the cursor in unfocussed terminals or something?

Thanks

Tags: cursor focus
Revision history for this message
Dave (dave-unrealize) wrote :

I've just changed from block to I-Beam and back to block and indeed it is showing as the outline in unfocussed terminals.

It would still be nice to be able to hide the I-Beam in unfocussed terminals though.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

This mainly depends on VTE. It offers three modes:

- Block: solid when focused, outlined when unfocused
- I-beam
- Underline

I think it didn't change from the GTK2 times (maybe I-beam wasn't yet available there, I'm not sure).

Terminator _could_ switch among these three on focus in/out but it probably wouldn't make too much sense. Introducing any other mode (e.g. to remove the cursor entirely) would require a VTE change.

Seeing solid blocks in all terminals is a bug. Theoretically there's no way toggling Terminator's setting back n forth could change the beahvior. Probably you're hitting https://bugzilla.gnome.org/show_bug.cgi?id=677329 which was fixed in GTK 3.18.9, and which is a randomly occurring bug so you might accidentally see it being gone (for a while) after changing your settings.

What's your GTK version? If 3.18.9 or newer then further investigation is needed, probably there's still some leftover focus bug in GTK.

Also: Do you experience the bug if you have
- multiple Terminator windows, each with a single terminal only?
- a single Terminator window with multiple panes?

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Thinking about it a bit more... I've filed https://bugzilla.gnome.org/show_bug.cgi?id=789137.

Revision history for this message
Dave (dave-unrealize) wrote :

I have GTK 3.18.9

I tested with 2 terminator single windows and it worked fine.
When I was hitting the problem I was using a single terminator divided into 4.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

I have no idea how it could be broken with panes, that should work even with older GTKs :)

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.