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

placeholder for contact photo shows wrong character in contact list #824

Closed
j-ed opened this issue Jan 5, 2019 · 1 comment
Closed

placeholder for contact photo shows wrong character in contact list #824

j-ed opened this issue Jan 5, 2019 · 1 comment
Labels
3. to review Waiting for reviews regression Regression of a previous working feature
Milestone

Comments

@j-ed
Copy link

j-ed commented Jan 5, 2019

Expected behavior

If you've decided to sort your contact list based on the first or last name, the character used
as placeholder for a contact photo, should always be the first character of a displayed name:

  • Sort by first name -> FIRST LAST -> "F"
  • Sort by last name -> LAST, FIRST -> "L"
  • Sort by display name -> SALUTATION FIRST LAST -> "S"

Current behavior

Independently which sort order of your contact list you've chosen the placeholder for a contact photo always contains the first character of the display name. For your information, in the following example the salutation "Herr" is used therefore the character "H" is displayed although last name sorting has been selected. Instead I would have expect to get an "A" displayed because all last names are starting with an "A":

20190105_nc_contact_list_image

Steps to reproduce

  1. Open the Contacts app
  2. Switch between the available sort orders and check how the contact names and the placeholders are displayed.

Environment

Server Configuration

OS: Linux 3.16.50
Web server: Apache2 2.4.37
Database: MariaDB 10.2.19
PHP version: 7.2.13
Nextcloud version: 15.0.0
Contacts app version: 3.0.1

Client Configuration

Browser: Mozilla Firefox 64.0
Operating system: Windows 10


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@nextcloud-bot nextcloud-bot added the regression Regression of a previous working feature label Jan 5, 2019
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #581 (Contact photos dont show up until you click on the contact), #245 (Contact list sorting), #215 (Contact Pictures don´t show up), #782 (Contacts app only listing All contacts), and #312 (Large contact photo preview).

@skjnldsv skjnldsv added the 1. to develop Accepted and waiting to be taken care of label Jan 5, 2019
@skjnldsv skjnldsv added this to the 3.1.0 milestone Jan 5, 2019
@skjnldsv skjnldsv added 3. to review Waiting for reviews and removed 1. to develop Accepted and waiting to be taken care of labels Jan 25, 2019
@skjnldsv skjnldsv modified the milestones: next minor, next Jan 25, 2019
@skjnldsv skjnldsv modified the milestones: next, 3.0.3 Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews regression Regression of a previous working feature
Projects
None yet
Development

No branches or pull requests

3 participants