Closed Bug 920582 Opened 11 years ago Closed 9 years ago

Cmd-Opt-I keyboard shortcut for Inspector breaks element inspection

Categories

(DevTools :: Inspector, defect)

25 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 921605

People

(Reporter: david, Unassigned)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release)
Build ID: 20130917123208

Steps to reproduce:

Loaded inspector on Mac with Cmd-Opt-I keyboard shortcut


Actual results:

Inspector will only allow selection of root body element


Expected results:

Inspector should select elements as mouse moves over them (as continues to happen if Inspector is launched from Tools menu)
I can reproduce on Linux too, in Firefox 25 and a recent Nightly. Mouseover selection of elements only works after the Inspector is opened from the menu, not when using the keyboard shortcut.

It works as expected in Firefox 24.
Status: UNCONFIRMED → NEW
Component: Untriaged → Developer Tools: Inspector
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
This appears to be related to bug 891556 and bug 892168. The shortcut key for the Inspector was changed from I to C, and Ctrl+Shift+I/Cmd+Opt+I now just toggles the devtools open/closed, rather than opening the Inspector.

So if I understand it correctly, you should instead be able to use the new shortcut (Ctrl+Shift+C/Cmd+Opt+C) to open the Inspector and select an element.

The new shortcut key doesn't work for me in Firefox 25 though.
I wonder if it's getting confused if the same shortcut is assigned to two things or some such - as pressing Cmd-Opt-C is both loading the Inspector and doing the broken-select-element behaviour. Cmd-Opt-C isn't doing anything here, certainly.
(In reply to david from comment #3)
> I wonder if it's getting confused if the same shortcut is assigned to two
> things or some such - as pressing Cmd-Opt-C is both loading the Inspector
> and doing the broken-select-element behaviour. Cmd-Opt-C isn't doing
> anything here, certainly.

Sorry, I meant Cmd-Opt-I is doing both!
The bug here is that the Ctrl-Shift-C shortcut that was implemented in bug 891556 doesn't work in Firefox 25.

STR:

1. Start Firefox 25b3 using a new profile
2. Load any web page
3. Press Ctrl-Shift-C

ER:

The Inspector opens and lets you select an element to inspect. To quote from bug 891556:

"If the toolbox is open, this will switch to the Inspector tab and start the highlighter. If the toolbox is closed, it will open the devtools window with the Inspector tab selected and start highlighting. If the inspector tab is already open, this will just start highlighting. And if the highlighter happens to be on, this will stop highlighting."

AR:

Nothing happens.
This seems to be an issue with the en-gb version of Firefox.

[12:25]	<mjh563>	could it be a l10n issue?
	I'm using the en-gb version of firefox 25
[12:42]	yes, the problem is with the localised version
[12:43]	I tried the us version and the ctrl-shift-c shortcut works ok
[12:44]	<KWierso>	mjh563: add that information to the bug? :)
	looks like 920582's reporter is also from the UK
Yes, it appears to be a localisation issue. David, can I assume you're also using an en-GB localised build?

I've filed bug 921605 to get it corrected. Once that's fixed, you should be able to select elements using Cmd-Opt-C.
Not totally sure how to check, but I'm almost 100% certain I'll be using en-gb, aye :)
Is this really an en-GB localization problem? I am using en-US (on OSX) and CMD+OPT+C does not toggle the Inspector for me.
Marking as DUPLICATE of Bug 921605 which seems to fix the issue.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.