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
Description of the issue:
When using the EleCho.WpfSuite package to create custom caption buttons in a WPF application, everything works correctly on the primary monitor. However, as soon as I move the window to a second monitor, the following issues occur:
The mouseover behavior of the custom caption buttons (e.g., Snap Layout on the Maximize button) stops working.
The buttons are no longer clickable.
A standard button added to the window (not using the package-specific features) continues to function correctly.
This issue appears to only affect buttons with properties such as ws:WindowOption.IsMinimumButton, ws:WindowOption.IsMaximumButton, or ws:WindowOption.IsCloseButton.
Steps to reproduce:
Create a WPF window using the code below.
Run the application on a primary monitor and verify that the custom caption buttons work correctly (mouseover and click).
Move the window to a second monitor.
Observe that the custom caption buttons no longer respond to mouseover or click events.
Experience: Windows Feature Experience Pack 1000.22700.1055.0
Screen Resolutions:
Primary monitor: 1920x1080, scaling 100%
Secondary monitor: 1920x1080, scaling 100%
Note: The issue persists even when the primary monitor is 4K with 150% scaling and the secondary monitor is 1920x1080 with 100% scaling.
Package Version: 0.9.14
.NET Version: .NET Core 8.0
This issue seems to be related to the interaction between the package and Windows' native behavior when moving a window to a secondary monitor. Thank you for your assistance!
The text was updated successfully, but these errors were encountered:
Description of the issue:
When using the
EleCho.WpfSuite
package to create custom caption buttons in a WPF application, everything works correctly on the primary monitor. However, as soon as I move the window to a second monitor, the following issues occur:This issue appears to only affect buttons with properties such as
ws:WindowOption.IsMinimumButton
,ws:WindowOption.IsMaximumButton
, orws:WindowOption.IsCloseButton
.Steps to reproduce:
Reproduction code:
Video demonstrating the Issue:
2024-12-21-00-26-01.mp4
Additional information:
This issue seems to be related to the interaction between the package and Windows' native behavior when moving a window to a secondary monitor. Thank you for your assistance!
The text was updated successfully, but these errors were encountered: