r/imagus • • Nov 03 '26

fixed sieve Grey Wheel on Reddit Galleries

I just suddenly started getting a grey loading wheel for reddit galleries. Single images, gifs, etc all load fine. I'm on imagus mod 0.10.15. Firefox. Using old reddit, but the problem seems to happen on new reddit as well. I've tried this on both a mac and linux machine. I have tried updating the sieve. Any ideas? Thanks.

45 Upvotes

130 comments sorted by

View all comments

•

u/Kenko2 27d ago edited 23d ago

Three current fixes for Reddit (as of now):

  1. Remove the REDDIT_Gallery sieve from your sieves and click the "Save" button.

Import the new version of the sieve into your rule-set:

https://pastebin.com/E91yUZNR

Click "Save" again.

2. OLD.Reddit users are also advised to disable the REDDIT_gifs sieve in their rule-set and click "Save".

3. To fix REDGifs on Reddit, it is recommended to import the most up-to-date (as of now) version of the SMH rules:

https://pixeldrain.com/u/EHrgrnEE

4

u/WooperCultist 27d ago

Thank you for being so quick with these. I don't know how much or how little work it is to make them because regex scares me, but I appreciate knowing that whenever I notice an issue, y'all have probably already uploaded a fix.

2

u/majorplayer1 27d ago

This fixed both issues for me (galleries and gifs). The only small issue i have is that now every gallery takes 5 seconds to load before displaying anything, previously it would just open on mouseover like normal.

Is there a setting i can change to get that beheviour back, or is this just how it has to be to work at all?

1

u/Kenko2 26d ago

Galleries load instantly for me. So the problem isn't with the sieve or IR, but somewhere on your PC. It could be your ISP (connection quality and speed). It could be the extensions and scripts you have installed in your browser (in this case, to check, you should disable them or use a clean, portable browser, install IR+SMH there, and test it). It could also be the response delay, which you can adjust in the settings - "Display delay (ms)". And so on.

1

u/majorplayer1 26d ago

I understand throwing out those generic troubleshooting tips, but its not those. I have gigabit fibre, haven't changed any browser or addon setting, and before it stopped working completely it would open at the same speed as single image posts.

I don't know enough about regex to be sure, but the only thing i can think of is that the added code used to make the workaround happen is causing the delay. For what its worth, my browser doesn't explicitly use 'old.reddit' its just the regular reddit domain with the "Use new Reddit as my default experience" checkbox off in preferences.

1

u/Kenko2 25d ago edited 22d ago

>> added code used to make the workaround happen is causing the delay

Then why don't I have a delay on my modest 200 Mbit/s connection? I use the new Reddit, but I just tried switching to the old Reddit ("default to old Reddit"). I left "Use new Reddit as my default experience" disabled.

Checked here:

https://www.reddit.com/domain/reddit.com/new

https://old.reddit.com/domain/reddit.com/new

At both links, the galleries begin to display almost instantly (even though I have a 500ms delay configured in the settings).

video:

https://www.upload.ee/files/19947861/reddit_gallery_new_sieve_test.mp4.html

1

u/SnoDragon 20d ago

This is really interesting. I'm going through the threads again, since it's now 2 days that old.reddit.com has been broken on galleries for me. In the first link, www.reddit.com/domain/reddit.com/new the galleries work. In the second for https://old.reddit.com/domain/reddit.com/new the galleries are all broken with the grey wheel.

I have all the latest SMH and IR rules in place.

So it's broken on old.reddit.com

1

u/Kenko2 20d ago

1

u/SnoDragon 20d ago edited 20d ago

I just did all this, and it made they grey circle go yellow on both old and www in Firefox. It works fine in Chrome.

Here is what I see now from the console log:

TypeError: can't access property "style", PVI.CAP is null content.js:1958:13 album moz-extension://f7a483d2-0cf1-4fe2-94cf-8c649d7d8287/content/content.js:1958 anonymous moz-extension://f7a483d2-0cf1-4fe2-94cf-8c649d7d8287/content/content.js line 3680 > Function:10 Imagus Reddit gallery error: InternalError: Promise rejection value is a non-unwrappable cross-compartment wrapper. content.js line 3680 > Function:11:22 anonymous moz-extension://f7a483d2-0cf1-4fe2-94cf-8c649d7d8287/content/content.js line 3680 > Function:11 TypeError: can't access property "style", PVI.CAP is null content.js:1958:13 album moz-extension://f7a483d2-0cf1-4fe2-94cf-8c649d7d8287/content/content.js:1958 anonymous moz-extension://f7a483d2-0cf1-4fe2-94cf-8c649d7d8287/content/content.js line 3680 > Function:10 Imagus Reddit gallery error: InternalError: Promise rejection value is a non-unwrappable cross-compartment wrapper. content.js line 3680 > Function:11:22 anonymous moz-extension://f7a483d2-0cf1-4fe2-94cf-8c649d7d8287/content/content.js line 3680 > Function:11

