Share screen behaviour with photos
Nextcloud dev android 20190118 version Android 5.0.2 Server running Nextcloud 13.0.8
When I select a file (any except photo) -> details -> sharing and click on field to write, everything works fine. If I do the same with a photo, when click on field and keyboard appears, the loading icon comes up. Can type letters and take results of users but is not possible to see what I write, unless I disappear the keyboard.
Sharing problem of issue #3402 with nextcloud dev 20190117 no more exists.
@tobiasKaminsky I uploaded some screenshots on my server on test account. Hope they help.
GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/issues/567 (Photo view), https://github.com/nextcloud/android/issues/1607 (Cache images in Photos Screen), https://github.com/nextcloud/android/issues/2717 (Back button doesn't work in sharing screen), https://github.com/nextcloud/android/issues/873 (Only "shared with others"), and https://github.com/nextcloud/android/issues/543 (Clarify search behaviour).

Totally strange.
@AndyScherzinger do you have in idea?
Indeed this is only happening for images.
Also it happens if you click in "new comment" text input (in details of an image)
no an idea about the issue, while the difference is obviously the toolbar's content (image view is hidden in the toolbar for non-images), so this is the only thing that comes to my mind atm.
I suspect that for some reason the activity/share fragment (or parts of it) are set to hidden (as of the keyboard) and then the "empty_list" part remains visible.
If this is true, the question is, why does parts of the layout get hidden when opening the keyboard…and who is responsible of this…)
Afaik while not having looked at the code we do not explicitely hide UI elements when the keyboard becomes visible
Setting the LinearLayout to visibility:gone in empty_list.xml helps.
What about this explanation:
- when keyboard is opened, the layout gets resized
- as share/activity fragment has no minimum height, it gets so condensed that you cannot see it
- only empty_list view remains
yes, that might well be the cause of it 👍
Setting the LinearLayout to visibility:gone in empty_list.xml helps.
This is indeed working, but now I have no clue how to do this programmatically: It should only show the loader on refresh activities/on loading on for first time.
But it now shows only a white area…
I guess on long run, we should set LinearLayout to "gone" by default and only enable it when needed in an occurrences…