Comments (3)
Ah, I caught something in the log:
2024-03-22 10:26:43: Synchronizer: "Sync: updateRemote: local has changes: Note: (Local 6bb447d831004e2695a24bfe286ca2c0): (Remote 6bb447d831004e2695a24bfe286ca2c0.md)"
2024-03-22 10:26:43: FileApi: "put 6bb447d831004e2695a24bfe286ca2c0.md", "null"
2024-03-22 10:26:43: Synchronizer: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2024-03-22 10:26:43: Synchronizer: "TaskQueue.stop: syncDownload: Done, waited for 0"
2024-03-22 10:26:43: FileApi: "delete locks/1_1_21e0babef7f2402fa0480a3ce8ba9bd1.json"
2024-03-22 10:26:43: Synchronizer: "Sync: finished: Synchronisation finished [1711099601932]"
2024-03-22 10:26:43: Synchronizer: "Operations completed: "
2024-03-22 10:26:43: Synchronizer: "updateRemote: 1"
2024-03-22 10:26:43: Synchronizer: "Total folders: 15"
2024-03-22 10:26:43: Synchronizer: "Total notes: 22"
2024-03-22 10:26:43: Synchronizer: "Total resources: 6"
2024-03-22 10:26:43: checkDisabledSyncItemsNotification: "No errors: Hiding notification"
2024-03-22 10:26:43: "Setting up recurrent sync with interval 300"
2024-03-22 10:26:43: "Sync has finished and note has never been changed - reloading it"
2024-03-22 10:26:44: "Saving note...", "{"id":"6bb447d831004e2695a24bfe286ca2c0","parent_id":"dd8e27ffa65f46af879915e691336dbe","title":"XXX","body":"YYY"}"
2024-03-22 10:26:44: "Scheduling sync operation...", "15000"
2024-03-22 10:26:44: "Saving note...", "{"id":"6bb447d831004e2695a24bfe286ca2c0","parent_id":"dd8e27ffa65f46af879915e691336dbe","title":"XXX","body":"YYY"}"
2024-03-22 10:26:44: "Scheduling sync operation...", "15000"
2024-03-22 10:26:44: "CommandService::execute:", "editor.undo", "[]"
2024-03-22 10:26:44: "CodeMirror: execCommand", "{"name":"editor.undo"}"
2024-03-22 10:26:45: "Saving note...", "{"id":"6bb447d831004e2695a24bfe286ca2c0","parent_id":"dd8e27ffa65f46af879915e691336dbe","title":"XXX","body":"YYY"}"
2024-03-22 10:26:45: "Scheduling sync operation...", "15000"
To me, this looks like the smoking gun:
2024-03-22 10:26:43: "Sync has finished and note has never been changed - reloading it"
This seems to be logged exactly when I experience the cursor jumping to the top when sync finishes.
It is not logged when there's concurrent sync and editing that behaves as expected, i.e. cursor remains at its document position.
I guess there's a (possibly concurrency/multi-threading) issue that causes a false positive for "note has never been changed", when, in fact, it has been / is being edited locally.
from joplin.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
from joplin.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, feel free to create a new issue with up-to-date information.
from joplin.
Related Issues (20)
- Android app "remembers" last shared data and creates new notes using it every time the app opens
- Camara crash when changing aspect ratio on Android
- Syncing notes to non existent file target directory will cause the notes that aren't uploaded to target previously to be deleted HOT 2
- F-droid build doesn't have "take picture" feature HOT 3
- Keyboard Shortcuts do not work in Markdown Viewer HOT 2
- `_n` selects the wrong form for zero and negative counts of items
- Cant start app in development in mac HOT 10
- Desktop: Search result changes when a note is edited
- Mobile: Notebook picker on new note doesn't move the note
- Clicking on "New notebook" crashes the application
- Update plugin config screen HOT 6
- Cache plugin list in Plugin Config screen
- Put plugin settings under a separate section HOT 1
- Remove the "Save" button from the Plugin Config screen HOT 2
- The Search button in the header should be removed from the Plugin Screen
- Implement workaround for WebDAV encoding issue on certain servers
- Display html notes using white theme
- Don't create a conflict when remote note has been deleted and local has been modified
- Improve conflict handling for encrypted notes
- Mobile: Difficult to refocus the note editor when creating a new to-do
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joplin.