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

Resizing cursor showed near caption button when IsResizable=false while ExtendsContentIntoTitleBar=true #9670

Closed
HO-COOH opened this issue May 25, 2024 · 5 comments
Labels
area-TitleBar Issues related to custom window title bars. area-Windowing bug Something isn't working closed-Fixed Described behavior has been fixed. fix-released The fix has been in a release (experimental, preview, stable, or servicing). team-CompInput Issue for IXP (Composition, Input) team
Milestone

Comments

@HO-COOH
Copy link

HO-COOH commented May 25, 2024

Describe the bug

It will show a resizing cursor at the border near the caption button. Other part of the border will not show a resizing cursor.

Steps to reproduce the bug

In the window constructor, use this code

        (AppWindow.Presenter as OverlappedPresenter).IsResizable = false;
        ExtendsContentIntoTitleBar = true;

Expected behavior

Don't show resizing cursor when the window is not resizable.

Screenshots

wrong-cursor

NuGet package version

WinUI 3 - Windows App SDK 1.5.3: 1.5.240428000

Windows version

Windows 10 (1809): Build 17763

Additional context

No response

@HO-COOH HO-COOH added the bug Something isn't working label May 25, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label May 25, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@0x5bfa
Copy link

0x5bfa commented Jun 7, 2024

The same happens when you maximize the window.

@codendone codendone added team-CompInput Issue for IXP (Composition, Input) team area-TitleBar Issues related to custom window title bars. area-Windowing and removed needs-triage Issue needs to be triaged by the area owners labels Jun 7, 2024
@codendone
Copy link
Contributor

The issue when the window is maximized is tracked by #8665. I believe that upcoming fix didn't address this IsResizable=false scenario.

@ghost1372
Copy link
Contributor

i tested with v1.6-exp2 and does not fixed yet

ExtendsContentIntoTitleBar = true;
SetTitleBar(AppTitleBar);

((OverlappedPresenter)AppWindow.Presenter).IsResizable = false;

xx

@llongley llongley added the closed-Fixed Described behavior has been fixed. label Jul 10, 2024
@codendone codendone added this to the WinAppSDK 1.6 milestone Jul 11, 2024
@codendone codendone added fix-released The fix has been in a release (experimental, preview, stable, or servicing). and removed fix-released The fix has been in a release (experimental, preview, stable, or servicing). labels Jul 11, 2024
@codendone
Copy link
Contributor

This was closed as fixed/duplicate of #7629. The fix will be in the next 1.6 release.

@codendone codendone added the fix-released The fix has been in a release (experimental, preview, stable, or servicing). label Aug 14, 2024
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 closed-Fixed Described behavior has been fixed. fix-released The fix has been in a release (experimental, preview, stable, or servicing). team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

5 participants