Skip to content

Bring back the injected iframe and make the popup view optional #63

@tinywrkb

Description

@tinywrkb

2fa0ae0 pretty much broke for me the overlay behavior of the extension.
Basically, Chrome's popup windows under Wayland (Linux) are not being set as floating windows which creates a problem with tiling window managers, specifically, Sway.
What's happening is that the new, supposedly popup window, is opened as a tiled window, snapped to the side of the parent Chrome window, that's instead of floating above the parent Chrome window.
The workaround for this is to tell the window manager to set the new window as floating based on its title (Google Translate) but this affects any Chrome window with the same title, and is also too slow so the new window is still snapped to the size of the parent window before floating, so it's causing the parent window to resize down and back.

Any chance that the iframe view will be brought back? shouldn't this also help with performance as opening a new window, which is sandboxed, is more costly than an iframe?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions