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 145302 - Gnome terminal loses focus to actual terminal
Gnome terminal loses focus to actual terminal
Status: RESOLVED DUPLICATE of bug 117240
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-07-02 11:53 UTC by Dave Cridland
Modified: 2005-08-15 22:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dave Cridland 2004-07-02 11:53:42 UTC
Description of Problem:

Gnome terminal loses focus to actual terminal.
Switching tabs, operating menus, etc all work, but
the cursor remains hollow, and no typing goes there.

A [left, primary] click on the terminal widget
itself restores focus and returns application to
normal.

TAB also does the same, since it cycles to the
terminal widget next.

Sacrificing goats has no effect.

Steps to reproduce the problem:
1. Attempt to drag a tab.
2. *or* sloppily click on a tab, moving the mouse
slightly when down. (Same thing, but unintentional).
3. 

Actual Results:

Tabs cannot be dragged. Tabs hold focus.

Expected Results:

Either the tabs could be dragged to a different
Terminal window (Now *that* would be cool), or
else the focus is restored to the terminal itself.

I appreciate this is an accessibility problem -
sloppy clicks lose the focus, resulting in
confusion, but equally, you need to be able to
explicitly focus the tabs to switch between them
without the mouse.

However, there are menus and keyboard shortcuts
available to perform tab switching, and I don't
know of any way to focus the tabs via keyboard in
any case. (Actually, I don't even know of a way to
get to the menu in gnome-terminal without the mouse.)

How often does this happen? 

Every time. This is fully repeatable. (Full moons
as yet untested)

Additional Information:

I mentioned this on an IRC channel, and someone
else (experienced Linux/GNOME user) immediately
commented that they'd had the problem too, figured
out the fix, but couldn't work out what had caused it.

By fluke, it happens that I was *trying* to drag a
tab earlier, and realised what had gone wrong.

I've tested 2.4.2 and 2.6.1, both have this problem.
Comment 1 Olav Vitters 2004-07-09 18:03:27 UTC
There are bugs about tab dragging/reordering, etc. Menu shortcut is F10, but can
be disabled.

I've found a comment from Mariano Suárez-Alvarez about this behaviour:
http://bugzilla.gnome.org/show_bug.cgi?id=105594#c5

Another bug about focus & clicking the active tab: bug 117240
Comment 2 Mariano Suárez-Alvarez 2004-07-10 01:11:18 UTC
Dave, please keep bug reports to one issue per bug. Otherwise it is very hard to
keep track of what bugs are about.

Apart from dragging/reordering/etc (which will eventually land, I guess) and F10, 
which are dealt with elsewhere, the bug here is about the tab getting focus?
If that is the case, I'll move this to gtk, as, as Havoc says in 117240, this
should be fixed at that level...
Comment 3 Kjartan Maraas 2005-08-15 22:44:19 UTC
Marking this as duplicate of bug #117240 since it really is the same issue. I
see firefox also gives focus to the tab title when clicking it. That is if you
click and hold it gets focus, but if you just click on the tab focus remains
with the terminal. 

*** This bug has been marked as a duplicate of 117240 ***