7
Double loading bug (self.photon)
submitted 4 months ago by aaaaace to c/photon@lemdro.id

On ... https://phtn.lemmy.blahaj.zone/

the "random" thread loader runs twice.

I am on a slow rural connection so it may not be noticeable in town.

I go to read the first post, then page gets replaced by different posts.

This does not happen on... https://lemmy.blahaj.zone/

I think there is yet another theme for blahaj, but have not tested it.

top 4 comments
sorted by: hot top controversial new old
[-] Xylight@lemdro.id 2 points 4 months ago

That's because SSR is enabled. And photon doesn't have access to the Lemmy database completely, so it can't figure out what account you're using until the client fully loads Photon. So what's happening is this:

Server: loads posts with default settings

client starts loading...

Client: takes over server and loads posts client side using the users settings.

This will lead to different posts depending on what sort you use, what location, and if it differs from the server.

[-] aaaaace 1 points 4 months ago

Thank you. I switched to alexandrite and changed the colors. And found the messaging.

[-] Xylight@lemdro.id 1 points 4 months ago

SSR is disabled on phtn.app just like alexandrite, so you probably wont have the issue there.

[-] aaaaace 1 points 3 months ago

I dunno what that means, but I don't have the issue with Alex. I'd use an app, but need pinch to zoom a lot for seeing some details and the ones I tried didn't do that. I liked Eternity up until I needed PTZ.

this post was submitted on 18 Jun 2024
7 points (100.0% liked)

Photon

262 readers
6 users here now

Photon for Lemmy

A client for the fediverse designed to be intuitive, fast, and beautiful.

Share your themes, ask questions, report bugs, or check on the latest updates here!

You can contact the dev at @Xylight@lemdro.id.

Rules

  1. Posts must be related to Photon in any way
  2. Don't be mean
  3. If your post is a bug report, please preface the title with [solved] if it's been fixed.

founded 10 months ago
MODERATORS