microsoft-ui-xaml icon indicating copy to clipboard operation
microsoft-ui-xaml copied to clipboard

Can't select text from TextBox/AutoSuggestBox set as content in TitleBar with the cursor

Open eduardobragaxz opened this issue 1 year ago • 4 comments

Describe the bug

When using a TextBox/AutoSuggestBox as content in the TitleBar control you can't select the text with the cursor. It drags the window instead. Also, the cursor doesn't change into the caret when hovering the TextBox/AutoSuggestBox.

Steps to reproduce the bug

Create a project with the TitleBar control and add a TextBox/AutoSuggestBox as content and run.

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.6 Experimental 1: 1.6.240531000-experimental1

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

eduardobragaxz avatar Jun 06 '24 03:06 eduardobragaxz

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.

github-actions[bot] avatar Jun 06 '24 03:06 github-actions[bot]

footer and header also does not work, all of them calculated as a drag regions

ghost1372 avatar Jun 06 '24 08:06 ghost1372

Hi,

I reproduce a similar issue. My monitor is on 125% scale. As you can see on the video below, I can click on the Settings button if the mice cursor is some space to the left of it, but not fully hover it.

https://github.com/microsoft/microsoft-ui-xaml/assets/3747805/61805901-358d-4032-b34e-b67e309e7c9c

This issue does NOT reproduce is my monitor scale is at 100%.

veler avatar Jun 17 '24 18:06 veler

@ranjeshj ?

ghost1372 avatar Jun 21 '24 19:06 ghost1372

@veler I am able to repro this issue only if the scale factor has changed, is that the case for you?

karkarl avatar Jul 02 '24 22:07 karkarl

The issue doesn't repro in the experimental2 release, can you try verifying if this resolves your issue? A bunch of PR's were missed in the experimental1 cherry-pick...

karkarl avatar Jul 02 '24 22:07 karkarl

@codendone This issue Fixed in v1.6-exp2 and i think this can be closed

ghost1372 avatar Jul 03 '24 09:07 ghost1372