Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window can't be dragged using title bar and no caption buttons rendered with extend client area #15522

Closed
wieslawsoltes opened this issue Apr 26, 2024 · 6 comments · Fixed by #15552

Comments

@wieslawsoltes
Copy link
Collaborator

wieslawsoltes commented Apr 26, 2024

Describe the bug

Window can't be dragged using title bar and no caption buttons rendered with extend client area.

image

image

To Reproduce

Set on Window

        ExtendClientAreaToDecorationsHint="True"
        ExtendClientAreaChromeHints="Default, PreferSystemChrome, OSXThickTitleBar"

Expected behavior

Window can be dragged using title bar and caption buttons are rendered with extend client area

Avalonia version

11.1.0-beta2

OS

Windows

Additional context

No response

@wieslawsoltes
Copy link
Collaborator Author

When I open DevTools and set manually ExtendClientAreaChromeHints to PreferSystemChrome it fixed the issue, but setting from xaml or code does not help.

@wieslawsoltes
Copy link
Collaborator Author

screencast.2024-04-26.10-10-03.mp4

@wieslawsoltes
Copy link
Collaborator Author

On 11.1.0-beta1 I can drag window but caption buttons are not rendered (they are actually rendered when window is maximised).

@wieslawsoltes
Copy link
Collaborator Author

I did try setting ExtendClientAreaChromeHints only from code but did not help, same results as from xaml.

@wieslawsoltes
Copy link
Collaborator Author

This is what happens on 11.1.0-beta1

screencast.2024-04-26.10-17-49.mp4

@Gillibald
Copy link
Contributor

Might be related to: 4c949ee

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

Successfully merging a pull request may close this issue.

3 participants