Skip to content
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

Black flickering on resize on MacOS and OS X (possibly not on Catalina) #1122

Closed
Jacalz opened this issue Jun 21, 2020 · 2 comments
Closed
Labels
blocker Items that would block a forthcoming release bug Something isn't working OS:macOS Tickets affecting only macOS
Milestone

Comments

@Jacalz
Copy link
Member

Jacalz commented Jun 21, 2020

Describe the bug:

Resizing windows gives a lot of black flickering inside the application. I can't replicate this when using v1.2.4 but with v1.3.0 it is easy to see. It is easier to see it when using the light theme because of the larger contrast ration between the colours.

To Reproduce:

Steps to reproduce the behaviour:

  1. Build a fyne application for the darwin target. (I have replicated on High Sierra and El Capitan)
  2. Switch to a light theme for better contrast.
  3. Resize the window and notice how it flickers to black.

Screenshots:

black-screen-flickering-demo

Example code:

Check out either fyne_demo or https://github.com/Jacalz/sparta. It is with these that I have tested and replicated it.

Device (please complete the following information):

  • OS: MacOS 10.13 High Sierra and Mac OS X 10.11 El Capitan
  • Version: 10.13 and 10.11
  • Go version: 1.13.11 (have built all applications using fyne-cross v2.0.0)
  • Fyne version: v1.3.0 and current master branch (a82c328)
@Jacalz
Copy link
Member Author

Jacalz commented Jun 21, 2020

Might be more or less related to #1114

@andydotxyz andydotxyz added bug Something isn't working OS:macOS Tickets affecting only macOS labels Jun 21, 2020
@andydotxyz andydotxyz added this to the 1.3.x milestone Jun 21, 2020
@andydotxyz andydotxyz added the blocker Items that would block a forthcoming release label Jun 21, 2020
andydotxyz added a commit to andydotxyz/fyne that referenced this issue Jun 30, 2020
This does add a little lag, especially on complex screens, but that is the tradeoff.
Resizing GL canvases is slow so unfortunately.

Fixes fyne-io#1114, fyne-io#1122, fyne-io#1140
@andydotxyz
Copy link
Member

Fix on develop for testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker Items that would block a forthcoming release bug Something isn't working OS:macOS Tickets affecting only macOS
Projects
None yet
Development

No branches or pull requests

2 participants