server icon indicating copy to clipboard operation
server copied to clipboard

User icon does not display in the web browser on Android

Open terrytibbles opened this issue 8 years ago • 12 comments

Steps to reproduce

  1. Log in to Nextcloud using the web browser on Android
  2. Auto-generated user icon is not displayed (or is missing background)

Expected behaviour

The auto-generated user icon should be the same as the web interface on other devices.

Actual behaviour

Using Chrome on Android and logging-in to the web interface, the user icon is not displayed.

Server configuration

Operating system: Arch

Web server: Apache 2.4.33

Database: MariaDB 10.2.14

PHP version: 7.2.5

Nextcloud version: (see Nextcloud admin page) 14.0.1

Updated from an older Nextcloud/ownCloud or fresh install: Updated from older Nextcloud

Where did you install Nextcloud from: Source, Nextcloud website

Client configuration

Browser: Chrome 69

Operating system: Android 5.0.2

screenshot_2018-10-02-15-04-08-460_com android chrome

In a web browser on a PC it's displayed as follows:

screenshot_nextcloud-web_browser

terrytibbles avatar Oct 02 '18 07:10 terrytibbles

GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/5600 (Disabled users not shown in the Web-UI), https://github.com/nextcloud/server/issues/2967 (User cannot log in the web interface), https://github.com/nextcloud/server/issues/6890 (Gallery in demo doesn't display), https://github.com/nextcloud/server/issues/10711 (Upload Problem on Web Browsers), and https://github.com/nextcloud/server/issues/10317 (Contacts menu doesn't list users with users that set their display name to "local only").

nextcloud-bot avatar Oct 02 '18 07:10 nextcloud-bot

Hi! Before we continue, please do the following step:

  1. clear your browser's cache

Thanks :wink:

skjnldsv avatar Oct 02 '18 08:10 skjnldsv

I tried that and it has no effect.

terrytibbles avatar Oct 03 '18 02:10 terrytibbles

Thanks. Can you do a long press and open the image to a new tab? Or is it just text? Can you compare the image URL and see if they both matches?

skjnldsv avatar Oct 03 '18 06:10 skjnldsv

It looks like the image has been generated with the exact same background as the theme (it's not text). The image in the browser on the PC however looks like its been generated with the auto-generated background. Also, the URLs are not the same:

Phone URL: https://<host>/index.php/avatar/<user>/128?v=0

PC URL: https://<host>/index.php/avatar/<user>/32?v=0

terrytibbles avatar Oct 03 '18 06:10 terrytibbles

Does they look the same once opened in a new tab?

skjnldsv avatar Oct 03 '18 06:10 skjnldsv

No, they look like in the screenshots.

terrytibbles avatar Oct 04 '18 03:10 terrytibbles

Perfect! This is because one of the avatar have been generated before the colour change. You need to do the following steps:

  1. delete the avatar directory in the data/appdata_xxxxx folder
  2. run an occ files:scan-app-data

Thanks :wink:

skjnldsv avatar Oct 04 '18 08:10 skjnldsv

What do you mean by colour change?

Does the Nextcloud behaviour not need to change?

terrytibbles avatar Oct 05 '18 02:10 terrytibbles

@terrytibbles we adapted our colours to a better and easier to see set :)

skjnldsv avatar Oct 05 '18 04:10 skjnldsv

So new users won't be affected?

terrytibbles avatar Oct 05 '18 09:10 terrytibbles

@terrytibbles should not. Did my fixes worked?

skjnldsv avatar Oct 05 '18 09:10 skjnldsv