Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
O
OS-issues
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 92
    • Issues 92
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Librem5
  • OS-issues
  • Issues
  • #158

Closed
Open
Opened Jul 15, 2020 by ellie@codingellie
  • Report abuse
  • New issue
Report abuse New issue

Suggestion: coordinate with freedesktop and/or others to make a standard to form factor query for apps

I have a suggestion, which is to coordinate with freedesktop and/or others for a form factor query for apps which allows querying a "main usage type" for the device (like, e.g. phone-like touch-first small mobile device, or laptop-like device, or ...) as described here: https://gitlab.freedesktop.org/xdg/xdg-specs/-/issues/56

I think this standard should ideally live in the desktop environment (e.g. phosh/phoc), since the knowledge which device type to cater for is most likely present at that level, including for corner cases like knowing whether a phone has an external screen plugged in and should be switched to a desktop-like mode.

Such a standard would allow application devs using more unusual frameworks (e.g. raw OpenGL/X11, SDL2, ...) to incorporate their own code to adapt the UI to be more phone friendly beyond just being responsive to resizing. It might also make it easier for your own GTK+/GNOME app patches to runtime hide things based on this query in a toggleable way, rather than separate phone forks that have permanently unconditionally reduced UI.

I apologize if this already exists and/or is already being tracked somewhere else, but I couldn't find anything! I will happily close this ticket and I apologize for any ticket spam if that is the case.

  • Discussion
  • Designs

The one place for your designs

To enable design management, you'll need to meet the requirements. If you need help, reach out to our support team for assistance.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: Librem5/OS-issues#158