nextcloud/files_photospheres

Photophere not loading automatically in NC26

Closed this issue · 6 comments

Until the previous Nextcloud version 25, when I click on a photosphere image (360 panorama) file, it got automatically detected and loaded in Photosphere app. Now after updating to Nextcloud version 26, and app version 1.26.3, I see that photosphere files are loaded like ordinary photos. I have to right-click on an image click "View in PhotosphereViewer" to load into the app.

Is there any setting I am missing of this is an incompatibility /bug for the new version of NC.

R0Wi commented

This is indeed not the intended behaviour. Thanks for reporting, will have a look into this

Thanks for checking this. Just wanted to add some more information

My exact Nextcloud version is 26.0.2 (Nextcloud AIO docker, latest)

I also found that if I open a photosphere file from a public shared link, then Photosphere app loads automatically as intended.

R0Wi commented

Should be fixed in app version v1.26.4. Much appreaciate your feedback!

Thank you for fixing this so quickly. I updated the app and now it works.

By the way, If I recall correctly, in older versions of the app there used to have a autorotate button in the navbar, like this one
https://jsfiddle.net/Lo6cz9py/3/

Has the autorotate button been removed in newer versions?

R0Wi commented

Think that was a side-effect of updating the PhotoSphereViewer component to v5. Currently we're starting the component in a kind of "default" configuration:

// plugins: [

I think we might need to add the AutorotatePlugin here like shown in your jsfiddle snippet.