Skip to content

Bug Report: Existing notes are not loaded after restart unless "open": true #172

Description

@purplebeat94

Environment

Application: Sticky Notes
Flatpak ID: com.vixalien.sticky
Version: 0.2.7
Installation: Flathub
Operating System: Ubuntu 24.04

Description

After launching Sticky Notes, only one existing note is displayed, even though all note files are still present on disk.
The application opens a single floating note window and does not provide a note list or browser to access the remaining notes.

Expected Behavior

On startup, all existing notes should remain accessible, regardless of whether they were open when the application was last closed.

Actual Behavior

Only notes with the following property are loaded:

"open": true

Notes with:

"open": false

or with the open property missing are not displayed anywhere in the application, despite their files existing and containing valid data.

Investigation

The note files are stored in:

~/.var/app/com.vixalien.sticky/data/com.vixalien.sticky/notes/

In my case:

13 note files exist (UUID filenames).
Only 1 note is displayed after launching the application.
The JSON structure of the hidden notes appears valid and matches the visible note. The only significant difference is the open property.

Example of a visible note:

{
"uuid": "...",
"title": "...",
"content": "...",
"open": true
}

Example of a hidden note:

{
"uuid": "...",
"title": "...",
"content": "...",
"open": false
}

or

{
"uuid": "...",
"title": "...",
"content": "..."
}

(with no open field)

Reproduction / Evidence

As a test, I manually edited one hidden note and changed:
"open": false
to
"open": true

After restarting the application, that note appeared normally.
This suggests the application only loads notes marked as "open": true.

Additional Information

The note contents are intact.
The JSON files are valid.
There was no Flatpak update, no Ubuntu upgrade, no crash, no forced shutdown, and no intentional closing of all notes before the problem occurred.
The issue appeared unexpectedly after a normal launch of the application.

Possible Issue

It appears that Sticky Notes is treating the open property as the criterion for discovering existing notes rather than only determining which notes should automatically reopen on startup.

If this is intentional behavior, there should be another way to access notes that are not currently open. Otherwise, it may be a bug in the startup logic or in how the open state is persisted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions