files_3d icon indicating copy to clipboard operation
files_3d copied to clipboard

Not previewing files

Open haarp opened this issue 4 years ago • 5 comments

Hello,

this seems like a super useful app! I just installed and enabled 0.3.0 on a NC19.0.1 server. However, I'm not sure if I'm doing something wrong, or if it's plain not working.

I have a couple of .obj and .stl files which I want to preview. Clicking on them in the files app only offers me to download the file tho. Should I be getting a preview? If not, how do I open the preview?

Thanks a lot!

haarp avatar Jul 18 '20 22:07 haarp

Ah, just after creating this issue I managed to make it work. Disabling and re-enabling the app worked. Maybe there's a bug preventing some sort of initialization the first time around?

haarp avatar Jul 18 '20 22:07 haarp

I'm seeing something similar (with 0.3.3). Could it bee that the file cache is somehow not updated? Because the preview works for files that I already had in NextCloud before updating to 0.3.3, but it doesn't preview files I just added. Not even the same file that is working, just newly uploaded under a new name. It directly opens the download dialog.

flixr avatar Oct 30 '20 18:10 flixr

same here, toggling the app helped

MaggiWuerze avatar Jan 26 '21 08:01 MaggiWuerze

The problem is that the file extension -> mimetype connection is made in a migration step. This is only triggered when the app is enabled/activated. If someone has a nicer way to re-run that migration (or do it in another way) I more than happy to include it :smiley:

v1r0x avatar Jun 01 '21 12:06 v1r0x

Same here on a NC24.0.3 with files 3d 0.5.0 When I click on any .STL i simply donwload the file. No preview option offered. Deacticating and reactivating does not solve the issue. I also tried reinstalling from within NC webinterface. But without any luck. In the logging app I get no message related to the issue.

bobbolous avatar Aug 07 '22 09:08 bobbolous