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

Cannot maximize vertically when ExtendsContentIntoTitleBar = true #8966

Open
khoabui1412 opened this issue Oct 11, 2023 · 2 comments
Open

Cannot maximize vertically when ExtendsContentIntoTitleBar = true #8966

khoabui1412 opened this issue Oct 11, 2023 · 2 comments
Labels
area-TitleBar Issues related to custom window title bars. area-Windowing bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team

Comments

@khoabui1412
Copy link

Describe the bug

Hi,
With: this.AppWindow.TitleBar.ExtendsContentIntoTitleBar = true;
When double click to top or bottom window's edge, the window cannot maximize vertically.

Steps to reproduce the bug

Above step

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.4.2: 1.4.231008000

Windows version

No response

Additional context

No response

@khoabui1412 khoabui1412 added the bug Something isn't working label Oct 11, 2023
@Jay-o-Way
Copy link
Contributor

Ture. The custom control is moved to the highest pixels, hiding the actual window border.

@codendone codendone added team-CompInput Issue for IXP (Composition, Input) team area-TitleBar Issues related to custom window title bars. area-Windowing labels Oct 17, 2023
@peterjtan
Copy link
Contributor

They migrated to use InputNonClientPointerSource to handle AppWindow input events in 1.4. Probably WM_LBUTTONDBLCLK is not handled in the WndProc when double clicking the bottom or the top edge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TitleBar Issues related to custom window title bars. area-Windowing bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

4 participants