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

Elements in custom TitleBar see their focus border disappear partially or completely when resizing app #7785

Open
1 of 2 tasks
alcail opened this issue Oct 5, 2022 · 2 comments
Labels
area-TitleBar Issues related to custom window title bars. bug Something isn't working product-winui2 team-Controls Issue for the Controls team

Comments

@alcail
Copy link

alcail commented Oct 5, 2022

Describe the bug

When resizing a Windows app with custom elements in the TitleBar (WinUI 2), and focus is on one of those elements, the visual border of focus disappears partially (right or left side or totally).

TitleBar_CommandBarFocus_ResizingGlitch_Cropped

Issue is repro-able on the WinUI 2 Gallery in the CommandBar page

image

Steps to reproduce the bug

  1. Go to WinUI 2 Gallery > CommandBar page
  2. Press Tab key till you are on the "Generate Link to Page" button
  3. Resize your window to minimum
  4. Observe the visual focus border disappearing from the left

Expected behavior

Step 4 should see a full border around the button

Screenshots

No response

NuGet package version

No response

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@alcail alcail added the bug Something isn't working label Oct 5, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Oct 5, 2022
@pratikone pratikone added product-winui2 team-Controls Issue for the Controls team area-TitleBar Issues related to custom window title bars. and removed needs-triage Issue needs to be triaged by the area owners labels Oct 11, 2022
@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@alcail
Copy link
Author

alcail commented Jul 31, 2023

Any update on this?

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. bug Something isn't working product-winui2 team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants