Bug 255071 - Web Inspector: expanded sections of Storage should not collapse
Summary: Web Inspector: expanded sections of Storage should not collapse
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 248856 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-05 17:52 PDT by Karl Dubost
Modified: 2024-03-07 02:24 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dubost 2023-04-05 17:52:43 PDT
1. Go to https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:solve-equations-inequalities/x2f8bb11595b61c86:linear-equations-variables-both-sides/v/equations-3
2. Open Web Inspector
3. Go to the storage
4. Open the cookies folder on the left column
5. Select www.khanacademy.org
6. The cookies are displayed on the right side
7. reload

Expected:
1. The cookies folder stays expanded.
2. Only the values are refreshed instead of the full UI.

Actual:
The full UI is being refreshed and the folder being closed.
Comment 1 Radar WebKit Bug Importer 2023-04-05 17:56:27 PDT
<rdar://problem/107687975>
Comment 2 Razvan Caliman 2024-02-19 13:01:21 PST
This can probably be fixed with an extra entry in WI.settings [1] or WI.objectStores [2] to remember the collapsed status of the tree outline items in the Storage navigation sidebar.

[1] https://github.com/WebKit/WebKit/blob/af34d92a2f7f2c772006b4ef840dda1b89c814f3/Source/WebInspectorUI/UserInterface/Base/Setting.js#L186-L233 

[2] https://github.com/WebKit/WebKit/blob/af34d92a2f7f2c772006b4ef840dda1b89c814f3/Source/WebInspectorUI/UserInterface/Base/ObjectStore.js#L258-L284
Comment 3 Karl Dubost 2024-03-06 16:14:21 PST
*** Bug 248856 has been marked as a duplicate of this bug. ***
Comment 4 EWS 2024-03-07 02:24:57 PST
Committed 275783@main (e03b5777dbef): <https://commits.webkit.org/275783@main>

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