Bug 1294229
Summary: | Sizer method SetSizeHints(window) fails to set a minimum size that actually fits all controls | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florian Höch <florian.hoech> | ||||||||
Component: | wxGTK3 | Assignee: | Scott Talbert <swt> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 23 | CC: | alexjnewt, dan, florian.hoech, rakesh.pandit, swt | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | wxGTK3-3.0.2-17.fc23 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2016-02-29 05:24:21 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1277927 | ||||||||||
Attachments: |
|
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. |
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)