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

Problem with buttons of Save Dialog window on non English Ubuntu #1248

Closed
Godrigos opened this issue Aug 12, 2020 · 1 comment
Closed

Problem with buttons of Save Dialog window on non English Ubuntu #1248

Godrigos opened this issue Aug 12, 2020 · 1 comment

Comments

@Godrigos
Copy link

Godrigos commented Aug 12, 2020

Describe the bug:

The save file dialog show me the expected buttons (Home, Documents, Downloads, Computer). But, the Documents when clicked cause these errors:

2020/08/12 08:14:19 Fyne error: Unable to read path /home/rodrigo/Documents 2020/08/12 08:14:19 Cause: open /home/rodrigo/Documents: no such file or directory 2020/08/12 08:14:19 At: /home/rodrigo/go/pkg/mod/fyne.io/fyne@v1.3.3/dialog/file.go:183

The cause, I believe, is that my PC uses another language than English (Brazilian Portuguese), and my folder is called Documentos.
Downloads and Home folders are not translated, so unaffected. Computer points to /, also unaffected.

To Reproduce:

Steps to reproduce the behavior:

  1. Run the app on a non English Ubuntu PC (where Documents folder has its name translated)
  2. Save a file using the save dialog window
  3. Click the Documents button.
  4. See an empty folder and the error above on terminal.

Device:

  • OS: Ubuntu
  • Version: 20.04
  • Go version: 1.14.7
  • Fyne version: 1.3.3

P.s.: On Windows 10 I've noticed that if Downloads folder has its path changed, the Downloads button also fails to reach the new location determined within the folder properties (It may happen to other system folders with altered paths). But I can't give more details, I rarely use Windows...

@andydotxyz
Copy link
Member

On develop for testing

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