+3

Restoring a closed window or tab fails when window/tab is 50% outside the visible screen space

dharmaturtle hace 3 años actualizado por Greg B ayer a las 10:41 3

I use a 4k monitor with my laptop. Sometimes I "suspend" a chrome window while it's maximized on my 4k screen. I then disconnect the monitor (e.g. I'm at the dinner table) and try to restore the window. It fails. The following error appears in chrome://extensions/?errors=eggkanocgddhmamlbiijnphhppkpkmkl

Unchecked runtime.lastError: Invalid value for bounds. Bounds must be at least 50% within visible screen space.

This error is due to a change in Chrome (git commit as of Mar 29 2022): https://chromium.googlesource.com/chromium/src/+/d51682b36adc22496f45a8111358a8bb30914534%5E%21/

Workaround: in Tabs Outliner's options, uncheck "Restore saved windows in the original position and size."

+1

Some more programming details, it causes the `window.chrome.windows.create` on line 512 of `treemodel.js` to fail. In particular, `newWindow_chromeWindowObj` is null (because the window failed to be created due to being out of bounds).

+1

The workaround sometimes fails - not sure why yet.

I had this same issue.  I would double-click in Tabs Outliner but the tab or window would not open.  I have a large monitor connected to a laptop.  What worked for me was to simply close the laptop so that it was only using the monitor and then the windows and tabs would open right up when I double-clicked them in Tabs Outliner!