eight04 / popup-tab

A Firefox addon, easily convert a tab into a popup and vice versa.
MIT License
16 stars 4 forks source link

Popup window forced on top (Linux) #2

Open gregorlarson opened 7 years ago

gregorlarson commented 7 years ago

The created popup window is somehow flagged or forced to be above (overlapping) other Firefox windows. It will not lower. I see this on Linux but not Windoz 10. I tried Ubuntu 14 (Unity) and Debian Stretch (Xfce4 ) and problem appears in both.

eight04 commented 7 years ago

I'm not sure if this is controllable. There is an alwaysOnTop property on Window type, but I don't know how to set it.

gregorlarson commented 7 years ago

I guess I could try a window-type of panel instead of popup, also, the problem could be coming from the onFocusChanged listener. It might be necessary to check for WINDOW_ID_NONE ref: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/windows/onFocusChanged

jacobmischka commented 6 years ago

It's not the alwaysOnTop property, it seems like it's just because of the popup type.

image

eight04 commented 6 years ago

Would type: "panel" solve this?

jacobmischka commented 6 years ago

No, setting the type to panel is actually the exact same as popup in this case. I don't know if it can be fixed without an api change for WebExtensions.

grahamperrin commented 1 year ago

Also:

Currently not possible due to API limitations, …