nextcloud / nextcloud/notes

Modified date changed while reading note with no change made

Open
#1,435 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug need to reproduce
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Reading notes updates modified date even no change has been made, aside of clicking into text or marking text.

Steps to reproduce

  1. Scroll through old notes.
  2. Click on old note to open it.
  3. Mark or click some text without changing it.
  4. Click on other note to open it.
Expected behaviour

As no real change has been made, the note will not be saved and thus its modified date will not be updated.

Actual behaviour

In many cases the note gets saved and modified date updated to current dateTime. This destroys the history.

Screenshots

If applicable, add screenshots to help explain your problem.

Server

Please complete the following information.

  • Notes app version: 4.11.0
  • Nextcloud version: 28.0.4
  • OS: Debian 12
  • Web server: nginx
  • PHP version: 8.2.18
  • Database: MariaDB

Nextcloud configuration:

``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder ```

Client

Please complete the following information.

  • Browser (incl. version): Firefox 133
  • OS: Windows 10 x64

Log files

Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified in the issue. Start by reproducing the steps in the web note editor, then trace how opening, selecting, or clicking text triggers saving. Done means non-editing interactions leave the modified date unchanged while actual note changes still update it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.