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 337471 - Don't insert a tab stop when pressing tab in chat entry
Don't insert a tab stop when pressing tab in chat entry
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: General
0.10.x
Other Linux
: Normal normal
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-06 09:12 UTC by Wouter Bolsterlee (uws)
Modified: 2006-06-19 17:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Wouter Bolsterlee (uws) 2006-04-06 09:12:34 UTC
Hitting Tab in the message entry should not insert a tab.
Comment 1 Martyn Russell 2006-04-06 13:09:47 UTC
Why not?

This is standard operation in GTK+.

You might be thinking that the message entry is a GtkEntry, but infact, it is a GtkTextView.
Comment 2 Richard Hult 2006-04-06 13:30:44 UTC
I'm a bit annoyed by the insert-tab behavior, just for the reason that tab in a group chat means tab-complete on nicks, and I kind of use it out of habit in regular chats as well.

So I would prefer to make tab do nothing at all (including not changing focus). You can still use ctrl-tab to change focus which is the standard way to switch focus from widgets that eat Tab presses.
Comment 3 Wouter Bolsterlee (uws) 2006-04-06 14:13:18 UTC
If it's a GtkTextView, it's as simple as setting one single property (accepts_tab).
Comment 4 Richard Hult 2006-04-06 14:23:21 UTC
No, we have to "eat" the keypress otherwise it will change focus...
Comment 5 Martyn Russell 2006-04-09 13:11:23 UTC
Ok, I am going to close this, I don't think we should change this, even if we do, we are only going to make it do nothing, and it works fine as is IMO.
Comment 6 Mikael Hallendal 2006-04-16 11:40:10 UTC
I tend to agree with Richard and Wouter on this one for the sake of behaving the same way in the group chat as in regular chat. The text area can not really be compared to other text areas just because it happens to be the same widget. First of all it should be compared to a text entry since that is what the user thinks it is (not sure if text area and text entry behaves differently here).

But I can not think of any time where you would like to insert a tab into a chat sentense.

Reopening and changing the summary.
Comment 7 Richard Hult 2006-06-19 17:32:56 UTC
Fixed (sorry Martyn ;).