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

The title bar display style is abnormal #487

Closed
LHTXQ opened this issue Jan 5, 2023 · 6 comments
Closed

The title bar display style is abnormal #487

LHTXQ opened this issue Jan 5, 2023 · 6 comments
Labels
bug Something isn't working locked-due-to-inactivity

Comments

@LHTXQ
Copy link
Contributor

LHTXQ commented Jan 5, 2023

Describe the bug

When the window material is not set to None, the title bar displays a line of theme color. The problem appears to have arisen after an update to the system.

To Reproduce

See “WPF UI Gallery".

Expected behavior

With the window material applied, the title bar should look like this:
image

Screenshots

WPF UI Gallery:
image

My App (As you can see in the image below, only the active window appears incorrectly):
image

OS version

Version Windows 11 Professional Workstation Edition
Version 22H2
The installation date ‎ 2022-11 - ‎ ‎ 17
Operating system Version 22621.963
Experience Windows Feature Experience Pack 1000.22638.1000.0

.NET version

.net 6.0.2

WPF-UI NuGet version

2.0.3

Additional context

No response

@LHTXQ LHTXQ added the bug Something isn't working label Jan 5, 2023
@LHTXQ
Copy link
Contributor Author

LHTXQ commented Jan 5, 2023

In addition, I think the TreeView highlighted rectangle should have rounded corners.
image

@pomianowski
Copy link
Member

As for TreeView, rounding has been added in the development branch
image

@pomianowski
Copy link
Member

The large color bar at the top is due to the fact that the "Show accent color on title bars and windows borders" function is enabled. Will need to fix the non client area.

image

@LHTXQ
Copy link
Contributor Author

LHTXQ commented Jan 6, 2023

The large color bar at the top is due to the fact that the "Show accent color on title bars and windows borders" function is enabled. Will need to fix the non client area.

image

Maybe I get it.

@ChainsLunatic
Copy link

Does anyone know any work arounds besides deactivating the backdrop? It's a rather frustrating bug because deactivating the backdrop does not give any clue about window focus anymore.

@niels9001
Copy link
Collaborator

Can someone verify if this issue is still present on the latest preview.10?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working locked-due-to-inactivity
Projects
None yet
Development

No branches or pull requests

4 participants