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
Lag and dark flashing when resizing #1114
Comments
If possible can you test the patch in PR #1120? It is possible that this makes step to improve resize. |
@andydotxyz Looks like both flicker and slight lag on resize are still happening after I pull latest |
With a GL backend it may not be possible to have windows that respond to resize quickly without having this content lag. |
Fix is on develop for testing |
Tested on 102ff9e: When quickly resizing, the canvas appears to resize and keep up with the border better than before #1150 , but still seeing a bit of black flicker. I don't believe this should block 1.3.1 - I've only been able to reproduce on the demo's Graphics tab, and fyne_demo seems to be running smoother than before #1150. |
This has significantly improved but still occurs for me in an application with a layout tree as follows:
Specifically, the flickering/blackness shows up within the "contents" area for me (right side of window while resizing.) |
If the issue is now limited to just 1 container then I think it could be a different problem. Initially this was around the whole window, or edge of it. |
Peek.2021-01-23.14-58.mp4I actually don't even need to resize the window very quickly to reproduce the issue. You can see the UI's contents pane flash black 3 times in the above video. The widget tree is a little different on this pane (easiest to reproduce): Window ->
container.Border ->
top: nil
bottom: nil
left: NavigationDrawer (container.Vbox) ->
[]widget.Button
right: nil
contents: container.Scroll ->
container.Vbox ->
- []container.HBox
+ []widget.Card ->
+ []container.HBox Also not sure why making the window taller causes the expansion to come from the top of the window and not the bottom... but that is an entirely different issue to the black flickering. |
It happens for me in the latest 2.4 version. |
The performance for is good for resizing in a simple application, but black flicks still happens. |
Describe the bug:
Seeing some lag in the form of a black line on the right side when resizing horizontally. Seeing flash of black between items in the window on resize.
To Reproduce:
Steps to reproduce the behaviour:
cd ~/go/src/github.com/fyne-io/fyne/cmd/fyne_demo
go run main.go
Screenshots:
Lag
Black flash
Device:
The text was updated successfully, but these errors were encountered: