Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
wayland
wayland
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 25
    • Merge Requests 25
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wayland
  • waylandwayland
  • Issues
  • #40

Closed
Open
Opened Mar 21, 2015 by Bugzilla Migration User@bugzilla-migration

Centered/Splash shell surfaces

Submitted by x41..@..ux.com

Assigned to Wayland bug list

Link to original bug (#89702)

Description

I am trying to implement a splash screen which needs to start centered both vertically and horizontally when not fullscreen or maximized. Currently I am using wl_shell_surface but there is no way to advise this to the compositor.

I have looked at xdg-shell.xml and there is set_window_geometry with an x and y co-ordinates but I assume they only work if the surface has a parent?

If they do work without a parent what are they relative to? If the dimensions of whatever the splash surface is relative to change then it would no longer be centered.

This would need an interface similar to the CSS "margin" where the surface could be set to "auto" would always be centered (until the user moved it). After the user moves the surface it should not be able to re-center itself.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: wayland/wayland#40