CTRL+f shortcut does not work in any application after Oneiric upgrade

Bug #880517 reported by Karl Ostmo
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When running "xev", this is the output when 1) Holding CTRL 2) Pressing the "f" key 3) Releasing the "f" key 4) Releasing CTRL:

--------------------------- BEGIN XEV OUTPUT ---------------------------

KeyPress event, serial 33, synthetic NO, window 0x4800001,
    root 0xb3, subw 0x0, time 141062917, (622,596), root:(634,678),
    state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

FocusOut event, serial 33, synthetic NO, window 0x4800001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 33, synthetic NO, window 0x4800001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys: 0 0 0 0 32 0 0 0 0 0 0 0 0 0 0 0
           0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

KeyRelease event, serial 33, synthetic NO, window 0x4800001,
    root 0xb3, subw 0x0, time 141069517, (622,596), root:(634,678),
    state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

--------------------------- END XEV OUTPUT ---------------------------

When I try a different key combination, like CTRL+t, I see this output in xev:

--------------------------- BEGIN XEV OUTPUT ---------------------------
KeyPress event, serial 33, synthetic NO, window 0x4800001,
    root 0xb3, subw 0x0, time 141195790, (577,569), root:(589,651),
    state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x4800001,
    root 0xb3, subw 0x0, time 141196142, (577,569), root:(589,651),
    state 0x14, keycode 28 (keysym 0x74, t), same_screen YES,
    XLookupString gives 1 bytes: (14) ""
    XmbLookupString gives 1 bytes: (14) ""
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4800001,
    root 0xb3, subw 0x0, time 141196254, (577,569), root:(589,651),
    state 0x14, keycode 28 (keysym 0x74, t), same_screen YES,
    XLookupString gives 1 bytes: (14) ""
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x4800001,
    root 0xb3, subw 0x0, time 141196622, (577,569), root:(589,651),
    state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

--------------------------- END XEV OUTPUT ---------------------------

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

ctrl + f

KeyPress event, serial 36, synthetic NO, window 0x4400001,
    root 0xbd, subw 0x0, time 18055956, (983,208), root:(1050,591),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, ##
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 36, synthetic NO, window 0x4400001,
    root 0xbd, subw 0x0, time 18056036, (983,208), root:(1050,591),
    state 0x4, keycode 41 (keysym 0x66, f), same_screen YES, ##
    XLookupString gives 1 bytes: (06) ""
    XmbLookupString gives 1 bytes: (06) ""
    XFilterEvent returns: False

ctrl + t

KeyPress event, serial 36, synthetic NO, window 0x4400001,
    root 0xbd, subw 0x0, time 18127028, (1105,34), root:(1172,417),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 36, synthetic NO, window 0x4400001,
    root 0xbd, subw 0x0, time 18127116, (1105,34), root:(1172,417),
    state 0x4, keycode 28 (keysym 0x74, t), same_screen YES,
    XLookupString gives 1 bytes: (14) ""
    XmbLookupString gives 1 bytes: (14) ""
    XFilterEvent returns: False

Seems that in your the key f is having problems
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
B Bobo (yout-bobo123) wrote :

I can independently confirm that after upgrading to Oneiric 11.10, the Ctrl-F shortcut is no longer working in any application. Typing Ctrl-F in Firefox should open the text finder window, but it doesn't anymore.

Weirdly, typing Ctrl-F in Oneiric now opens an X-Terminal. Why? I didn't create that shortcut, and when I look at System Settings / Keyboard / Shortcuts / Launchers and Custom Shortcuts etc, there is no shortcut using Ctrl-F. So, where is it?

Changed in ubuntu:
status: Incomplete → Confirmed
tags: added: amd64 oneiric shortcuts ui
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

I cannot reproduce it on my Oneiric installed from scratch, it works as expected.

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Assign to Xorg for a better triage

affects: ubuntu → xorg (Ubuntu)
tags: added: netty2oneiric
removed: amd64 keystroke oneiric shortcuts ui
tags: added: regression-release
tags: added: natty2oneiric
removed: netty2oneiric
tags: added: regression
removed: regression-release
tags: added: regression-release
removed: regression
Revision history for this message
B Bobo (yout-bobo123) wrote :

As the bug reporter said, this bug exists after upgrading to Oneiric. It does not exist for a fresh installation of Oneiric. I have the bug after upgrading from Maverick via Natty to Oneiric. Anybody should be able to reproduce this. Just do a fresh installation of Maverick, upgrade to Natty, and then upgrade to Oneiric.

Revision history for this message
B Bobo (yout-bobo123) wrote :

When I run gconf-editor, I can see lots of relevant apps such as lightdm, metacity, unity*, etc, but none of these have a Ctrl-F shortcut defined. I cannot find a Ctrl-F shortcut definition anywhere in Oneiric. So, where does it come from? How can we delete it?

Does anybody know how to find out where this Ctrl-F shortcut is being defined in Oneiric?

tags: added: shortcuts
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
Can you confirm when you press 'f' key without Ctrl it appear as 'f' and the bug is showing only in association with Ctrl key?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
B Bobo (yout-bobo123) wrote :

1. Pressing 'f' key works ok in any window. It produces an 'f' character. In xev, it produces keysym 0x66 'f'.

