Skip to content

Photo loaded only after full contact details fetched #477

Closed

Description

@SimonTank

Since version 2.1.0 the contact list width is calculated wrong and the contact preview images are not loaded anymore.
example

Switching to another contact in list shortly shows the correct width of the list but all contact circles get shifted up.
List should have a fixed width and contact images should be loaded initially.

server version: 13.0.0.14 no additional apps enabled
tested browsers: Firefox 58 and Chrome 64 on Linux Mint

Activity

  1. skjnldsv commented on Feb 13, 2018

    @skjnldsv
    Member

    List width is a duplicate of #453
    Image are displayed on my setup. Can you clear your cache please? :)

  2. added
    bugSomething isn't working
    designRelated to the design
    needs infoNot enough information provided
    on Feb 13, 2018
  3. SimonTank commented on Feb 13, 2018

    @SimonTank
    Author

    Clearing the cache does not help, event tried with disabled cache and hardreload. Contact images only loads the image by clicking on a contact.
    No errors appear in the debug console.

  4. skjnldsv commented on Feb 13, 2018

    @skjnldsv
    Member

    Do you have the same problem on every contacts? or only a few?
    If so, can you post a vcf card here so we can test?

  5. SimonTank commented on Feb 13, 2018

    @SimonTank
    Author

    bildschirmfoto vom 2018-02-13 14-34-21

    I created a user called Max Mustermann in the Contacts app same problem. Stumbled over the group name Bug #444, not my day. The problem appears on all contacts. No exception.
    0719500f-fad6-4abc-897b-732173b4c949.vcf.gz

  6. skjnldsv commented on Feb 13, 2018

    @skjnldsv
    Member

    Sooo, is it working for Max Mustermann after all?

  7. mnarwold commented on Feb 13, 2018

    @mnarwold

    Having the same issue after updating to NC13 and latest version of contacts. Tested on latest chrome and microsoft Edge

  8. skjnldsv commented on Feb 13, 2018

    @skjnldsv
    Member

    Can you try in incognito/private mode? I want to check something :)

  9. mnarwold commented on Feb 13, 2018

    @mnarwold
  10. skjnldsv commented on Feb 13, 2018

    @skjnldsv
    Member

    @mnarwold OOoh, I thought you meant the image error.
    The width error is known and to be addressed in #453 :)

  11. mnarwold commented on Feb 13, 2018

    @mnarwold

    OK, Thanks, sorry I missed that in your comment above.

  12. skjnldsv commented on Feb 13, 2018

    @skjnldsv
    Member

    No worries! Thanks for reporting! :)

  13. 25 remaining items

  14. jakobroehrl commented on May 10, 2019

    @jakobroehrl

    Hi @skjnldsv
    I updated to the newest version. 3.1.1
    But the problem exists further on one of my servers.
    It tried varies browsers and deactivated and activated the app.
    Do you have an idea how to fix this?
    Thanks!

  15. skjnldsv commented on May 10, 2019

    @skjnldsv
    Member

    @jakobroehrl you will need nextcloud 16 for that. :)
    The feature that allow us to check if a contact have a photo or not without downloading the picture itself is available on 16 only 😉

  16. Michele64 commented on May 10, 2019

    @Michele64

    I just upgraded to 16 and, tadaaah it finally works! Thank you all!

  17. skjnldsv commented on May 10, 2019

    @skjnldsv
    Member

    @Michele64 on a note from 0 to 10 where 10 is very snappy how would you rate the contacts loading now?

  18. Michele64 commented on May 10, 2019

    @Michele64

    Like 7 or 8

  19. skjnldsv commented on May 10, 2019

    @skjnldsv
    Member

    Thanks! @Michele64
    Any specific points that would require a dedicated attention? :)

  20. Michele64 commented on May 10, 2019

    @Michele64

    nothing so far...
    one thing I don't get: how to change the contact picture...

  21. skjnldsv commented on May 10, 2019

    @skjnldsv
    Member

    @Michele64 click the avatar, top right menu :)

  22. m-a-v commented on May 10, 2019

    @m-a-v

    I had the same problem. Also with your hint I had to look twice. This should be improved. Could it be that the three dots are behind the darkened layer? If they were white like the 'X' users would find it better.

    Thanks a lot to all who participated to develop this feature!

  23. Michele64 commented on May 10, 2019

    @Michele64

    There it is!! on my computer it is nearly invisible, see screenshot...
    Bildschirmfoto_2019-05-10_23-48-40

  24. skjnldsv commented on May 11, 2019

    @skjnldsv
    Member

    @Michele64 Yep, see #1086

  25. akoyaxd commented on Jun 13, 2019

    @akoyaxd

    For me the issue still remains on some contacts. The contact pictures still don't load in the list. Only of I open a contact.

    It looks like this is only applying to contact pictures I set with my android phone. I sync contacts with davx5.
    The Pictures, that load have a very low resolution. Is there a size limit on how big an picture can be?

    Contacts Version 3.1.3, Nextcloud 16, PHP 7.2 on Ubuntu Server 18.04. Tested with Firefox and Chromium.

  26. skjnldsv commented on Jun 13, 2019

    @skjnldsv
    Member

    Hi @akoyaxd could you open a new issue? :)
    Also please, attach your browser log (1) and network tab (2) if possible

    1. Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.
    How to access your browser console (Click to expand)

    Chrome

    • Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools.
    • Alternative method:
      1. Press either CTRL + SHIFT + I or F12 to open the Developer Tools.
      2. Click the “console” tab.

    Safari

    • Press CMD + ALT + I to open the Web Inspector.
    • See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.)

    IE9

    1. Press F12 to open the developer tools.
    2. Click the “console” tab.

    Firefox

    • Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs).
    • or, if Firebug is installed (recommended):
      1. Press F12 to open Firebug.
      2. Click on the “console” tab.

    Opera

    1. Press CTRL + SHIFT + I to open Dragonfly.
    2. Click on the “console” tab.
    1. Before you do anything, still on the development tools, there is a tab called network. Click on it and then the xhr filter. Do your action and screenshot the network log like this:
      capture d ecran_2018-09-27_21-49-46
  27. jangop commented on Jul 28, 2019

    @jangop

    I too have the problem that, for a number of my contacts, there contact pictures are not displayed until I explicitly click on the individual contacts. This persists when I change a given contact, i.e. exchange the picture or modify the contact's name.

    Here is an excerpt from one such contact (attached: john_doe.vcf):

    BEGIN:VCARD
    VERSION:3.0
    FN:John Doe
    N:Doe;John;;;
    ITEM1.X-ABLABEL:
    ITEM2.ORG:Università di Pisa
    ITEM2.X-ABLABEL:
    PHOTO:data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAA0JCgsKCA0LCg
     sODg0PEyAVExISEyccHhcgLikxMC4pLSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2
     wBDAQ4ODhMREyYVFSZPNS01T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09P
     T09PT09PT09PT0//wgARCAEAAQADAREAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAQIDBAA
     FBv/EABgBAQEBAQEAAAAAAAAAAAAAAAABAgME/9oADAMBAAIQAxAAAAFeHPLpolYpujMTOWatBw
    
    [...]
    
     ORYr+o8konkXo/9/EdhKiy/TtLhNUdS5bbLuUs6i4i1FzDzT/lMIevos1ESEw6wSj6CTL9IQQS3
     SwfPb/v4mYhuY/S1jyJqipg4l3D6GPUFkdxRscQOu4IgwhE0kYwVBBNYfpCH0VEMO0rSP3FZVVV
     qzTFODHJDHmdk3/TBP/Z
    UID:50530145-6dbd-483e-abac-fe129cca031c
    REV;VALUE=DATE-AND-OR-TIME:2019-07-28T09:03:38Z
    END:VCARD
    
    
    
    

    This is on nc16.0.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionRegression of a previous working feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions