Skip to content

~/.local/share/io.github.armchairdevelopers.maxima used by UI while ~/.local/share/maxima is used by everything else #43

@p0358

Description

@p0358

It seems that egui/eframe writes its app.ron for persisting app state into that folder, instead of where Maxima consciously places all of its other files.

It seems it's dictated by this:

    /// ### eframe
    /// On eframe, the `app_id` of the root window is also used to determine
    /// the storage location of persistence files.
    #[inline]
    pub fn with_app_id(mut self, app_id: impl Into<String>) -> Self {
        self.app_id = Some(app_id.into());
        self
    }

Not a big deal, but could be tackled at some point to reduce the mess left on the system (but it sounds like it might not necessarily be configurable currently, since I didn't find anything with a quick search, which'd be annoying).

If they want to make it non-configurable, then it's arguably an upstream bug to put it in ~/.local/share instead of ~/.local/state where Qt puts its automatically-generated UI state files for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions