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

White page when coming back from screensaver, linux #2866

Open
lrhn opened this issue Feb 21, 2024 · 0 comments
Open

White page when coming back from screensaver, linux #2866

lrhn opened this issue Feb 21, 2024 · 0 comments

Comments

@lrhn
Copy link
Member

lrhn commented Feb 21, 2024

When I leave the new DartPad as the active tab in Chrome, and my Linux laptop locks the screen (possibly suspends, don't really know since it resumes on any keypress), then the DartPad tab is a blank white rectangle when I come back and log in.

It doesn't change if I resize the browser, doesn't change if I open DevTools, doesn't change until I reload (which loses the content, #2817).

The UI seems to still be there, I can select and copy the text (yey, workaround), and click buttons if I know where they are,
but nothing renders.

This hasn't happened for any other tab, did not happen for the old DartPad, doesn't happen for other DartPad tabs that are not currently displayed, but it happens completely consistently when the current tab is a new DartPad.

The dev-tools console states:

 WebGL: this extension has very low support on mobile devices; do not rely on it for rendering effects: WEBGL_polygon_mode
(anonymous) @ www.gstatic.com/flut…um/canvaskit.js:129

master.api.dartpad.dev/api/v3/compileDDC:1 
       Failed to load resource: the server responded with a status of 400 ()

Since I'm not on a mobile decide, the WEBGL warningdoes not appear important, but since it's a rendering issue, it might be.
I can see the body has an attribute flt-renderer="canvaskit (auto-selected)".

If I send a load event to the window, the rendering starts working, but also loses the editor content.

(Does sound like an issue that's not directly related to DartPad, but it only occurs for DartPad, so maybe something can be done to avoid it. Or maybe it will happen for other Flutter pages, I just haven't used any on that laptop.)

System Details Report

Report details
  • Date generated: 2024-02-21 11:59:55
Hardware Information:
  • Hardware Model: Lenovo ThinkPad P1 Gen 4i
  • Processor: 11th Gen Intel® Core™ i7-11850H × 16
  • Graphics: Intel® UHD Graphics (TGL GT1)
Software Information:
  • OS Name: Debian GNU/Linux rodete
  • OS Type: 64-bit
  • GNOME Version: 44.5
  • Windowing System: X11
  • Kernel Version: Linux 6.5.13-1rodete2-amd64

Chrome:

Version 121.0.6167.184 (Official Build) (64-bit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant