Dimillian / Dimillian/IceCubesApp

Image/Media loading is often delayed

Open
#1,088 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
7.1k
Forks
720
PR merge metrics
No merged PRs in 30d

Description

Environment:

  • OS:
    latest version of iOS/MacOS
  • IceCubesApp version:
    IceCubes 1.5.10

Description

Images in the timeline frequently take a ridiculously long time to load. I often find myself right clicking images, selecting view in a browser, then after I've viewed the image and gone back to Ice Cubes sometimes the image still hasn't loaded. It does load eventually, these are not failed requests.

I have a fast connection (gigabit fibre), and it happens too frequently to be server side load issues (also if it was server side, I would think the network request would time out / fail?).

Does the app have a queue of network requests? Are important requests are sitting in the queue idle for a very long time waiting for other unimportant network requests to finish first? For example it seems to happen particularly often when a post has a large number of boosts / favorites, is it loading all those profile pictures first? Some profile pictures take seconds to load, perhaps because their server is slow to respond.

Assuming my theory is correct, I suggest either having a separate queue for important network requests, or alternatively (as a short term solution?) when a "priority" network request is added to the queue everything else should be dropped/moved to the end.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified. Reproduce the delayed image loading on the stated iOS/macOS versions and trace whether timeline images are delayed behind other requests, especially posts with many boosts or favorites. Done means identifying and fixing the cause so important images load promptly, with regression coverage where the existing test structure allows.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.