Recently title and text persisting while arrowing through images

 

MVJ Photographie said, 1724431604

Hey Russ!

Well done 😀

But I'm not sure I understand it correctly. Do you mean it happens only when the image is displayed in fullscreen mode? It's definitely not the case on my smartphone.

photofervor said, 1724433481

Russ Freeman thanks Russ - been annoying having to switch browsers (Safari to Chrome) to get around.

indemnity said, 1724434385

Russ Freeman said

Woohoo!

Whilst investigating something unrelated, I discovered why this problem exists, and it's definitely a PP problem :-)

Because I know why it is, I know how to easily reproduce the fault.

Put the browser in fullscreen mode (on a PC, use F11) and go next-next through the images. The image changes, but the rest of the page does not.

It's because PP uses a flawed mechanism to detect if an image is being displayed in fullscreen mode.


Fabulous......next Dorito skin. ;)

Russ Freeman (staff) said, 1724434787

MVJ Photographie said

Hey Russ!

Well done 😀

But I'm not sure I understand it correctly. Do you mean it happens only when the image is displayed in fullscreen mode? It's definitely not the case on my smartphone.

No, not ONLY. I outlined A way I discovered I could reproduce the fault. There are other circumstances that might reproduce it but it doesn't matter, since they all share the same outcome.

DM Photos said, 1724434827

If it's any help the same happens on my I Pad, but not on my laptop. I have been aware of it for some time, it's not a recent thing.

MVJ Photographie said, 1724436788

Russ Freeman Thank you 😀

Russ Freeman (staff) said, 1724441540

DM Photos said

If it's any help the same happens on my I Pad, but not on my laptop. I have been aware of it for some time, it's not a recent thing.

It's code that was written a LONG time ago. It's ancient.

photofervor said, 1724620192

Russ Freeman

happening again :-(

MidgePhoto said, 1724620554

Well, then.

Sensual Art said, 1724622838

Russ said he had found how to reproduce the problem, and from that had worked out the cause.

I don't believe he said he's fixed it yet.

photofervor said, 1724629079

Sensual Art said

Russ said he had found how to reproduce the problem, and from that had worked out the cause.

I don't believe he said he's fixed it yet.


For me (on Safari) it did solve it following his post but it has returned.

Russ Freeman (staff) said, 1724657995

I haven't updated PP to fix it yet.

The bug is related to browser window size, and PP thinks it is in full-screen mode when moving next/previous between images.

MidgePhoto said, 1724794403

Russ Freeman I tried with a browser window that wasn't maximised but no difference seen.

Full screen as in discard the browser frame I rarely use.

Russ Freeman (staff) said, 1724835473

MidgePhoto said

Russ Freeman I tried with a browser window that wasn't maximised but no difference seen.

Full screen as in discard the browser frame I rarely use.

Here's the broken code for detecting whether the browser is in full-screen mode:

function isFullScreen(){ if((window.fullScreen) || (window.innerWidth == screen.width && window.innerHeight == screen.height)) { return true; } else { return false; } }

The fail part is in bold.

The bug will soon be fixed :-)

MidgePhoto said, 1724837099

Russ Freeman said

...

Here's the broken code for detecting whether the browser is in full-screen mode:

function isFullScreen(){ if((window.fullScreen) || (window.innerWidth == screen.width && window.innerHeight == screen.height)) { return true; } else { return false; } }

...


Ah yes, JavaScript [1]. Wonderful stuff. One of the Dark Arts.

As a curiosity and perhaps an edge case, I wonder how that behaves, once corrected, when there are multiple screens involved.

My browser will maximise to one physical screen, on a click, and F11 full screen likewise, but I can enlarge a browser window to fill 3 physical screens.  I have absolutely no idea what answers it will then give to questions. Hopefully sensible ones.

This setup seems to have moved from X11 to Wayland.  I'm not sure what magic connects the OS to the graphics card.



[1] https://purpleport.com/group/bugs-errors-suggestions/189333/recently-title-and-text-persisting-while-arrowing-through-images/page/1/#gr3715062