Open fjavifabre opened 7 months ago
Let's test that the basic API works?
Please go to about:devtools-toolbox?id=winman@lionelw&type=extension
and enter in the console:
(await browser.windows.getAll()).map(w=>w.id)
// You get an array of windowIds, one for each browser window, e.g. [1, 3, 7, 9, 11]
// Pick a number, e.g. 9, and enter:
await browser.windows.update(9, { focused: true })
// Focus should change to the corresponding window
@fjavifabre , check the value of focusmanager.testmode
in about:config.
It should be set to false.
another KDE plasma user here (latest version 6.0.5 on Arch Linux). Switching works just fine, also via the console using your JS code. And focusmanager.testmode
is set to false
.
and an unrelated bonus thank you: this extension is absolutely perfect, saved me and my browsing mess a lot of time, effort, and PC resources. Much appreciated.
I'm using a KDE Plasma in Ubuntu 20.04, Firefox 119.0.1 (64-bit).
All functions are working but the most important, switch between windows. I checked all windows setting in KDE Plasma to check if something related to the window focus setting could mess with changing which window is focused and everything looks OK.