app-center icon indicating copy to clipboard operation
app-center copied to clipboard

loading status when opening the App Center

Open anasereijo opened this issue 2 years ago โ€ข 1 comments

I get a white screen when opening the app. We should have a spinner and below it text "Loading the App Center..."

anasereijo avatar Dec 13 '23 16:12 anasereijo

It's probably due to GTK Window initialization. Got to investigate deeper.

BLKKKBVSIK avatar Dec 20 '23 09:12 BLKKKBVSIK

Cannot do anything from the Flutter side of things. We have a minimal time when Flutter is initializing and the GTK Window is already open.

BLKKKBVSIK avatar Jun 05 '24 07:06 BLKKKBVSIK

@BLKKKBVSIK even if there's nothing we can do from the Flutter side is there maybe something we can do on the desktop/GTK side? Presumably this is then an issue for all desktop Flutter apps running on GTK and not just the App Center

sminez avatar Jun 05 '24 08:06 sminez

@sminez so if possible, it would be great to have a solution even if most of the time it's a minimal loading time. I remember that when it happened it was quite long wait (I was using a VM).

anasereijo avatar Jun 05 '24 08:06 anasereijo

As far as I can tell the delay is barely noticeable. But the experience may vary in virtual machines and older hardware.

Screencast from 2024-06-05 13-04-44.webm

Screencast from 2024-06-05 13-04-30.webm

d-loose avatar Jun 05 '24 11:06 d-loose

I'm not sure if that's something we want to fix. On average hardware, it's only 1 or 2 frames, I don't think adding a loading state will be noticeable.

BLKKKBVSIK avatar Jun 05 '24 13:06 BLKKKBVSIK