Bug 253273

Summary: Web Inspector: (Regression: 254636@main) Mini console always opens when choosing "Inspect Element", even if it was previously closed
Product: WebKit Reporter: Michael Bailey <bugzilla>
Component: Web InspectorAssignee: Patrick Angle <pangle>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: All   
OS: All   
Attachments:
Description Flags
Screen recording of bug none

Description Michael Bailey 2023-03-02 15:30:56 PST
Created attachment 465267 [details]
Screen recording of bug

STR:
1. "Inspect Element" anywhere on a page.
2. Note that the mini console has opened. Close it.
3. Close Web Inspector.
4. "Inspect Element" again.

Expected:
Mini console should stay closed once the user closes it, unless they explicitly open it again.

Actual:
Mini console opens every time the user chooses "Inspect Element". Also note:

- Step 3 above is not actually necessary; it will reopen even if the Web Inspector is not closed in between inspecting elements.
- The mini console sometimes opens to a different height, seemingly at random.

See attached screen recording for a demo.
Comment 1 Radar WebKit Bug Importer 2023-03-05 11:36:16 PST
<rdar://problem/106260652>
Comment 2 Patrick Angle 2023-03-24 14:40:07 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11951
Comment 3 EWS 2023-03-24 18:51:08 PDT
Committed 262106@main (ed99b93877dd): <https://commits.webkit.org/262106@main>

Reviewed commits have been landed. Closing PR #11951 and removing active labels.