Bug 258930 - [GTK] Automatically save and restore the layout mode and dimensions of the web inspector
Summary: [GTK] Automatically save and restore the layout mode and dimensions of the we...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-06 07:35 PDT by Jeff Fortin
Modified: 2023-07-06 07:35 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin 2023-07-06 07:35:06 PDT
Originally filed at https://gitlab.gnome.org/GNOME/epiphany/-/issues/2120

When calling the web inspector (whether through the menus or by pressing `F12`), it always shows up as a split pane at the bottom of the current window, with its own arbitrary sizing/positioning, which is never what I want, and it is tedious to re-place it every time.

Like other browsers, Epiphany should automatically remember and restore:

* The type (vertical vs horizontal split, vs floating window)
* The pane's position (in the case of horizontal or vertical split)
* The floating window's sizing (width and height).
* I reckon the window position can't really be remembered because that's not supported on Wayland, so I could live with that part not being remembered, but if it can be done at least for Xorg users that's a nice touch (as long as it does not end off off-screen in the case of multi-monitors vs laptop scenarios...)

I don't think I'd need per-webapp settings, probably application-wide would be OK/expected?

---

Tested on Epiphany 44.3, WebKitGTK 2.40.3, Fedora 38 with Wayland GNOME session