Skip to content

Display mode negotiation is missing #41

@antonpk1

Description

@antonpk1

Currently the spec has:

  • displayMode - host tells app the current mode
  • availableDisplayModes - host tells app what modes it supports

But there's no way for the app to declare what display modes it supports.

For example, if an app wants to say "hey I support fullscreen", there's no mechanism for that. The host just assumes all apps work in all modes?

We need some negotiation where:

  1. App declares its supported display modes (maybe in ui/initialize capabilities?)
  2. Host knows its own supported modes
  3. They intersect to determine what's actually available
  4. App can request a mode change (currently also missing)

Right now the display mode stuff is one-directional and incomplete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions