Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User icon does not display in the web browser on Android #11532

Closed
terrytibbles opened this issue Oct 2, 2018 · 12 comments
Closed

User icon does not display in the web browser on Android #11532

terrytibbles opened this issue Oct 2, 2018 · 12 comments
Labels
bug design Design, UI, UX, etc.

Comments

@terrytibbles
Copy link

terrytibbles commented Oct 2, 2018

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

@nextcloud-bot
Copy link
Member

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

@skjnldsv
Copy link
Member

skjnldsv commented Oct 2, 2018

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

  1. clear your browser's cache

Thanks 😉

@skjnldsv skjnldsv added needs info design Design, UI, UX, etc. labels Oct 2, 2018
@terrytibbles
Copy link
Author

I tried that and it has no effect.

@skjnldsv
Copy link
Member

skjnldsv commented Oct 3, 2018

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?

@terrytibbles
Copy link
Author

terrytibbles commented Oct 3, 2018

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

@skjnldsv
Copy link
Member

skjnldsv commented Oct 3, 2018

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

@terrytibbles
Copy link
Author

No, they look like in the screenshots.

@skjnldsv
Copy link
Member

skjnldsv commented Oct 4, 2018

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 😉

@terrytibbles
Copy link
Author

What do you mean by colour change?

Does the Nextcloud behaviour not need to change?

@skjnldsv
Copy link
Member

skjnldsv commented Oct 5, 2018

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

@terrytibbles
Copy link
Author

So new users won't be affected?

@skjnldsv
Copy link
Member

skjnldsv commented Oct 5, 2018

@terrytibbles should not.
Did my fixes worked?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug design Design, UI, UX, etc.
Projects
None yet
Development

No branches or pull requests

3 participants