nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
3.06k stars 803 forks source link

[Bug]: Icons vanishing on Win10/11 #6915

Open rsedlmeier opened 4 months ago

rsedlmeier commented 4 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

Once you give a syncronized folder an icon it disappears after some sync's.

Steps to reproduce

  1. On windows I define an icon for a folder which is synced into NC29
  2. Once a new item added and synced the icon is gone.
  3. We talk about an xxx,ico symbol displayed as the folder icon.

Expected behavior

it worked for years until NC 28.xxx or desktop client version 3.x??

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 28 to 29)

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

What user-backends are you using?

Configuration report

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "192.168.2.222",
            "aveon.ddns.net"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.3.4",
        "maintenance_window_start": 1,
        "overwrite.cli.url": "https:\/\/aveon.ddns.net\/cloud",
        "htaccess.RewriteBase": "\/cloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "0": {
            "host": "192.168.2.222",
            "port": 6379,
            "timeout": 0,
            "password": "32delta64"
        },
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "loglevel": 3,
        "log_type": "file",
        "logfile": "\/var\/log\/nextcloud\/cloud.log",
        "debug": false,
        "app_install_overwrite": [
            "admin_notifications",
            "dashboardcharts",
            "maps",
            "quicknotes",
            "whiteboard",
            "issuetemplate",
            "files_markdown",
            "documentserver_community",
            "integration_whiteboard",
            "mindmap_app",
            "ocsms",
            "epubreader",
            "caniupdate",
            "piwik",
            "facerecognition"
        ],
        "has_rebuilt_cache": true,
        "updater.release.channel": "stable",
        "default_phone_region": "DE",
        "mail_smtpsecure": "tls",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [
            "admin"
        ],
        "twofactor_enforced_excluded_groups": [],
        "allow_local_remote_servers": "true"
    }
}

List of activated Apps

ww-data@Aveon(5m):~/cloud $ php occ app:list
Enabled:
  - admin_audit: 1.19.0
  - admin_notifications: 1.0.2
  - bookmarks: 14.2.2
  - bruteforcesettings: 2.9.0
  - calendar: 4.7.11
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contacts: 6.0.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - deck: 1.13.1
  - documentserver_community: 0.1.15
  - facerecognition: 0.9.51
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_antivirus: 5.5.6
  - files_automatedtagging: 1.19.0
  - files_downloadlimit: 2.0.0
  - files_external: 1.21.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - firstrunwizard: 2.18.0
  - gptfreeprompt: 1.0.2
  - gpxpod: 5.0.18
  - integration_openai: 2.0.3
  - integration_openproject: 2.6.3
  - integration_paperless: 1.0.3
  - issuetemplate: 0.7.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - maps: 1.4.0
  - nextcloud_announcements: 1.18.0
  - notes: 4.10.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - onlyoffice: 9.3.0
  - password_policy: 1.19.0
  - passwords: 2024.7.20
  - phonetrack: 0.8.1
  - photos: 2.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - quicknotes: 0.8.23
  - recognize: 7.0.3
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - spreed: 19.0.6
  - stt_helper: 1.1.1
  - support: 1.12.0
  - survey_client: 1.17.0
  - suspicious_login: 7.0.0
  - tasks: 0.16.0
  - text: 3.10.1
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - updatenotification: 1.19.1
  - user_migration: 6.0.0
  - user_status: 1.9.0
  - user_usage_report: 1.13.1
  - viewer: 2.3.0
  - webapppassword: 24.6.0
  - welcome: 1.1.0
  - workflow_pdf_converter: 1.14.0
  - workflowengine: 2.11.0
Disabled:
  - activity: 2.21.1 (installed 2.14.3)
  - backup-master: 1.0.0
  - carnet: 0.25.4 (installed 0.25.4)
  - dashboardcharts: 0.1.3 (installed 0.1.3)
  - diary: 0.0.11 (installed 0.0.11)
  - encryption: 2.17.0
  - epubreader: 1.4.7
  - event_update_notification: 2.4.0 (installed 2.4.0)
  - files_mindmap: 0.0.30 (installed 0.0.30)
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - files_versions: 1.22.0 (installed 1.12.0)
  - geoblocker: 0.5.14 (installed 0.5.14)
  - guests: 3.1.0 (installed 3.1.0)
  - integration_deepl: 1.1.3 (installed 1.1.3)
  - integration_moodle: 1.0.2 (installed 1.0.2)
  - integration_whiteboard: 0.0.14 (installed 0.0.14)
  - login_notes: 1.5.0 (installed 1.5.0)
  - music: 2.0.0 (installed 2.0.0)
  - notify_push: 0.6.12 (installed 0.6.12)
  - ocsms: 2.2.0 (installed 2.2.0)
  - officeonline: 2.2.1 (installed 2.2.1)
  - pdf_downloader: 1.2.2 (installed 1.2.2)
  - quota_warning: 1.19.0 (installed 1.19.0)
  - richdocuments: 8.4.3 (installed 8.4.3)
  - stt_whisper: 1.0.8 (installed 1.0.8)
  - systemtags: 1.19.0 (installed 1.11.0)
  - twofactor_totp: 11.0.0-dev
  - user_ldap: 1.20.0
  - weather_status: 1.9.0 (installed 1.1.0)
  - whiteboard: 0.0.3 (installed 0.0.3)
  - workflow_script: 1.14.1 (installed 1.14.1)

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

rhmkt commented 4 months ago

I am also having this issue since updating to the latest version of the desktop client (3.13.2). It seems to work normally when rolled back to 3.12.7.

rsedlmeier commented 4 months ago

Right, it's an issue with 3.13.x It's quite reproducible:

  1. define a symbol (.ico) for a folder, so you see the folder's picture
  2. drag and drop a file into
  3. wait for sync
  4. afterwards the symbol pic is gone
dom6770 commented 3 months ago

I'm also having this issue with the latest desktop client (3.13.2) and it's quite annoying because folder icon help me to find desired directories way faster.

rsedlmeier commented 3 months ago

Does anyone care about this bug?

joshtrichards commented 3 months ago
rhmkt commented 3 months ago

@joshtrichards I do not have VFS enabled. I thought at first that having the icon in the sync structure was the problem (it had always been there in the past) but I moved it outside of the folder structure and it still had the issue.

dom6770 commented 3 months ago
  • Is this with VFS enabled?
  • Are the custom folder icons located within the synced folder structure or elsewhere?

No, VFS is not enabled, and the icons are not inside the synced folder structure as I use the icons from Windows .dll files, like %SystemRoot%\System32\SHELL32.dll.

The information about the folder icon is stored in the desktop.ini file:

[.ShellClassInfo]
IconResource=C:\Windows\System32\SHELL32.dll,15
[ViewState]
Mode=
Vid=
FolderType=Generic
rsedlmeier commented 1 month ago

The issue remains open, even with the new client.desktop 3.14.1 and it's still annoying,

And regardless of the source of the .ico file, they are being deleted once a sync performed.

If it helps, here's the content of the Desktop.ini in a sub folder:

[.ShellClassInfo] IconResource=C:\Users\rsedl\Nextcloud\Bilder\Symbole\pics.ico,0

Witch is correct and defined manually by the user on Win10,

As mentioned above, it worked well until version 3.11 and afterwards the icons get lost.

Regards