stefan-niedermann / nextcloud-deck

📋 Android client for nextcloud deck app
https://play.google.com/store/apps/details?id=it.niedermann.nextcloud.deck.play
GNU General Public License v3.0
499 stars 53 forks source link

Not showing attached files in mobile app #754

Closed neerro closed 3 years ago

neerro commented 3 years ago

Describe the bug When I attached the image (.jpg) to the Deck task I couldn't saw the image preview and full image when I tried to open it. Attached screenshots is self explanatory of the issue.

To reproduce Issue is reproducible with an account from try.nextcloud.com:

Expected behavior I would to see the preview and full size of the image (in the frame of screen) when I open it.

Screenshots Screenshot_20201211_110406_it niedermann nextcloud deck play Screenshot_20201211_110418_it niedermann nextcloud deck play

Versions

Smartphone (please complete the following information):

Are you using LDAP?

desperateCoder commented 3 years ago

Hi @neerro, thanks for your report and sorry for the inconveniences.

Is your nextcloud server installed on the root of your domain? By that I mean is it something like my-nextcloud-domain.ru or is it my-nextcloud-domain.ru/nextcloud?

In the card list view, is your user-avatar shown in the top right corner? Or is it a generic user-icon?

neerro commented 3 years ago

Hi Artur, The nextcloud domain has a view as: my-nextcloud-domain.ru/nextcloud Avatar is shown as a generic user-icon as I didn't put my personal one.

desperateCoder commented 3 years ago

Ok, I think this is related to this issue: https://github.com/stefan-niedermann/nextcloud-deck/issues/664

I guess your avatar in the Android app looks like this? grafik and not like this: grafik (this is my default avatar in nextcloud web-client, ignore the black borders, shitty screenshot :laughing:) Can you confirm this?

The mechanism how we fetch the avatars and the attachments is the same, so i guess we have some problems with Nextcloud instances running in a subfolder.

neerro commented 3 years ago

"I guess your avatar in the Android app looks like this?" - definitely Yes. Now I checked and found that I have approximate the same issue (image view) with Deck in web-client (I haven't capability to see images in preview).

desperateCoder commented 3 years ago

Now I checked and found that I have approximate the same issue (image view) with Deck in web-client

Well, that's very interesting! Thanks for sharing this information with us! @MelBourbon, @jvlker can you confirm this behaviour on your instances?

stefan-niedermann commented 3 years ago

Stop. @desperateCoder in the Web UI it is no bug but a not yet implemented feature (see https://github.com/nextcloud/deck/issues/2645). Please focus only on the Android app here.

Mangleuz commented 3 years ago

I (in retrospect stupidly enough) replied and also updated my reply to this here: #706

stefan-niedermann commented 3 years ago

Good news, we believe that we have been able to solve this issue completely. If you want, you can safely try the solution, installing the latest APK directly from here - it will be installed parallel to your default Deck Android app.

It will be released with the next version 1.13.5.

Please don't hesitate to open a new issue if the described problems are still present at the linked APK or in the released version 1.13.5 or higher! Thank you for reporting! :slightly_smiling_face:

neerro commented 3 years ago

Pleased to hear it from you Stefan. Really that's good news. Thank you for your nicely collaboration and hard work. I'll be waiting with impatience for a new release (and while I'll try the latest APK). Would you tell an approximate date for it?

stefan-niedermann commented 3 years ago

We are currently releasing 1.13.4 in a staged rollout (currently ~ 10%). We aim to get it to 100% until Dec 24.

I will just published 1.13.5 at the Play Store beta channel later today. It will take a few weeks though until we can roll out it completely at the production channel for all users finally (which is only partially our fault, because Google currently needs a few weeks for each release because of Corona).

dtcg commented 3 years ago

Issue is still happening: attachments are not showing in the mobile app.

Context:

stefan-niedermann commented 3 years ago

There are no previews for non-image files but only generic icons.

If the attachments aren't shown at all please open a new issue filling the complete issue template including a screenshot. This issue was about something different (generic icons were displayed instead of previews).