See #26557.
https://github.com/wxWidgets/wxWidgets/pull/26604
(2 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
I'm going to merge this soon if there are no objections/comments from @taler21 or anybody else because this does improve things, even if it doesn't solve all the problems.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@vadz pushed 3 commits.
—
View it on GitHub or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@vadz pushed 1 commit.
—
View it on GitHub or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
This PR significantly improves things. Many thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Thanks for testing!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Unfortunately, commit 8386a98 (Restrict the new size after DPI change to the display size, 2026-06-16) introduced a regression for non-resizable dialogs.
After changing the DPI, the dialog buttons are no longer visible because the dialog becomes too small.
This can also be seen in the dialogs sample, for instance with the 'Credentials dialog', which can be opend by pressing Ctrl+Shift+C.
After changing the DPI scaling from 200% to 100%, the dialog becomes too small.
CredentialEntryDialog-after-DPI-change.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Oops, thanks for noticing and sorry for a stupid mistake: I don't know why, but I've switched from window to client size in this code and we shouldn't do this, of course.
This should fix it and I'll push it soon:
diff --git a/src/msw/nonownedwnd.cpp b/src/msw/nonownedwnd.cpp index c08e6f8358..635858876e 100644 --- a/src/msw/nonownedwnd.cpp +++ b/src/msw/nonownedwnd.cpp @@ -319,7 +319,7 @@ bool wxNonOwnedWindow::HandleDPIChange(const wxSize& newDPI, const wxRect& newRe wxRect actualNewRect = newRect; if ( wxSizer* sizer = GetSizer() ) { - const wxSize minSize = sizer->ComputeFittingClientSize(this); + const wxSize minSize = sizer->ComputeFittingWindowSize(this); wxSize diff = minSize - newRect.GetSize(); // We don't want to shrink the window as if the user had increased
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()