dotnet / dotnet/maui

Cannot use Japanese text in window title if ExtendsContentIntoTitleBar is false (possibly Windows only)

Open
#11,610 11 comments 0 reactions 0 assignees View on GitHub
area-controls-titleview platform/windows s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

### Description

If ExtendsContentIntoTitleBar is false, Japanese text does not work in a window title.

I am also trying to set the title bar icon via a Windows SendMessage. This, not surprisingly, only works if ExtendsContentIntoTitleBar is false.

### Steps to Reproduce

On windows, build and run the solution from the repro repository located at window-title-issue\MauiTest.sln

The value of the variable _experiment_ in the WindowCreated function can be changed to show the behavior of different attempts to get the desired behavior

### Link to public reproduction project repository

https://github.com/greemi01/maui-repro

### Version with bug

7.0 (current)

### Last version that worked well

Unknown/Other

### Affected platforms

Windows, I was *not* able test on other platforms

### Affected platform versions

Windows 10

### Did you find any workaround?

_No response_

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.