TagSpaces is an offline, open source, document manager with tagging support
fix File externally modified after app resize
sytolkae8b85b01b16
diff --git a/package-lock.json b/package-lock.jsonindex cd511d9dc..90a4935f7 100644--- a/package-lock.json+++ b/package-lock.json@@ -19,10 +19,10 @@"@mui/lab": "5.0.0-alpha.160","@mui/material": "^5.15.4","@mui/x-date-pickers": "^5.0.20",- "@tagspaces/tagspaces-common": "4.1.2",- "@tagspaces/tagspaces-common-aws": "4.1.2",- "@tagspaces/tagspaces-common-cordova": "4.1.2",- "@tagspaces/tagspaces-indexer": "4.1.2",+ "@tagspaces/tagspaces-common": "4.1.5",+ "@tagspaces/tagspaces-common-aws": "4.1.5",+ "@tagspaces/tagspaces-common-cordova": "4.1.5",+ "@tagspaces/tagspaces-indexer": "4.1.5","@tagspaces/tagspaces-md": "4.0.3","aws-amplify": "^4.3.8","aws-sdk": "^2.1036.0",@@ -13424,9 +13424,9 @@}},"node_modules/@tagspaces/tagspaces-common": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.1.2.tgz",- "integrity": "sha512-bALeOJ+inB/IpW/+yvhsBJZt/W/FNsUJ4kp222gZEPexyBJkKXs18exhcSmPFK03vAYNOfMkBwG0EyXOAaWpgg==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.1.5.tgz",+ "integrity": "sha512-k59VkioNNtDo132VHluOWFIVhNLE0CVXLi92mKppAMQh1WHGrLyFuty3OAP6IbqR9bn1EQwPieSmzIeR0iSq1Q==","dependencies": {"dotenv": "^16.0.2","picomatch": "^3.0.1",@@ -13434,11 +13434,11 @@}},"node_modules/@tagspaces/tagspaces-common-aws": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-aws/-/tagspaces-common-aws-4.1.2.tgz",- "integrity": "sha512-q80mTwzAnC+YT73I0m/CGKsS7Z82/+MmgIDQJwjwbwBvwOZmMNr7kSESF0ha+fANJSJCv6+UhwleJGzhjVZjhA==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-aws/-/tagspaces-common-aws-4.1.5.tgz",+ "integrity": "sha512-G1zXhPYQ+tQ+5af+UK7kgSai7lv+L/Cc7MM3bcmOeWR0H6gEeH0v4Qx39MfTmLr+GrrpKD1++THCdJy9MZU3fA==","dependencies": {- "@tagspaces/tagspaces-common": "^4.1.2",+ "@tagspaces/tagspaces-common": "^4.1.5","aws-sdk": "2.1161.0"}},@@ -13509,11 +13509,11 @@}},"node_modules/@tagspaces/tagspaces-common-cordova": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-cordova/-/tagspaces-common-cordova-4.1.2.tgz",- "integrity": "sha512-rKd8gf1V7/49BLAtax7l5tUcwSl8hsJeSIHsv3E607VjcfwtyHk/cUSwP5FSUb7h2J6Ix2aia5woGH90ispfHQ==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-cordova/-/tagspaces-common-cordova-4.1.5.tgz",+ "integrity": "sha512-NGo+qTfTaL4r+TSVmhfhR/NUDrwnsV/T4CCPRr3Vyk2nTT494Gd45/dzDBxTJKUQmbgEwoRuzMZ9gOyk3jbqyg==","dependencies": {- "@tagspaces/tagspaces-common": "^4.1.2"+ "@tagspaces/tagspaces-common": "^4.1.5"}},"node_modules/@tagspaces/tagspaces-common/node_modules/uuid": {@@ -13525,11 +13525,11 @@}},"node_modules/@tagspaces/tagspaces-indexer": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-indexer/-/tagspaces-indexer-4.1.2.tgz",- "integrity": "sha512-5/mA1L8JX840WfHXhzKyL4OFyPqJmmMBeD6XVYM7cJAgwQr9P8zq7bR0QxOgDccBJm7qcXYXGc2lE3sKN9mYwQ==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-indexer/-/tagspaces-indexer-4.1.5.tgz",+ "integrity": "sha512-OLLKiiLKev0J8evnFFlh23nM7wnmTRD2OzkyygywuPAxQqrIG+yF7ncKvOkqaA8kUnue9W6e7LktwVyEzXEqtQ==","dependencies": {- "@tagspaces/tagspaces-common": "^4.1.2"+ "@tagspaces/tagspaces-common": "^4.1.5"}},"node_modules/@tagspaces/tagspaces-md": {@@ -54558,9 +54558,9 @@}},"@tagspaces/tagspaces-common": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.1.2.tgz",- "integrity": "sha512-bALeOJ+inB/IpW/+yvhsBJZt/W/FNsUJ4kp222gZEPexyBJkKXs18exhcSmPFK03vAYNOfMkBwG0EyXOAaWpgg==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.1.5.tgz",+ "integrity": "sha512-k59VkioNNtDo132VHluOWFIVhNLE0CVXLi92mKppAMQh1WHGrLyFuty3OAP6IbqR9bn1EQwPieSmzIeR0iSq1Q==","requires": {"dotenv": "^16.0.2","picomatch": "^3.0.1",@@ -54575,11 +54575,11 @@}},"@tagspaces/tagspaces-common-aws": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-aws/-/tagspaces-common-aws-4.1.2.tgz",- "integrity": "sha512-q80mTwzAnC+YT73I0m/CGKsS7Z82/+MmgIDQJwjwbwBvwOZmMNr7kSESF0ha+fANJSJCv6+UhwleJGzhjVZjhA==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-aws/-/tagspaces-common-aws-4.1.5.tgz",+ "integrity": "sha512-G1zXhPYQ+tQ+5af+UK7kgSai7lv+L/Cc7MM3bcmOeWR0H6gEeH0v4Qx39MfTmLr+GrrpKD1++THCdJy9MZU3fA==","requires": {- "@tagspaces/tagspaces-common": "^4.1.2",+ "@tagspaces/tagspaces-common": "^4.1.5","aws-sdk": "2.1161.0"},"dependencies": {@@ -54640,19 +54640,19 @@}},"@tagspaces/tagspaces-common-cordova": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-cordova/-/tagspaces-common-cordova-4.1.2.tgz",- "integrity": "sha512-rKd8gf1V7/49BLAtax7l5tUcwSl8hsJeSIHsv3E607VjcfwtyHk/cUSwP5FSUb7h2J6Ix2aia5woGH90ispfHQ==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-cordova/-/tagspaces-common-cordova-4.1.5.tgz",+ "integrity": "sha512-NGo+qTfTaL4r+TSVmhfhR/NUDrwnsV/T4CCPRr3Vyk2nTT494Gd45/dzDBxTJKUQmbgEwoRuzMZ9gOyk3jbqyg==","requires": {- "@tagspaces/tagspaces-common": "^4.1.2"+ "@tagspaces/tagspaces-common": "^4.1.5"}},"@tagspaces/tagspaces-indexer": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-indexer/-/tagspaces-indexer-4.1.2.tgz",- "integrity": "sha512-5/mA1L8JX840WfHXhzKyL4OFyPqJmmMBeD6XVYM7cJAgwQr9P8zq7bR0QxOgDccBJm7qcXYXGc2lE3sKN9mYwQ==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-indexer/-/tagspaces-indexer-4.1.5.tgz",+ "integrity": "sha512-OLLKiiLKev0J8evnFFlh23nM7wnmTRD2OzkyygywuPAxQqrIG+yF7ncKvOkqaA8kUnue9W6e7LktwVyEzXEqtQ==","requires": {- "@tagspaces/tagspaces-common": "^4.1.2"+ "@tagspaces/tagspaces-common": "^4.1.5"}},"@tagspaces/tagspaces-md": {diff --git a/package.json b/package.jsonindex bd93df7e2..7123ebb6d 100644--- a/package.json+++ b/package.json@@ -157,10 +157,10 @@"@mui/lab": "5.0.0-alpha.160","@mui/material": "^5.15.4","@mui/x-date-pickers": "^5.0.20",- "@tagspaces/tagspaces-common": "4.1.2",- "@tagspaces/tagspaces-common-aws": "4.1.2",- "@tagspaces/tagspaces-common-cordova": "4.1.2",- "@tagspaces/tagspaces-indexer": "4.1.2",+ "@tagspaces/tagspaces-common": "4.1.5",+ "@tagspaces/tagspaces-common-aws": "4.1.5",+ "@tagspaces/tagspaces-common-cordova": "4.1.5",+ "@tagspaces/tagspaces-indexer": "4.1.5","@tagspaces/tagspaces-md": "4.0.3","aws-amplify": "^4.3.8","aws-sdk": "^2.1036.0",diff --git a/release/app/package-lock.json b/release/app/package-lock.jsonindex 63a8718d5..31c12b8bb 100644--- a/release/app/package-lock.json+++ b/release/app/package-lock.json@@ -12,8 +12,8 @@"dependencies": {"@elife/pm2": "3.6.1","@tagspaces/extensions": "1.0.95",- "@tagspaces/tagspaces-common-node": "4.1.4",- "@tagspaces/tagspaces-ws": "4.1.4",+ "@tagspaces/tagspaces-common-node": "4.1.5",+ "@tagspaces/tagspaces-ws": "4.1.5","sharp": "0.32.6","ws": "8.16.0"},@@ -43,9 +43,9 @@}},"node_modules/@tagspaces/tagspaces-common": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.1.2.tgz",- "integrity": "sha512-bALeOJ+inB/IpW/+yvhsBJZt/W/FNsUJ4kp222gZEPexyBJkKXs18exhcSmPFK03vAYNOfMkBwG0EyXOAaWpgg==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.1.5.tgz",+ "integrity": "sha512-k59VkioNNtDo132VHluOWFIVhNLE0CVXLi92mKppAMQh1WHGrLyFuty3OAP6IbqR9bn1EQwPieSmzIeR0iSq1Q==","dependencies": {"dotenv": "^16.0.2","picomatch": "^3.0.1",@@ -53,11 +53,11 @@}},"node_modules/@tagspaces/tagspaces-common-node": {- "version": "4.1.4",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.1.4.tgz",- "integrity": "sha512-vClRWndQCjNqAlsrrdxaOpRsa9sz2ii4cq1S3Ww5+jIuMymIE7IgJq73GppK64p0UINEwJcVKedHG+T9/YZjVA==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.1.5.tgz",+ "integrity": "sha512-qVuUKrpuN6KGDXt+xzWmIXQ9dQridJloLJtZWjl3x3WwHmY+myBiQ65tqFHg9weS/Uv44aHnqCJ6JVaoVjZZHg==","dependencies": {- "@tagspaces/tagspaces-common": "^4.1.2",+ "@tagspaces/tagspaces-common": "^4.1.5","adm-zip": "^0.5.10","fs-extra": "^10.0.0","klaw": "^4.1.0",@@ -65,9 +65,9 @@}},"node_modules/@tagspaces/tagspaces-platforms": {- "version": "4.1.4",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-platforms/-/tagspaces-platforms-4.1.4.tgz",- "integrity": "sha512-CCrTAg4GoESKNWrZwpQcMmKlcia3TXH2NyNMa8NzXUv3m24U4az9LYRf55J1Q/M6k7ISpimsKIYDRmvsVYeBNw==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-platforms/-/tagspaces-platforms-4.1.5.tgz",+ "integrity": "sha512-ROSRRBbKskFfFivfzvQfsa6lrIMbmsPlRdbIHVTObw8YTbCtBwui0CFlaoEkf3wWM1okOQNrMi4T97sst5KUVA==","hasInstallScript": true},"node_modules/@tagspaces/tagspaces-thumbgen-image": {@@ -80,22 +80,22 @@}},"node_modules/@tagspaces/tagspaces-workers": {- "version": "4.1.4",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.1.4.tgz",- "integrity": "sha512-ApbrFwU1qY+uUiJfGR/m2VMcEIG4NuhErhPU9E/ysTNB0aay18NNWH20Kx8SBsK9VETThkWvsO6lto9Rm4Geiw==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.1.5.tgz",+ "integrity": "sha512-SdPI8y5tBny8KpvpkQx5PQBiUEGUkDdtXU0j/cjpH0Ve0L3lfgo61eZqWTE7x4eb+W/kjirU5OY+tr4EwyCLeQ==","dependencies": {- "@tagspaces/tagspaces-common": "^4.1.2",- "@tagspaces/tagspaces-common-node": "^4.1.4",- "@tagspaces/tagspaces-platforms": "^4.1.4",+ "@tagspaces/tagspaces-common": "^4.1.5",+ "@tagspaces/tagspaces-common-node": "^4.1.5",+ "@tagspaces/tagspaces-platforms": "^4.1.5","@tagspaces/tagspaces-thumbgen-image": "^4.1.2"}},"node_modules/@tagspaces/tagspaces-ws": {- "version": "4.1.4",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.1.4.tgz",- "integrity": "sha512-DNU8uUvYIT0Kofcn9cA7ETyNTPE00Pq8h80sz07TJMyr0bXHLt87GjUTIWOx6IsJcRE8fNv3+OqeUj1UW9C/rA==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.1.5.tgz",+ "integrity": "sha512-LaRqeDVpG7okXqVOIos3OO5WqXmL9Te0nM8Z7klcHVsY+Q0TCQbYL5HYP/xAI4mtxw9QP1b0cZBpW2jfmvGTaQ==","dependencies": {- "@tagspaces/tagspaces-workers": "^4.1.4",+ "@tagspaces/tagspaces-workers": "^4.1.5","find-free-ports": "^3.1.1","jsonwebtoken": "^8.5.1","ws": "^8.15.1"@@ -289,14 +289,14 @@}},"node_modules/dotenv": {- "version": "16.4.1",- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.1.tgz",- "integrity": "sha512-CjA3y+Dr3FyFDOAMnxZEGtnW9KBR2M0JvvUtXNW+dYJL5ROWxP9DUHCwgFqpMk0OXCc0ljhaNTr2w/kutYIcHQ==",+ "version": "16.4.5",+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz",+ "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==","engines": {"node": ">=12"},"funding": {- "url": "https://github.com/motdotla/dotenv?sponsor=1"+ "url": "https://dotenvx.com"}},"node_modules/ecdsa-sig-formatter": {@@ -1102,9 +1102,9 @@}},"@tagspaces/tagspaces-common": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.1.2.tgz",- "integrity": "sha512-bALeOJ+inB/IpW/+yvhsBJZt/W/FNsUJ4kp222gZEPexyBJkKXs18exhcSmPFK03vAYNOfMkBwG0EyXOAaWpgg==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common/-/tagspaces-common-4.1.5.tgz",+ "integrity": "sha512-k59VkioNNtDo132VHluOWFIVhNLE0CVXLi92mKppAMQh1WHGrLyFuty3OAP6IbqR9bn1EQwPieSmzIeR0iSq1Q==","requires": {"dotenv": "^16.0.2","picomatch": "^3.0.1",@@ -1112,11 +1112,11 @@}},"@tagspaces/tagspaces-common-node": {- "version": "4.1.4",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.1.4.tgz",- "integrity": "sha512-vClRWndQCjNqAlsrrdxaOpRsa9sz2ii4cq1S3Ww5+jIuMymIE7IgJq73GppK64p0UINEwJcVKedHG+T9/YZjVA==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-common-node/-/tagspaces-common-node-4.1.5.tgz",+ "integrity": "sha512-qVuUKrpuN6KGDXt+xzWmIXQ9dQridJloLJtZWjl3x3WwHmY+myBiQ65tqFHg9weS/Uv44aHnqCJ6JVaoVjZZHg==","requires": {- "@tagspaces/tagspaces-common": "^4.1.2",+ "@tagspaces/tagspaces-common": "^4.1.5","adm-zip": "^0.5.10","fs-extra": "^10.0.0","klaw": "^4.1.0",@@ -1124,9 +1124,9 @@}},"@tagspaces/tagspaces-platforms": {- "version": "4.1.4",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-platforms/-/tagspaces-platforms-4.1.4.tgz",- "integrity": "sha512-CCrTAg4GoESKNWrZwpQcMmKlcia3TXH2NyNMa8NzXUv3m24U4az9LYRf55J1Q/M6k7ISpimsKIYDRmvsVYeBNw=="+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-platforms/-/tagspaces-platforms-4.1.5.tgz",+ "integrity": "sha512-ROSRRBbKskFfFivfzvQfsa6lrIMbmsPlRdbIHVTObw8YTbCtBwui0CFlaoEkf3wWM1okOQNrMi4T97sst5KUVA=="},"@tagspaces/tagspaces-thumbgen-image": {"version": "4.1.2",@@ -1138,22 +1138,22 @@}},"@tagspaces/tagspaces-workers": {- "version": "4.1.4",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.1.4.tgz",- "integrity": "sha512-ApbrFwU1qY+uUiJfGR/m2VMcEIG4NuhErhPU9E/ysTNB0aay18NNWH20Kx8SBsK9VETThkWvsO6lto9Rm4Geiw==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-workers/-/tagspaces-workers-4.1.5.tgz",+ "integrity": "sha512-SdPI8y5tBny8KpvpkQx5PQBiUEGUkDdtXU0j/cjpH0Ve0L3lfgo61eZqWTE7x4eb+W/kjirU5OY+tr4EwyCLeQ==","requires": {- "@tagspaces/tagspaces-common": "^4.1.2",- "@tagspaces/tagspaces-common-node": "^4.1.4",- "@tagspaces/tagspaces-platforms": "^4.1.4",+ "@tagspaces/tagspaces-common": "^4.1.5",+ "@tagspaces/tagspaces-common-node": "^4.1.5",+ "@tagspaces/tagspaces-platforms": "^4.1.5","@tagspaces/tagspaces-thumbgen-image": "^4.1.2"}},"@tagspaces/tagspaces-ws": {- "version": "4.1.4",- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.1.4.tgz",- "integrity": "sha512-DNU8uUvYIT0Kofcn9cA7ETyNTPE00Pq8h80sz07TJMyr0bXHLt87GjUTIWOx6IsJcRE8fNv3+OqeUj1UW9C/rA==",+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-ws/-/tagspaces-ws-4.1.5.tgz",+ "integrity": "sha512-LaRqeDVpG7okXqVOIos3OO5WqXmL9Te0nM8Z7klcHVsY+Q0TCQbYL5HYP/xAI4mtxw9QP1b0cZBpW2jfmvGTaQ==","requires": {- "@tagspaces/tagspaces-workers": "^4.1.4",+ "@tagspaces/tagspaces-workers": "^4.1.5","find-free-ports": "^3.1.1","jsonwebtoken": "^8.5.1","ws": "^8.15.1"@@ -1288,9 +1288,9 @@"integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw=="},"dotenv": {- "version": "16.4.1",- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.1.tgz",- "integrity": "sha512-CjA3y+Dr3FyFDOAMnxZEGtnW9KBR2M0JvvUtXNW+dYJL5ROWxP9DUHCwgFqpMk0OXCc0ljhaNTr2w/kutYIcHQ=="+ "version": "16.4.5",+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz",+ "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg=="},"ecdsa-sig-formatter": {"version": "1.0.11",diff --git a/release/app/package.json b/release/app/package.jsonindex fe02138a8..0e0555b96 100644--- a/release/app/package.json+++ b/release/app/package.json@@ -19,8 +19,8 @@"dependencies": {"@elife/pm2": "3.6.1","@tagspaces/extensions": "1.0.95",- "@tagspaces/tagspaces-common-node": "4.1.4",- "@tagspaces/tagspaces-ws": "4.1.4",+ "@tagspaces/tagspaces-common-node": "4.1.5",+ "@tagspaces/tagspaces-ws": "4.1.5","sharp": "0.32.6","ws": "8.16.0"},diff --git a/src/renderer/components/EntryContainer.tsx b/src/renderer/components/EntryContainer.tsxindex 4734b70ab..5aee0789b 100644--- a/src/renderer/components/EntryContainer.tsx+++ b/src/renderer/components/EntryContainer.tsx@@ -88,6 +88,7 @@ function EntryContainer() {reloadOpenedFile,toggleEntryFullWidth,isEntryInFullWidth,+ reflectUpdateOpenedFileContent,} = useOpenedEntryContext();const { saveDescription } = useDescriptionContext();const { readOnlyMode, switchLocationTypeByID, switchCurrentLocationType } =@@ -583,7 +584,8 @@ function EntryContainer() {textContent,true,)- .then(() => {+ .then((entry) => {+ reflectUpdateOpenedFileContent(entry);if (Pro) {Pro.history.saveHistory(historyKeys.fileEditKey,diff --git a/src/renderer/hooks/OpenedEntryContextProvider.tsx b/src/renderer/hooks/OpenedEntryContextProvider.tsxindex 34ef3cba8..7ed23aa24 100644--- a/src/renderer/hooks/OpenedEntryContextProvider.tsx+++ b/src/renderer/hooks/OpenedEntryContextProvider.tsx@@ -74,7 +74,7 @@ type OpenedEntryContextData = {setEntryInFullWidth: (fullWidth: boolean) => void;addToEntryContainer: (fsEntry: OpenedEntry) => void;closeAllFiles: () => void;- reflectUpdateOpenedFileContent: (entryPath: string) => void;+ reflectUpdateOpenedFileContent: (entry: TS.FileSystemEntry) => void;reloadOpenedFile: () => void;updateOpenedFile: (entryPath: string,@@ -336,14 +336,14 @@ export const OpenedEntryContextProvider = ({}/**- * @deprecated dont use shouldReload- * @param entryPath+ * update openedEntry lmdt after save file+ * @param entry*/- function reflectUpdateOpenedFileContent(entryPath: string) {+ function reflectUpdateOpenedFileContent(entry: TS.FileSystemEntry) {if (currentEntry.current) {- if (currentEntry.current.path === entryPath) {- currentEntry.current.shouldReload = true;- addToEntryContainer(currentEntry.current);+ if (currentEntry.current.path === entry.path) {+ currentEntry.current.lmdt = entry.lmdt;+ forceUpdate();}}}