LycheeOrg / Lychee

A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.
https://lycheeorg.github.io/
MIT License
3.35k stars 299 forks source link

Chrome hangs often while browsing; other browsers are excellent #1138

Closed hess8 closed 2 years ago

hess8 commented 2 years ago

Detailed description of the problem

Chrome hangs many seconds ("Page Unresponsive", while scrolling through albums, while doing any of the following:

Steps to reproduce the behavior:

  1. Immediately when I hit page-up
  2. Or: eventually while mouse wheel scrolling on thumbnails
  3. Or: eventually while mouse wheel scrolling on right scroll bar
  4. Or: eventually while dragging up and down on right scroll bar

This happens on brand new installs. Every session I test browsing photos with Chrome hangs in less that a minute. On the other hand, Microsoft Edge and Firefox have excellent performance.

While it hangs, I can sometimes scroll to see more thumbnails, but I can't open any photo or select it.

Output of the diagnostics


Diagnostics ------- Warning: Dropbox import not working. dropbox_key is empty. Info: Latest version of PHP is 8

    System Information
    --------------
    Lychee Version (git):            master (815f896) - Data not in Cache
    DB Version:                      4.3.5

    composer install:                --no-dev
    APP_ENV:                         production
    APP_DEBUG:                       true

    System:                          Linux
    PHP Version:                     7.4
    Max uploaded file size:          1024M
    Max post size:                   1024M
    SQLite Version:                  3.36.0

    Imagick:                         1
    Imagick Active:                  1
    Imagick Version:                 1691
    GD Version:                      2.3.0
    
    Lychee total space:              5.06 GB
    Upload folder space:             4.98 GB
    System total space:              2.15 TB
    System free space:               1.98 TB (92%)

    Config Information
    --------------
    version:                         040305
    check_for_updates:               0
    sorting_Photos_col:              taken_at
    sorting_Photos_order:            ASC
    sorting_Albums_col:              max_taken_at
    sorting_Albums_order:            ASC
    imagick:                         1
    skip_duplicates:                 0
    small_max_width:                 0
    small_max_height:                360
    medium_max_width:                1920
    medium_max_height:               1080
    lang:                            en
    layout:                          1
    image_overlay_type:              desc
    default_license:                 none
    compression_quality:             90
    full_photo:                      1
    delete_imported:                 0
    Mod_Frame:                       1
    Mod_Frame_refresh:               30
    thumb_2x:                        1
    small_2x:                        1
    medium_2x:                       1
    landing_page_enable:             0
    landing_owner:                   John Smith
    landing_title:                   John Smith
    landing_subtitle:                Cats, Dogs & Humans Photography
    landing_facebook:                https://www.facebook.com/JohnSmith
    landing_flickr:                  https://www.flickr.com/JohnSmith
    landing_twitter:                 https://www.twitter.com/JohnSmith
    landing_instagram:               https://instagram.com/JohnSmith
    landing_youtube:                 https://www.youtube.com/JohnSmith
    landing_background:              dist/cat.jpg
    site_title:                      Lychee v4
    site_copyright_enable:           0
    site_copyright_begin:            1930
    site_copyright_end:              1931
    additional_footer_text:          
    display_social_in_gallery:       0
    public_search:                   0
    SL_enable:                       0
    SL_for_admin:                    0
    public_recent:                   0
    recent_age:                      1
    public_starred:                  0
    downloadable:                    0
    photos_wraparound:               1
    map_display:                     1
    zip64:                           1
    map_display_public:              0
    map_provider:                    Wikimedia
    force_32bit_ids:                 0
    map_include_subalbums:           1
    update_check_every_days:         3
    has_exiftool:                    0
    share_button_visible:            0
    import_via_symlink:              0
    has_ffmpeg:                      0
    location_decoding:               1
    location_decoding_timeout:       30
    location_show:                   1
    location_show_public:            0
    rss_enable:                      0
    rss_recent_days:                 7
    rss_max_items:                   100
    prefer_available_xmp_metadata:   0
    editor_enabled:                  1
    lossless_optimization:           0
    swipe_tolerance_x:               150
    swipe_tolerance_y:               250
    local_takestamp_video_formats:   .avi|.mov
    log_max_num_line:                1000
    unlock_password_photos_with_url_param: 0
    nsfw_visible:                    1
    nsfw_blur:                       0
    nsfw_warning:                    0
    nsfw_warning_admin:              0
    map_display_direction:           1
    album_subtitle_type:             oldstyle
    upload_processing_limit:         4
    public_photos_hidden:            1
    new_photos_notification:         0

Browser and system

Chrome latest version, Windows 10

LouisVallat commented 2 years ago

Hi, do you have any plugins on Chrome that you don't have in FF or MS Edge? Is the issue still there when trying on Chrome in Private Navigation?

hess8 commented 2 years ago

Hi. I turned off all plugins and restarted Chrome. It still hangs.

I tried incognito mode in Chrome and it still hangs.

ildyria commented 2 years ago

@hess8 can you drop in gitter : https://gitter.im/LycheeOrg/Lobby and give us a link to your gallery there because to me this seems very specific to your installation.

hess8 commented 2 years ago

I posted the gallery link for testing.

hess8 commented 2 years ago

Thanks, a bunch of people tested my server and it works great in chrome for them. I guess it's just my chrome install. Thanks.