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

Save last use tab folder location #19

Open
agourlay opened this issue Feb 12, 2025 · 0 comments
Open

Save last use tab folder location #19

agourlay opened this issue Feb 12, 2025 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@agourlay
Copy link
Owner

The path to the folder containing tabs is currently kept in memory to make the loading experience smoother.

We could go further and save this to disk so it survives different application runs.

The location should be adapted depending on the OS running.

See TODO in application.rs

Self {
            song_info: None,
            track_selection: TrackSelection::default(),
            all_tracks: vec![],
            tablature: None,
            tablature_id: container::Id::new("tablature-outer-container"),
            tempo_selection: TempoSelection::default(),
            audio_player: None,
            tab_file_is_loading: false,
            sound_font_file,
            beat_receiver: Arc::new(Mutex::new(beat_receiver)),
            beat_sender: Arc::new(beat_sender),
            file_picker_folder: None, // TODO store last folder used in $user/home/.ruxguitar
        }
@agourlay agourlay added enhancement New feature or request help wanted Extra attention is needed labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant