Created attachment 1109415 [details] Demo of the issue Description of problem: Sizer method SetSizeHints(window) (Fit(window) is also affected) fails to set a minimum size that's large enough to fit all controls under Wayland (can't test under X11 as it's unavailable on my test system). This is especially worrysome for dialogs as they are not user resizeable. The underlying issue is probably a wxGTK3 bug. Version-Release number of selected component (if applicable): wxPython-3.0.2-7.fc23 How reproducible: Always Steps to Reproduce: 1. See attached demo code Actual results: SetSizeHints() / Fit() should make the window large enough to fit all controls (if enough screen real estate is available) Expected results: The window size after SetSizeHints() / Fit() should be large enough to fit all controls (if enough screen real estate is available)
Can you provide a screenshot of what the demo code produces on Wayland?
Created attachment 1113611 [details] Screenshot under Wayland
Created attachment 1113612 [details] Screenshot under X11 (for comparison)
Okay, I can reproduce too with Wayland (once I figured out how to run it). I see issues with my own wxPython applications, too.
Reported upstream: http://trac.wxwidgets.org/ticket/17336
wxGTK3-3.0.2-17.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8b75629956
wxGTK3-3.0.2-17.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8b75629956
wxGTK3-3.0.2-17.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.