l10nelw / winger

Window Manager: A Firefox web extension for switching windows, moving tabs between windows, and more
https://addons.mozilla.org/firefox/addon/winger/
GNU General Public License v3.0
47 stars 7 forks source link

Switch not working in KDE Plasma #37

Open fjavifabre opened 7 months ago

fjavifabre commented 7 months ago

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.

l10nelw commented 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
ngirard commented 3 weeks ago

@fjavifabre , check the value of focusmanager.testmode in about:config. It should be set to false.

MR-KO commented 1 week ago

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.