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 695561 - terminal loss of focus involving shortcuts and gitk/wish
terminal loss of focus involving shortcuts and gitk/wish
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-10 12:54 UTC by Clemens Buchacher
Modified: 2021-07-05 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
xev output (627 bytes, text/plain)
2013-03-10 12:55 UTC, Clemens Buchacher
Details

Description Clemens Buchacher 2013-03-10 12:54:12 UTC
* Steps to reproduce

Preparation:
- Configure xterm as a keyboard shortcut: <Icon in top-left corner> -> System Settings -> Keyboard -> Shortcuts -> Custom Shortcuts -> <+> -> Name: terminal, Command: xterm -> Apply. Click on "Disabled" next to the newly added xterm command. Press Ctrl+Alt+X.
- install xterm and gitk.
- create an arbitrary git repo

Always reproducible:
1. Start xterm using Ctrl+Alt+X
2. Cd to arbitrary git repo
3. gitk
4. Exit gitk
5. Try to type anything

* Expected result

Typing in step 5 produces output in the xterm.

* Actual result

Typing produces no output.

* Notes

- After clicking on a different window and then back on the xterm, typing works again.
- Attached is output of xev, which shows that xterm receives focus as expected.
- The same issue applies to different terminals such as gnome-terminal or rxvt.
- The issue disappears when xterm is started from Activities menu instead of using the keyboard shortcut.
- This issue does not happen with just wish instead of gitk (gitk uses tk wish), except in fallback mode (gsettings set org.gnome.desktop.session session-name 'gnome-fallback'), where the same thing happens with just wish. In fallback mode the issue is also present when starting xterm from the Applications menu.
- This issue is reproducible with a clean configuration (rm -f ~/.config/dconf/user)
Comment 1 Clemens Buchacher 2013-03-10 12:55:43 UTC
Created attachment 238519 [details]
xev output

Output of "xev -event_mask focus -event visibility -event structure -event substructure -event expose -event owner_grab_button -id 0x2e00022" while starting and exiting gitk from xterm window 0x2e00022.
Comment 2 GNOME Infrastructure Team 2021-07-05 14:04:42 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.