MahApps / MahApps.Metro

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
https://mahapps.com
MIT License
9.21k stars 2.45k forks source link

Wrong ToolTip Style of WindowCommand-Buttons in v3.0.0-alpha0492 #4487

Open JackDjTom opened 1 month ago

JackDjTom commented 1 month ago

Describe the bug

When I run my app with MahApps.Metro version 2.4.10, the ToolTips of the WindowCommand-Buttons look like this in the dark theme: ToolTip_2 4 10

However, when I run the app with MahApps.Metro version 3.0.0-alpha0492, the style of the ToolTips is incorrect: ToolTip_3 0 0-alpha0492

Expected behavior

ToolTips of WindowCommand-Buttons have correct style according to the current Theme.

Actual behavior

ToolTips of WindowCommand-Buttons have incorrect style

Environment

MahApps.Metro version: v3.0.0-alpha0492
Target Framework: .Net 8.0
punker76 commented 1 month ago

Since we are using win 11 stuff this is by design (like in every other app).

/cc @batzen

batzen commented 1 month ago

@JackDjTom That's by design as we now provide a proper hittest-result to allow snap layouts etc. to work correctly. By providing those hittest-results correctly the default windows tooltips are forced by windows itself. It's, as far as i know, not possible to provide things like snap layout without using the hittest-results.