Home » Your Groups » Bugs, Errors and Suggestions » Recently title and text persisting while arrowing through images

Recently title and text persisting while arrowing through images

 

MidgePhoto

By MidgePhoto, 1680911695

I've noticed a few times over I suppose more than a week but less than a month and ignored it or assumed it was something at this end that if I get into a group of images - recent by people I follow; images I've loved in the gadget; my own profile; someone's album - open one by clicking the icon, and step though them by using the right arrow key, the image changes, but the title, attributions, tags, comments etc remain those of the initial image.

Refreshing at that point with F5 brings up the initial image.

Is there placeholding or bookmarking or a counter or somesuch going on as one steps through a collection, and is it possible that it might lag or be disconnected under some circumstances?

Or is this to do with the many layers of caching and so on.



Northmoor said, 1680933417

I just tried this, does not happen for me. Changes as the image changes.

Android phone up to date.

Gothic Image said, 1680934373

I don't see this either - what device, OS and browser?

Russ Freeman (staff) said, 1680935742

There is nothing fancy about image pages. They are just plain web pages.

It sounds like a browser issue.

MidgePhoto said, 1681025894

I agree, it seems local.

Not present on the tablet.


Gothic Image said

I don't see this either - what device, OS and browser?


A PC with an AM chip, Ubuntu Linux LTS, FIrefox in the Snap package as provided by Ubuntu, access to the Web via a Squid proxy (which does rather less these days, since HTTPS which is not compiled into my version) and thd Virginmedia cable which recently suffered a partial weirdness.

I shall ask it what it is up to.

MidgePhoto said, 1686656493

Still continues, leading to oddities when stepping through next picture next picture.

Today I notice that when the first one is a narrow picture, the right arrow which is from the PP sprites image (which has many pictures within it so presumably something clever is done to select and display only the relevant one zordered in front of the photo, and make the area in which it appears a hot area)   stays in the same position for subsequent pictures.

Odd.


Russ Freeman (staff) said, 1686658766

It still sounds like a browser issue since it is not properly clearing the page content between HTTP requests.



MidgePhoto said, 1686661922

Russ Freeman said

It still sounds like a browser issue since it is not properly clearing the page content between HTTP requests.



The address, the URL in the slot, remains constant.

Again, odd.

Russ Freeman (staff) said, 1686662275

PP does nothing aside from linking to the next page, and that's a fundamental browser function.

Maybe it's caused by an addin or extension. What happens if you browse without extensions?


MidgePhoto said, 1686662528

When I click on the right arrow/next image in sequence icon, what is the link supposed to be?

What it is, if I copy link and open it in a new window, is the URL of the first page I called up, not necessarily this page, nor is it the next page URL.

But if I left click it, I get the next image in the sequence, but in the first page of the sequence.


So is there some JavaScript involved in that HTTP request?




Russ Freeman (staff) said, 1686669390

MidgePhoto said

When I click on the right arrow/next image in sequence icon, what is the link supposed to be?

What it is, if I copy link and open it in a new window, is the URL of the first page I called up, not necessarily this page, nor is it the next page URL.

But if I left click it, I get the next image in the sequence, but in the first page of the sequence.


So is there some JavaScript involved in that HTTP request?

The link is dependent on what image you are looking at and which collection it is in. It will be whatever is the next or previous image in the sequence, as returned by a request to the server.

When the server returns the URL of the next or previous image then the JS uses "window.location.href = data.url", where data.url is the URL of the next/previous image in the sequence, to navigate to the next image page.

There is no code to alter the image title or any other meta data between images. Instead, the entire page is downloaded fresh, as per the normal use of window.location.href.

MidgePhoto said, 1686735400

Hmm.  Continues weird.  Not the browser cache. Not Squid-cache. There'll be a new version of Mozilla along in a while.

MidgePhoto said, 1688826962

Russ Freeman said

, the entire page is downloaded fresh, as per the normal use of window.location.href.


Is it all HTTPS, or are there some bits of HTTP left?

Russ Freeman (staff) said, 1688827372

MidgePhoto said

Russ Freeman said

, the entire page is downloaded fresh, as per the normal use of window.location.href.


Is it all HTTPS, or are there some bits of HTTP left?

Everything should be HTTPS and I am unaware of any part of PP that is accessible as plain HTTP.

The title and text are part of the HTML document and aren't downloaded through any other requests.

MidgePhoto said, 1696627888

Russ Freeman said

...

The link is dependent on what image you are looking at and which collection it is in. It will be whatever is the next or previous image in the sequence, as returned by a request to the server....


Hovering over the "next picture" link, either to the right or to the left, the floating tooltip/title is the URL of the page on which I started, and which has the text which is shown. 

That is, so far as some part of this is concerned, the link is _not_ "dependent on whatever is the next or previous image in the sequence, as returned by a request to the server."

Click it, and I get the next/previous picture, still in the initial page.

Hold and open it in another tab/window, and I get the original image, still in the initial page. That is, not the image I am looking at, nor the image I would like to look at, but the first image I looked at.

Weird.

Clearly the working parts are as you describe them, but the display is different, which perhaps points to a particular location?  JS is largely a dark art to me, but clearly wonderful stuff.


It affects me on exactly one device, which does suggest there is something about this one, however it used not to.  If I can identify a reason, it might amuse the Ubuntu-Mozilla axis to persuade it to stop happening.



MidgePhoto said, 1698965935

A linked (?) weirdness.

I commented on (and I think liked) this excellent image

having got it showing by paging through more than one.

My notifications now tell me that two models, one the one shown in the image, and one the one in the previous image, and thus the page text, have liked my comment.

No reason one model should not like my comment on another's picture, but it is unusual.

I suspect there is some cross-weird-linkage.  Or something has become cross-weird.