2. Pressing 'Ctrl-f' opens an X-Terminal. This happens where ever the pointer is. If the pointer is outside any firefox windows, pressing 'Ctrl-f' still open an xterm. In xev, it produces keysym 0xffe3 Control_L, but when the X-Terminal window opens, the xev window loses the input focus, so it never sees the 'f' key and there is no 'f' keysym event listed.

Something has defined a Ctrl-f shortcut in Unity that works across all applications.

Also, I am using Unity-2D. I can't use Unity-3D or anything else because they are too buggy in Oneiric on this pc. Maybe that makes a difference.

Revision history for this message
B Bobo (yout-bobo123) wrote :

I searched all of the config files in the .gconf and .local directories, but none of them contain a 'Ctrl-f' shortcut definition.

Where else could this shortcut be defined?

Revision history for this message
B Bobo (yout-bobo123) wrote :

Any suggestions?

summary: - CTRL+f does not work in any application after Oneiric upgrade
+ CTRL+f shortcut does not work in any application after Oneiric upgrade
Revision history for this message
B Bobo (yout-bobo123) wrote :

Just tested in Unity-3D. The bug is there too.

Revision history for this message
Omer Akram (om26er) wrote :

Thats definitely not a Unity bug. I have removed unity from affects

no longer affects: unity
no longer affects: unity-2d
Revision history for this message
B Bobo (yout-bobo123) wrote :

@ Omer Akram

Why? Have you seen this bug before, or do you know what is causing it? Please explain.

Revision history for this message
B Bobo (yout-bobo123) wrote :

No answers? I'm re-adding.

Omer Akram (om26er)
Changed in unity:
status: New → In Progress
status: In Progress → Incomplete
Revision history for this message
B Bobo (yout-bobo123) wrote :

@ Omer

Please would you explain why you think this report is incomplete, and please would you answer my questions above in comment #13?

Revision history for this message
Omer Akram (om26er) wrote :

this bug report is marked incomplete for Unity since unity is not a cause of this bug or neither have any relation to this issue, thats why it was removed as affects for this bug in the first place, since you re-added Unity marking it as incomplete is the only way for it to not appear in the NEW untouched bugs list.

Revision history for this message
B Bobo (yout-bobo123) wrote :

@ Omer

With the greatest respect, you haven't given any reasons why you think it is incomplete or answered my other questions which I asked. Please would you explain why you think this report is incomplete, and please would you answer my questions above in comment #13?

Revision history for this message
Omer Akram (om26er) wrote :

B, the way launchpad handles bugs is that you can add several components to a single bug report. In this bug report unity, unity-2d, lightdm, xorg, firefox and gnome-session are marked as "affects" (scroll to the top of the page). As I am responsible for Unity bugs here I marked the unity task as 'incomplete'(so that this bug is cleared from the list of untouched bugs of Unity) since its totally unrelated to this specific bug report. Other than Unity every other component is have the status NEW, that may change when someone who understands the cause of this bug visits this report. Thanks for understanding.

Revision history for this message
B Bobo (yout-bobo123) wrote :

@ Omer

I'm not sure what you mean by "the unity task". Is that jargon? Do you mean the unity project or something else?

And why do you think "the unity task" is "totally unrelated to this specific bug report"?
Perhaps we are talking at crossed purposes.

Revision history for this message
B Bobo (yout-bobo123) wrote :

It's been more than a week with no reply. It's better to keep this issue open on unity as well.

Changed in unity:
status: Incomplete → New
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Closing LightDM task as I see no reason to think this is caused by the display manager.

Changed in lightdm:
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

is that still an issue in precise?

Changed in unity (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
B Bobo (yout-bobo123) wrote :

I found the cause of the problem in my case. As part of the Maverick to Natty to Oneiric upgrade, something installed the xbindkeys package (xbindkeys-1.8.5-1). The file ~/.xbindkeysrc has definitions including:

"xterm"
  c:41 + m:0x4

This unfortunately defines a Ctrl-f shortcut which has global scope (i.e. cuts across all applications) that starts an xterm.
I uninstalled xbindkeys, and of course its global Ctrl-f shortcut is now gone, thus enabling all of the application-specific Ctrl-f shortcuts, such as Ctrl-f for opening the search box in firefox, to work again.

I'm not sure why xbindkeys was installed during the Maverick-Natty-Oneiric upgrade. Anyway, I hope this bug report will help others who may encounter the same issue.

@Karl Ostmo, is xbindkeys installed on your system?

no longer affects: unity-2d
no longer affects: unity
Changed in unity (Ubuntu):
status: Incomplete → Invalid
no longer affects: lightdm
no longer affects: firefox
no longer affects: gnome-session
bugbot (bugbot)
tags: added: oneiric
penalvch (penalvch)
no longer affects: unity (Ubuntu)
no longer affects: xorg (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Revision history for this message
penalvch (penalvch) wrote :

Karl Ostmo, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xorg <replace-with-bug-number>

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in xorg (Ubuntu):
status: New → Confirmed
penalvch (penalvch)
affects: xorg-server → xorg (Ubuntu)
Changed in xorg (Ubuntu):
status: New → Incomplete
Revision history for this message
Karl Ostmo (kostmo) wrote :

I've since done a clean install of Xubuntu 13.10, and this issue is not present.

Revision history for this message
penalvch (penalvch) wrote :

Karl Ostmo, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/880517/comments/26 regarding this being fixed with a fresh install of Saucy. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in xorg (Ubuntu):
status: Incomplete → Invalid
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.