Skip to content

[HD] When the application expands to the title bar, some buttons become unclickable, and clicking them may trigger error messages. #122

@Rwagsu

Description

@Rwagsu

Current behavior

When MainWindow.AppWindow.TitleBar.ExtendsContentIntoTitleBar is set to true, as shown in the image, some buttons become unclickable. Additionally, the hot design button initially gets stuck above the title bar's draggable area and cannot be clicked; users must click the button's lower edge for it to function. Errors also begin to appear intermittently. When dragging the hot design, the following log appears:

11-14 09:42:48.689+08:00 I/Microsoft.UI.Xaml.UIElement: Microsoft.UI.Xaml.Controls.Grid: Cannot release pointer Mouse/1: not captured by this control.

When clicking the button, this log appears:

11-14 09:42:52.843+08:00 I/Microsoft.UI.Xaml.UIElement: Microsoft.UI.Xaml.Controls.Button: no pointers to release.

After a period of time, the application crashes.

Image Image Image Image

Expected behavior

I'm not sure if this log is normal behavior, but at the very least it shouldn't crash and should move the control to an area where dragging isn't possible.

Which tool(s) are affected?

Hot Design®, Hot Design® Agent

How to reproduce it (as minimally and precisely as possible)

It seems to happen whenever I open Thermal Design, but I'm unsure what specific action triggers the crash. I hadn't touched the application for a while, and then it quietly crashed in the background.

Regarding those error logs, they appear when clicking buttons or dragging the Thermal Design button.

I'm debugging on Windows 10 using a Desktop configuration.

If you can't reproduce it, you can try using my project to reproduce:

https://github.com/Rwagsu/RwagLab/tree/6de244e6e5d38ff84953fe9ff57d1a7e113bc820

Workaround

If Uno can detect the title bar, try moving the button to an area without a set draggable region. For hot design, try moving the control below the draggable region, or temporarily adjust the title bar's draggable area before repositioning the control (some programs have very large draggable title bars).

However, I'm afraid I have no suggestions regarding the logs or crash issues.

Renderer

  • Skia
  • Native

Affected platforms

Desktop - net9.0-desktop (on Windows)

Uno.Sdk version

6.4.24

IDE used

Visual Studio 2022

IDE version

Visual Studio 2026 Insiders 11206.111

Uno Platform Extension version

6.3.15.15

Relevant plugins

No response

Anything else we need to know?

The platform I selected is incorrect, but it doesn't offer the platform I'm actually using. So it's actually net10.0-desktop, and I'm using Visual Studio 2026, not 2022.

And I encountered this message while using it:

The Bindable attribute is missing and the type [Microsoft.UI.Xaml.Controls.ToolTipService] is not known by the MetadataProvider. Reflection was used instead of the binding engine and generated static metadata. Add the Bindable attribute to prevent this message and performance issues.

I'm not sure if it's related to this issue, but I submitted it as-is for reference.

Thank you for your help.

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions