Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full screen for slide shows no longer opens #4716

Closed
steinarb opened this issue Oct 28, 2023 · 7 comments
Closed

Full screen for slide shows no longer opens #4716

steinarb opened this issue Oct 28, 2023 · 7 comments

Comments

@steinarb
Copy link

This is the web interface to https://pixelfed.social and I have seen this bug on chrome on windows and vivaldi on debian.

Clicking on the "Full screen" button for slide shows (black square upper left in the image) currently does nothing.

I get the following stack trace in the console of the chrome (actually vivaldi) webtools when clicking on the "Full screen" button:

TypeError: Cannot read properties of undefined (reading 'src')
    at vendor.js?id=aa78e65108a1408200df9d23217f0aca:2:152574
    at V (vendor.js?id=aa78e65108a1408200df9d23217f0aca:2:152692)
    at o.toggleLightbox (spa.js?id=3d4942f9a9920995110f87454f9a5979:2:11323)
    at click (spa.js?id=3d4942f9a9920995110f87454f9a5979:2:48250)
    at qn (vendor.js?id=aa78e65108a1408200df9d23217f0aca:2:2926733)
    at HTMLParagraphElement.n (vendor.js?id=aa78e65108a1408200df9d23217f0aca:2:2914489)
    at Yi.i._wrapper (vendor.js?id=aa78e65108a1408200df9d23217f0aca:2:2961934)

Clicking on the image of a non-slideshow image, shows that image in full screen.

Clicking on the image (instead of the button) in a slide-show gives the following output to the webtools console:

Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at Z (https://pixelfed.social/js/vendor.js?id=aa78e65108a1408200df9d23217f0aca:2:156033)
@steinarb
Copy link
Author

steinarb commented Dec 3, 2023

A little ping on this one today: still not able to open slideshow posts in full screen on the web interface of pixelfed.social.

@Leatherface75
Copy link

Leatherface75 commented Dec 8, 2023

Same problem on my instance it works when there is 1 picture but not a few pictures in a post.
Edit: And yes i am using latest commits with the supposed fullscreen fix.
But the problem still exists.

ping @dansup

@Leatherface75
Copy link

Leatherface75 commented Jan 12, 2024

Anyone workong on this?
Running with all latest changes.
Only works in Pixelfed app and posts with only 1 picture and not a collection.

image

@steinarb
Copy link
Author

steinarb commented Jan 13, 2024

The stack trace today is the same as in my original issue.

There are two more warnings in the devtools console, that may, or may not be related:

vendor.js?id=aa78e65108a1408200df9d23217f0aca:2 [VueIntersect] You may only wrap one element in a <intersect> component.
(anonymous) @ spa.js?id=3d4942f9a9920995110f87454f9a5979:2
vendor.js?id=aa78e65108a1408200df9d23217f0aca:2 Allow attribute will take precedence over 'allowfullscreen'.

@ellotheth
Copy link

Same behavior and stack trace when I click the "expand" icon in a post with multiple images on my instance running 84b63f8:

TypeError: can't access property "src", O[L] is undefined
    V https://gram.ello.tech/js/vendor.js?id=aa78e65108a1408200df9d23217f0aca:2
    V https://gram.ello.tech/js/vendor.js?id=aa78e65108a1408200df9d23217f0aca:2
    toggleLightbox https://gram.ello.tech/js/spa.js?id=3d4942f9a9920995110f87454f9a5979:2
    click https://gram.ello.tech/js/spa.js?id=3d4942f9a9920995110f87454f9a5979:2
    qn https://gram.ello.tech/js/vendor.js?id=aa78e65108a1408200df9d23217f0aca:2
    n https://gram.ello.tech/js/vendor.js?id=aa78e65108a1408200df9d23217f0aca:2
    _wrapper https://gram.ello.tech/js/vendor.js?id=aa78e65108a1408200df9d23217f0aca:2
    Yi https://gram.ello.tech/js/vendor.js?id=aa78e65108a1408200df9d23217f0aca:2
    mt https://gram.ello.tech/js/vendor.js?id=aa78e65108a1408200df9d23217f0aca:2
    Ui https://gram.ello.tech/js/vendor.js?id=aa78e65108a1408200df9d23217f0aca:2
    v https://gram.ello.tech/js/vendor.js?id=aa78e65108a1408200df9d23217f0aca:2
vendor.js:2:2927099

(Firefox 122b9)

@steinarb
Copy link
Author

Suddenly discovered today that opening full screen on slide shows now works on https://pixelfed.social/ again.

So this bug is probably fixed.

Since I am the one opening the issue and since the issue now is gone for me, I'm closing this as fixed

@Leatherface75
Copy link

Suddenly discovered today that opening full screen on slide shows now works on https://pixelfed.social/ again.

So this bug is probably fixed.

Since I am the one opening the issue and since the issue now is gone for me, I'm closing this as fixed

Yeah it works again since a while ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants