-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-windowWindowWindowp/2Work that is important, but is currently not scheduled for releaseWork that is important, but is currently not scheduled for releasepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
On the Windows platform, if the application window is maximized, the main window Y and Height values are shifted by 8 in the Window_Destroying(). For a non-maximized window, values are correct.
public partial class App : Application
{
void Window_Destroying(object sender, EventArgs e)
{
var window = (Window)sender!;
// window.X: always correct
// window.Width: always correct
// window.Y: incorrect (lower by 8) when closing a maximized window, correct otherwise
// window.Height: incorrect (higher by 8) when closing a maximized window, correct otherwise
}
}
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.14 SR1.4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.19041.0
Did you find any workaround?
Correct values:
y = window.Y + 8; height = window.Height - 8;
Relevant log output
bronteq
Metadata
Metadata
Assignees
Labels
area-controls-windowWindowWindowp/2Work that is important, but is currently not scheduled for releaseWork that is important, but is currently not scheduled for releasepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working