⌘+L shortcut not working in Chrome

Quite frequently I experience cases, where the +L shortcut will not work in Chrome.

This shortcut does the same in Safari, Chrome and Firefox. It jumps to the URL bar of the browser.

How can I troubleshoot this problem?


Solution 1:

Several postings on the Chromium issue tracker, such as this one and this one, suggest that this is because some plugins (such as Flash) are consuming the keystrokes whilst running. Does this happen whilst Flash is running, or can you pinpoint an occasion when it always happens if a certain plugin is loaded?

Solution 2:

Using something like fastscripts, override the shortcut of your liking.

An app like fastscripts listens globally (overrides both flash and chrome) but will act locally. It will do exactly what you want in this case.

tell application "Google Chrome"
    activate
end tell

tell application "System Events"
    tell process "Google Chrome"
        tell menu bar 1
            tell menu bar item "File"
                tell menu "File"
                    click menu item "Open Location…"
                end tell
            end tell
        end tell
    end tell
end tell

Solution 3:

Use Tab or Shift-Tab to deselect (exit) the Flash element. Once exited, the element should no longer capture your key-presses, so -L should work again!