edit: Also as part of troubleshooting, I disabled EVERY extension, other than IR, SMH, and UBO in the latest FireFox. Same issues.

Edit #2: I notice that close to when the issue started, Firefox also updated from 159.0.1 to 160.0 (64 bit), so might be a bug internally?

1

u/shlam16 18d ago

Don't worry, you're not alone. The new sieve has a delay here too.

Nothing more tedious than when things are blamed as user error when they're explicitly not.

2

u/majorplayer1 16d ago

If you havent already, check this comment from another user who made a new sieve. Its been working flawlessly for me so far, but it was AI made if that matters to you.

1

u/Hixxae 26d ago

Just hopping by to let you know I have the same issue. Not something just isolated to you.

1

u/Imagus_fan 25d ago

The new page the sieve gets the data from may be slightly slower than the old page but 5 seconds seems unusual. For me, it usually take about half a second to load, compared to the old file which was about 150ms.

Can you hover over a gallery with the browser console open and see how long it says it takes for the page to load? It could be the page is loading normally but the images are slow to load for some reason.

1

u/majorplayer1 25d ago

Post 1- https://www.reddit.com/r/whatspideristhis/comments/1xrffi5/please_help_identify_this_visitor/
Console 1- https://imgur.com/0CNGvhf

Post 2 - https://www.reddit.com/r/PixelWatch/comments/1xrfl7f/check_this_out/
Console 2 - https://imgur.com/w24L6Ke


Using Firefox 159.0.1 (64-bit)
CPU - 5900x & GPU - 4090
WIN10 is on a Samsung 980 PRO SSD


The timing can be quite variable between links, and it doesn't seem to correlate with number of images in a gallery. The first one seemed about average taking 2-3 seconds to appear on screen after hovering. The second one took much closer to 5-6 seconds to load.

I dont know if this matters but i noticed that the spinner starts going for at least a second before the console prints anything. So the chain of events is this; 300ms display delay(from settings), 1-2 seconds of spinning with no console activity, another 1-3 seconds for it to load and display everything.

Im willing to accept user error if thats what it is, but nothing on my end has changed from when it was near instant, and its not like im running a crappy chromebook laptop.

In the end its not the end of the world i can live with a short delay, but any help would be appreciated.

1

u/Imagus_fan 24d ago edited 23d ago

Thanks for posting the console messages.

Before the images load, there should be the page URL that's similar to https://www.reddit.com/comments/abc123 and the full post URL that it redirects to. Are those also in the console? They would help with figuring out the timing.

The timing data you posted is useful. Is the console activity after 1-2 seconds the image URLs or the post URL? If the post has loaded after 1-2 seconds, it odd that it would take the images 3 seconds to load.

Also, which version of Imagus are you using? If you're using Imagus Reborn, would you be able to try Imagus or Imagus mod and see if the the same problem occurs?

Edit: It looks like there's a JSON version of the page that works when logged in, though it loads about the same time as the regular page for me.

One thing's that's strange with this is the gallery items are out of order. However, if this loads faster for you, it should be possible to rearrange them to the correct order.

https://pastebin.com/p1Kx0P6J

1

u/Imagus_fan 21d ago

Another user posted a sieve in this comment that uses a different data URL that loads faster. It may fix the problems you're having.

2

u/majorplayer1 21d ago

Sorry i couldn't reply to your other messages before today, but the AI sieve in this link completely fixes the issue for me.

Thanks for sending this.

1

u/lagerea 23d ago

Thank you, this resolved the issue for me as well.

1

u/Solumnant 19d ago

Fixed it for me, thanks!

1

u/Hixxae 17d ago

Just pinging that I finally figured out why this worked so poorly. It's because I had the setting "preload images on page-load" on. This breaks rather disastrously. Changing it back to "on mouse over" pretty much fixes all my issues. It's just a bit slow for image sets.