Can't inspect elements in v1.11 dev tools

Steps to reproduce

  1. Open a note in desktop Obsidian 1.11.
  2. Press Ctrl+Shift+I to open dev tools.
  3. Click on the inspect button, then click on an element inside a note.

Did you follow the troubleshooting guide? [Y/N]

Reproduced in sandbox.

Expected result

For the inspect function to select the element and show it in its expanded HTML code context, as usual.

Actual result

While hovering the element, it is correctly shown in its code context, but once the user clicks, the whole note is highlighted with blue, and the HTML code view jumps back to the top level, collapsed state.

I can’t always reproduce it, might have something to do with switching between multiple notes before the bug occurs. In my actual vault the code shown after clicking are sometimes parts of a note open in the background, not the active one.

Environment

SYSTEM INFO:
Obsidian version: v1.11.4
Installer version: v1.11.4
Operating system: Windows 10 Enterprise 10.0.19045
Login status: not logged in
Language: en-GB
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

when hovered:

when clicked:

1 Like

this is a chrome/electron problem and we can’t do anything about it.

If I roll back to a previous installer version would that solve it, or do all Obsidian 1.11 versions, regardless of installer version, have this issue?

The issue is in the installer version, not the Obsidian version.

You can install the 1.10.6 installer (no issues with the element inspector) then download 1.11.4 and future updates in-app for the time being.

1 Like

Thank you for saving my sanity :smiley:

Indeed. I’ve done the same. It was quite frustrating for the element picker to work twice, not work five times (or whatever), and then work again.

According to a web search, the chromium folks are aware of the regression, so we just have to wait a bit for the fix to filter down.

1 Like

In Obsidian 1.11, the inspect tool highlights the whole note instead of the element when multiple notes are open. Open only one note at a time or restart Obsidian before inspecting. Report this with steps to help the devs fix it.

Could you link to the Chromium issue so we can track it? Thanks.

1 Like

Does downloading and installing 1.11.7 fix this problem?

We can’t reproduce anymore.

Also which OS are you running?

Unfortunately it’s still happening on macOS for me. This is using the public 1.11.7 installer downloaded from obsidian.md.

SYSTEM INFO:
	Obsidian version: 1.12.1
	Installer version: 1.11.7
	Operating system: Darwin Kernel Version 24.6.0: Wed Nov  5

I can test on Windows tomorrow.

thank you, I don’t know why some people can repro and others can’t

As mentioned earlier, it’s inconsistent. I played around on macOS a bit more yesterday and the picker started working for a while and then randomly stopped again (showing the blue overlay and the Elements tab not jumping to the section).


That said, it seems to be alright in Windows with ~5 minutes of clicking around.

update: It’s still happening on Windows as well.

Obsidian_bsQIguLdfA

SYSTEM INFO:
	Obsidian version: 1.12.1
	Installer version: 1.11.7
	Operating system: Windows 11 Pro 10.0.26200
3 Likes