Go to newest post broken

xbb

22 Apr 2012, 03:53

off wrote:
off wrote:check if the post you land on is the post that is in the url-bar.
What I experience really is just the page loading 'wrongly' (i.e. afaik it's loaded images that make me end up at a post somewhere higher up than intended; the adressbar shows where I should be, clicking there and hitting enter makes me go there).
Webwit, any new insights on what Icarium may be experiencing?
We cannot fix that easily as images can be external, so their size is unknown.
What we can try is to make the page scroll after all the images are loaded.

User avatar
off

22 Apr 2012, 05:28

xbb wrote:We cannot fix that easily as images can be external, so their size is unknown.
What we can try is to make the page scroll after all the images are loaded.
Which is not ideal either, even now pages can take a while to load; during which I'll already be scrolling/reading. esp good fun with pics from certain asian sites, takes ages at times. If you wait to jump after such loadingtimes you'll surely disturb the browsing experience.

What might be good is if the entire page is loaded/rendered first, pic-'free' (small pics from the site itself next, avatars&smilies etc). This since someting else I experience at times is the page loading from top to bottom, in chunks; so holding down 'End' will get me to the bottom, continuously, 'till it's fully rendered and I hit the actual bottom.

Interesing problem this solution is.

Might be an idea to, at the time of posting, grab the dimensions of the image and insert those in the [img] tag or something. :idea:

User avatar
Icarium

22 Apr 2012, 12:07

Well, just to make this perfectly clear: These are two different problems. I end up on a completely wrong page. No amount of scrolling can fix that. ;)

User avatar
webwit
Wild Duck

22 Apr 2012, 13:53

Can you name a link you click on (the url when you hover over the link), the page you end up in (and specific url), the place you except to end up in.

User avatar
Icarium

22 Apr 2012, 14:15

Did so before in my 7th post on page 1. Will report again when I find another offending thread. Right now I have no unread posts.

User avatar
Icarium

22 Apr 2012, 22:00

Okay, here is one:
Link:
http://deskthority.net/viewtopic.php?f= ... ead#unread
Where I end up:
http://deskthority.net/off-topic-f10/th ... tml#p44226
Where I would like to end up:
...well somewhere on the last page of that thread.

User avatar
webwit
Wild Duck

22 Apr 2012, 22:18

That's the icon to go to the first unread post not the last post, so this could be right?

User avatar
Icarium

22 Apr 2012, 22:43

Well, not unless I have to specifically have to mark them as read. I end up there even if I revisit the same link.

User avatar
webwit
Wild Duck

25 Apr 2012, 03:30

Icarium wrote:Okay, here is one:
Link:
http://deskthority.net/viewtopic.php?f= ... ead#unread
Where I end up:
http://deskthority.net/off-topic-f10/th ... tml#p44226
Where I would like to end up:
...well somewhere on the last page of that thread.
Ok, I've managed to reproduce it.
Firefox does seem to cache the redirect. So you end up at a previous last post position.
Hmm, maybe adding some random string to the first url will fix it... or expiry/cache control headers.

User avatar
Icarium

25 Apr 2012, 08:35

Depending on the kind of redirect you're using that is either a bug with Firefox or with all the other browsers. :)

Thanks for investigating!

User avatar
Icarium

27 Apr 2012, 10:53

Any news on that? If you have access to webserver logs I would love to help you create some that show the problem. I can look into fixes myself then.

User avatar
off

27 Apr 2012, 13:45

For the first 5 secs, but rest is good anyhow.

Cereal though, what happen?!
Now when I click on thread titles in 'view your posts' they no longer link to unread or latest or nothing, just the plain OP. Icon does still go to unread though.
*edit: maybe I'm mistaken and the titles in 'view your posts' actually never went to the last unread :roll:
to make that up, have one more:

User avatar
Icarium

27 Apr 2012, 14:06

ah Rounds is a nice album...but what the hell are you talking about? :)

User avatar
off

27 Apr 2012, 14:22

Too little coffee?
lemme fix that right away ;)

User avatar
webwit
Wild Duck

27 Apr 2012, 16:09

I have some time this weekend to look at it.

User avatar
webwit
Wild Duck

27 Apr 2012, 22:56

I patched something, let me know if that fixed it for you.

User avatar
Icarium

28 Apr 2012, 10:15

I think it works! :)
What did you do?

User avatar
webwit
Wild Duck

28 Apr 2012, 13:22

I added some aggressive expiry/anti cache control headers to the 301 redirect.

User avatar
Icarium

29 Apr 2012, 11:07

Hm..sorry doesn't work. :/

I thought it did but apparently what you changed just made it work once. Sorry.

User avatar
webwit
Wild Duck

29 Apr 2012, 19:30

Maybe old redirects still in your cache?

JBert

01 May 2012, 22:20

webwit wrote:I added some aggressive expiry/anti cache control headers to the 301 redirect.
I've been doing some reading, and you might want to switch to a 302 redirect: http://stackoverflow.com/a/6982825 - a 301 is cached by default whereas a 302 shouldn't.

xbb

02 May 2012, 00:06

Please test now, clear your cache first

mintberryminuscrunch

10 May 2012, 14:21

It looks to me like the "mark forum as read" function in tapatalk breaks it...
(Not sure if old news)

ripster

10 May 2012, 14:28

Ah TapaTalk. Is that "sent by" thing allowed here?

: )

Edit. nvm, found the answer...

http://deskthority.net/deskthority-rela ... tml#p26308

User avatar
webwit
Wild Duck

10 May 2012, 17:26

mintberryminuscrunch wrote:It looks to me like the "mark forum as read" function in tapatalk breaks it...
(Not sure if old news)
Seems to be a problem at their end:
http://www.tapatalk.com/forum/threads/n ... hen.10186/

User avatar
Icarium

10 May 2012, 17:49

The original issue of this topic seems to fixed to me btw.

ripster

10 May 2012, 19:20

Most good threads get resolved loooong before they end.

ripster

10 May 2012, 19:21

off wrote:ripsterhack'd

..clear your cache? (sorry can't think of anything else)
Damn. I need to read these threads all the way through.

I have NOTHING TO DO with the current situation at the place that must not be named.

User avatar
off

10 May 2012, 20:28

Icarium wrote:The original issue of this topic seems fixed to me btw.
Nice! Then how about that secondary issue, images not having their height saved in the filename so you get dumped at a higher spot on the page when it's finally loaded?

User avatar
Acanthophis

04 Jun 2012, 12:15

It is still kinda broken.

If I click on "First unread post" and this post happens to be on the same page (page 1), the link just redirects me to the home page.

Post Reply

Return to “Deskthority talk”