Skip to content

[11.1-beta2] Regression: Window System buttons is not visible when ExtendClientAreaToDecorationsHint="True" #15908

Closed
@baochenw

Description

@baochenw

Describe the bug

This is a regression of 11.1-beta2. The issue is not reproducible with 11.1-beta1.
When set ExtendClientAreaToDecorationsHint="True" to MainWindow, the window system buttons (Minimize, Maximize and Close button) are not visible and the window has no border and can't drag move.

To Reproduce

  1. Set ExtendClientAreaToDecorationsHint="True" on MainWindow
  2. Build and start app, the the window system buttons (Minimize, Maximize and Close button) are not visible and the window has no border and can't drag move.
  3. Remove ExtendClientAreaToDecorationsHint="True", the title bar appears.
  4. Keep ExtendClientAreaToDecorationsHint="True" and downgrade to 11.1-beta1, the issue is gone.

Expected behavior

The same behavior to 11.1-beta1

Avalonia version

11.1-beta2

OS

Windows

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions