@bariton I tried with those steps before and didn't work, now I tried again isolating both behaviors.
Testing only if I change the window size
Testing only if I change the window state
Testing both (size and state)
And just realized that only the first one works as expected, using that trick keeps the values when I open/close the devTools, but the other ones doesn't
Does it work for you guys if you change only the window state ?
Before the latest updates I used to change manually the bundle.js file, by adding this line
const t = {
bounds: {
left: n.left,
top: n.top,
width: n.right - n.left,
height: n.bottom - n.top
},
+ state: "maximized", // <----- this line
focused: !0,
windowDecoration: !0,
incognito: te.ZP.isIncognitoOrGuest(this.context.vivaldiWindowId),
windowKey: "DevToolsUndocked_" + e.toString()
}
(This is located in the onDevtoolsUndocked handler)
but now, I can't do that because that file doesn't exist anymore, and it's content is being embedded internally by this function __vivaldiRunSnapshot so there is no way to update it manually