Skip to content

Application: Window limits on Linux #1381

Closed

Description

@oneo-me

Context

Part of #1306. The roadmap's Application and windows section lists this item (line 147 of docs/roadmap.md at f7fc2f5c) with no issue.

Reference: XSetWMNormalHints on X11, xdg_toplevel.set_max_size on Wayland; GtkHeaderBar's decoration layout

Acceptance

  • GTK 4 reaches neither from its API: a maximum other than a fixed size holds, and NoMinimize and NoMaximize take the system title bar's buttons

For: 开发@柚子

Activity

  1. added
    enhancement
    on Nov 21, 2026
  2. self-assigned this
    on Nov 22, 2026
  3. houko commented on Nov 23, 2026

    @houko
    Collaborator

    GTK window maximum constraints and title-bar minimize/maximize policy remain incomplete for the requested Linux environments. Leaving open for backend implementation.

  4. houko commented on Nov 23, 2026

    @houko
    Collaborator

    Current main now covers the requested Linux window limits. internal/platform/linux/constraints.go publishes non-fixed maximums through X11 WM_NORMAL_HINTS and filters GTK header-bar minimize/maximize controls, while system.go applies fixed and minimum/maximum constraints. Native tests cover maximum publication, native resize limits, constraint removal, and title-bar button filtering. Closing this issue as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions