-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window.Resize() does not work if SetFixedSize(true) is set after #2819
Comments
May or may not be related to #2800, another window resize/fixedsize related regression |
Thanks for connecting the two, but #2800 isn't a regression as far as I know, the initial size of an image using |
it is a regression because in 2.0 the same code works without problem. |
I cannot replicate on macOS, this may be Linux specific which could explain why it was missed I guess. |
I cannot replicate on Debian/FyneDesk either. Can you please provide more info about the failing WM and desktop setup @FredPont ? |
This may also depend on the content of the window I guess - the excerpt provided may not be enough to replicate. |
I did the test on 3 computers with XFE 4.16. I reproduce the issue on the 3 computers with my software based on Fyne. In this software, the window content is a multilayer scroll image with a PNG picture, an interactive raster, and containers for drawing. It is thus difficult to build a toy program with this structure (maybe it could be reproduced with pixel editor).
the final window content is :
Please note that the 3 computers use a Nvidia card. Here are more informations about one of my manjaro computer :
|
Maybe it is specific to that WM? Is it possible to replicate the problem with a minimal example, that will be very helpful. |
I send you a zip file with a minimal example to reproduce the issue and a video showing that, depending on the position of debug.mp4 |
Thanks, verified with this code - it seems that some content triggers it and others don't |
Fixes order of operation issues such as fyne-io#2819
If you get a chance please test #2829 - I think it resolves this issue |
Fixed in v2.1.4 under vote now |
Describe the bug:
In Fyne 2.1.3 the order of window.Resize() and SetFixedSize(true) matters. This is not the case in Fyne 2.1.2
To Reproduce:
This code only works on Fyne 2.1.2. On Fyne 2.1.3, it does not resize the window w which appears minimized :
Whereas this code works perfectly
Device :
The text was updated successfully, but these errors were encountered: