You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[12] ExtendClientAreaToDecorationsHint behavior of decorations is broken for Windows #21167
Window Title is shown there, in V11 it was not shown when ExtendClientAreaToDecorationsHint is true.
When Title is shown, it lays above the Menu. Should be hidden.
When Title is set to string.Empty, then in task bar application window has no title.
Menu is not reachable by mouse anymore. Double clicks Expand Unexpand the window.
Just posted a similar question in Discussions. This does look like a bug since ExtendClientAreaToDecorationsHint="True" also breaks TransparencyLevelHint. Discussions #21170
Activity
timunie commentedon Apr 12, 2026
https://docs.avaloniaui.net/api/avalonia/input/windowdecorationselementrole
drweb86 commentedon Apr 12, 2026
Thanks
solved issue with mouse click. Now its possible to click menu which is in the bar.
However Window.Title overlaps with menu and its needed for task bar.
anewton commentedon Apr 12, 2026
Just posted a similar question in Discussions. This does look like a bug since ExtendClientAreaToDecorationsHint="True" also breaks TransparencyLevelHint. Discussions #21170
MrJul commentedon Apr 13, 2026
I've opened #21177, with it the
ElementRoleon non-decorations won't be necessary anymore for hit testing.To hide the title bar's text, use the following style:
MrJul commentedon Apr 13, 2026
Opened a proposal to more easily configure which parts of the title bar are displayed: #21178
drweb86 commentedon Apr 13, 2026
So far migration code look like this. I'll post it for next people having also such windows and trying to migrate.
drweb86 commentedon Apr 13, 2026
Thanks @MrJul