LearnNewsExamplesServices
Frontmatter
id2758
titleConsider using the window placement API?
stateClosed
labels
enhancementstale
assignees[]
createdAtNov 30, 2021, 4:09 PM
updatedAtSep 15, 2024, 4:36 AM
githubUrlhttps://github.com/neomjs/neo/issues/2758
authorLifeIsStrange
commentsCount6
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 15, 2024, 4:36 AM

Consider using the window placement API?

Closed v8.1.0 enhancementstale
LifeIsStrange
LifeIsStrange commented on Nov 30, 2021, 4:09 PM

https://web.dev/multi-screen-window-placement/ It would be nice to remember window position

LifeIsStrange added the enhancement label on Nov 30, 2021, 4:09 PM
tobiu
tobiu Nov 30, 2021, 10:34 PM

Hi @LifeIsStrange,

I actually chatted about this topic with the author Thomas ( @tomayac ) a while ago on Twitter. I definitely like the API, except for being limited to Chromium at that point in time (did this change?).

Sadly, both of us have not found the time yet to create a PoC version & demo.

Implementation-wise it should be pretty straight forward. We need a new optional main thread addon, similar to the ones here: https://github.com/neomjs/neo/tree/dev/src/main/addon and create methods which honor the API and expose these as remotes (remote method access) to the App worker.

In case someone wants to create a PR, it would be appreciated.

Best regards, Tobias

tomayac
tomayac Dec 1, 2021, 1:07 PM

(FYI @michaelwasserman and @quisquous.)

michaelwasserman
michaelwasserman Dec 15, 2021, 8:48 PM

Thanks for your interest! Chromium is wrapping up the second Origin Trial in M-96 and would appreciate any feedback before pursuing a stable release. See the explainer and/or draft spec for API details. Feel free to file github issues, leave feedback, or reach out with any questions. Developer feedback and support motivates other browser vendors to consider adopting APIs like this.

LifeIsStrange
LifeIsStrange Dec 15, 2021, 9:15 PM

@tobiu to be clear I have not the time/will to implement the feature although I am curious about this API

@github-actions - 2024-08-31T02:26:20Z

This issue is stale because it has been open for 90 days with no activity.

  • 2024-08-31T02:26:20Z @github-actions added the stale label

@github-actions - 2024-09-15T02:36:23Z

This issue was closed because it has been inactive for 14 days since being marked as stale.

  • 2024-09-15T02:36:24Z @github-actions closed this issue