popup-tab icon indicating copy to clipboard operation
popup-tab copied to clipboard

Popup window forced on top (Linux)

Open gregorlarson opened this issue 8 years ago • 6 comments
trafficstars

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.

gregorlarson avatar Sep 01 '17 02:09 gregorlarson

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.

eight04 avatar Sep 01 '17 11:09 eight04

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

gregorlarson avatar Sep 01 '17 17:09 gregorlarson

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

image

jacobmischka avatar Sep 15 '17 13:09 jacobmischka

Would type: "panel" solve this?

eight04 avatar Sep 15 '17 18:09 eight04

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.

jacobmischka avatar Sep 15 '17 19:09 jacobmischka

Also:

  • https://github.com/aqt/webext-popup/issues/1#issue-262936402

Currently not possible due to API limitations, …

grahamperrin avatar Nov 01 '22 00:11 grahamperrin