You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
When upgrading shopping to fyne 2.4.4, my test broke. We assumed it was just some change affecting the markup output and that the toolbar being 0 pixels was ok. It is actually breaking also the image tests.
If you add a line to render and check against pixels at the same line as the markup failing one here like the following: test.AssertRendersToImage(t, "shopping_list_new_item.png", a.win.Canvas()). This will give the following result:
Notice the absence of toolbar at the bottom right of the window.
Checklist
Describe the bug
When upgrading shopping to fyne 2.4.4, my test broke. We assumed it was just some change affecting the markup output and that the toolbar being 0 pixels was ok. It is actually breaking also the image tests.
If you add a line to render and check against pixels at the same line as the markup failing one here like the following:
test.AssertRendersToImage(t, "shopping_list_new_item.png", a.win.Canvas())
. This will give the following result:Notice the absence of toolbar at the bottom right of the window.
How to reproduce
test.AssertRendersToImage(t, "shopping_list_new_item.png", a.win.Canvas())
at line 118 in https://github.com/Bluebugs/shopping/blob/main/ui_test.goScreenshots
No response
Example code
Example code is as in the git repository. I do not have a smaller example.
Fyne version
2.4.4
Go compiler version
1.22.1
Operating system and version
Arch Linux
Additional Information
No response
The text was updated successfully, but these errors were encountered: