[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsaved autosaves are overwritten on flatpak #5854

Open
SnowyJune678 opened this issue Sep 12, 2024 · 0 comments
Open

Unsaved autosaves are overwritten on flatpak #5854

SnowyJune678 opened this issue Sep 12, 2024 · 0 comments
Labels

Comments

@SnowyJune678
Copy link

Operating System

Linux

(Linux only) Distribution

Fedora

(Linux only) Desktop Environment

GNOME

(Linux Only) Display Server

Wayland

Installation Method

Flatpak

Xournal++ Version

1.2.3

libgtk Version

3.24.43

Bug Description

Xournal++ on flatpak should save each new unsaved file to a different folder inside the cache autosave directory. However, they all save to 2.autosave.xopp, overwriting each other and leaving only the last autosaved file.

Expected Behaviour

Each new file should autosave with a unique filename, even on flatpak.

Steps to Reproduce

  1. Create and write on a new, unsaved Xournal++ file, and wait until an autosave is created in ~/.var/app/com.github.xournalpp.xournalpp/autosaves/.autosaves.xopp
  2. Create a second unsaved file and wait until that file is autosaved
  3. The autosave from the second file will overwrite the autosave from the first file

Additional Context

To my understanding, this is because Flatpak apps run in an isolated namespace, and Xournal++ always runs inside the isolated namespace with a PID of 2 , so all autosaves of new files are saved to 2.autosave.xopp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant