Open Bug 1592716 Opened 6 years ago Updated 3 years ago

Inspector doesn't stay on top after clicking on an element. Using keybind on a mouse(Ctrl+Shift+C) to trigger inspector doesn't bring the inspector into view.

Categories

(DevTools :: Inspector, enhancement, P2)

70 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: peterchang664, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

Steps to reproduce:

I have Ctrl+Shift+C bound to one of the buttons on a Logitech Master 2S to trigger the inspector from anywhere on the page. Simply by clicking the button on my mouse will turn on inspector.

Actual results:

The inspector goes behind the page when an element is clicked and the inspector doesn't come to the foreground when inspector is triggered. (Refer to the behavior on Google Chrome).

Expected results:

Inspector should either stay in the front when an element is clicked or the inspector should come to the foreground when it is triggered.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Inspector
Product: Firefox → DevTools

Thanks for filing this issue.
I'm not 100% sure I understand the problem though. However it reminds me of the change described in bug 1491874 comment 4, which was implemented in Firefox 71.
Could you please let me know if this is what you have in mind?

Flags: needinfo?(peterchang664)

(In reply to Patrick Brosset <:pbro> from comment #2)

Thanks for filing this issue.
I'm not 100% sure I understand the problem though. However it reminds me of the change described in bug 1491874 comment 4, which was implemented in Firefox 71.
Could you please let me know if this is what you have in mind?

(FF version 70.0.1) is what I am on right now. Is FF 71 beta/nightly builds?

Yes #2 sounds like the expected behavior that should happen. Right now when using the CTRL+SHIFT+C to activate the inspector tool window will not bring the inspector window into focus and after selecting an element with the element picker the inspector window will lose focus and move behind the browser window. Just a tedious back and forth when inspecting elements.

Flags: needinfo?(peterchang664)

Ok thank you for getting back to me. I tested and indeed, the devtools window does not come back to the front after an element is selected like #2 suggested.
Martin: do you remember if we discussed anything after bug 1491874 comment 4 that might have made us not implement #2? If not, it's either a bug with the initial implementation or a regression.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mbalfanz)
Priority: -- → P2

Hmm no, it should behave as described in #2. So it seems like a bug or regression :/

Flags: needinfo?(mbalfanz)

Thank you guys for acknowledging the issue, appreciate it!

CTRL+SHIFT+C brings the inspector window into focus for me. After selecting an element with the element picker, the inspector window doesn't lose focus - unless this setting is set to 'Separate window':

https://www.dropbox.com/s/u95qix71go4dxkq/Screenshot_3.png?dl=0

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.