DevTools window doesn't remember the maximized state

Description of the issue:
Each time I open the DevTools window (F12), it opens normally instead of maximized. The position and size are remembered, but the maximized state is not.
In normal state (un-maximized) I can position and resize DevTools anywhere I want and Brave will remember the last position and size. But, if I maximize the window and close it, Brave will open it un-maximized next time.

How can this issue be reproduced?

  1. Configure the DevTools to open as a separate window (dock side: undock into separate window).
  2. Press F12 to open the DevTools
  3. Maximize the DevTools window
  4. Close the DevTools window
  5. Open the DevTools window again (F12)

Expected result:
When I maximize the DevTools window, it should be maximized every time I open it. Instead, the DevTools window always opens normally, not maximized.

Brave Version( check About Brave):
Version 1.67.119 Chromium: 126.0.6478.114 (Official Build) (64-bit)

Additional Information:
Fedora 40, latest version, updated. Gnome 46.1. The bug is present on both X11 and Wayland. Brave is installed by following the official tutorial for Fedora.