Files disappear on the desktop when editing and saving
📦 Version and System
$ gnome-shell --version
GNOME Shell 3.36.9
$ nautilus --version
GNOME nautilus 3.36.3
$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
$ cat /usr/share/gnome-shell/extensions/desktop-icons@csoriano/metadata.json
{
"name": "Desktop Icons",
"description": "Add icons to the desktop",
"uuid": "desktop-icons@csoriano",
"shell-version": ["3.34.0"]
}
Steps to reproduce this issue.
1. create some txt files on the desktop;
2. open a file by text editor;
3. click save for serval times;
4. txt files disappear on the desktop;
5. but it still exist in filesapp ;
6. 'Alt + F2' and 'r' could show it again.
Optionally, can it be reproduced with the git version in this repository? Not test.
📜 Description of the Issue
Sep 15 11:09:47 binli-ThinkPad-P17-Gen-1 gnome-shell[2421]: JS ERROR: TypeError: fileItem is undefined
_updateDesktopIfChanged@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopManager.js:349:17
_monitorDesktopFolder/<@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopManager.js:311:94
Sep 15 11:09:47 binli-ThinkPad-P17-Gen-1 gnome-shell[2421]: Error getting desktop unix mode: Gio.IOErrorEnum: Error when getting information for file “/home/binli/Desktop/.goutputstream-N11990”: No such file or directory
Sep 15 11:09:47 binli-ThinkPad-P17-Gen-1 dbus-daemon[2183]: [session uid=1000 pid=2183] Successfully activated service 'org.freedesktop.Tracker1'
Sep 15 11:09:47 binli-ThinkPad-P17-Gen-1 systemd[2171]: Started Tracker metadata database store and lookup manager.
Sep 15 11:09:47 binli-ThinkPad-P17-Gen-1 gnome-shell[2421]: JS ERROR: TypeError: fileItem is undefined
_layoutChildren@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopManager.js:629:17
_resetGridsAndScheduleLayout/this._layoutChildrenId<@/usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopManager.js:585:78