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

Can't choose filename/directory for exports #1

Open
vinegraft opened this issue Sep 15, 2024 · 3 comments
Open

Can't choose filename/directory for exports #1

vinegraft opened this issue Sep 15, 2024 · 3 comments

Comments

@vinegraft
Copy link

Expected Behavior

OHT opens a dialog allowing you to choose the name and directory of export file. This is what happens when I use the web app version. My browser always asks me where to download files (which lets me choose the name as well). Or I could turn that feature off but still control the directory by changing default download location.

Actual Behavior

OHT saves the export file to my ~/Downloads folder automatically with no choice for me to choose name or directory. I suspect this folder is used because I first ran the program from either ~/Downloads or ~/Downloads/OpenHabitTracker.Linux.1.0.3, I can't remember which.

Steps to Reproduce the Problem

Click Export JSON/TSV/YAML/Markdown in the Backup menu.

Specifications

  • Version: 1.0.3 Downloaded from the website
  • Platform: Linux Mint 21.3 Virginia
@Jinjinov
Copy link
Owner

Thank you for reporting this!

@Jinjinov
Copy link
Owner

Jinjinov commented Sep 15, 2024

This is by design.

The only library that supports Blazor on Linux is the Photino.Blazor library.

There is an open issue for native Linux file dialog: tryphotino/photino.Blazor#76

Since this issues is still open, my solution was to trigger "file download" - that is why the file is saved in the Downloads folder.

I have native file dialogs in MAUI, WinForms and WPF solutions - I will try to also add it to Photino when I have time.

@Jinjinov
Copy link
Owner

Can you try downloading version 1.0.7 from https://openhabittracker.net/ ?

Can you also try installing the snap version? https://snapcraft.io/openhabittracker

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

No branches or pull requests

2 participants