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

[bug] [gui] When selecting a folder/file, the path shown does not correspond to the contents shown #1037

Closed
midwan opened this issue Dec 12, 2022 · 0 comments
Assignees
Labels
bug fixed in v5 Fixed in v5.x

Comments

@midwan
Copy link
Collaborator

midwan commented Dec 12, 2022

Describe the bug
When opening the SelectFile or SelectFolder dialogs, we have a Path showing at the top, and the contents showing in a Listview below it. However, sometimes the contents do not correspond to the path shown above.
E.g. when using the SelectFolder dialog multiple times, the contents are from the last selected folder - but the path shown is that of the Amiberry start path.

Selecting the path and hitting Enter will update the contents to the correct ones. But selecting the .. option from the contents, will go to the parent directory of the Path shown, not the location the contents correspond to.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Hard drives in the GUI

  2. Click on Add Directory and navigate somewhere outside the starting path to add one (doesn't matter which one)

  3. Click the button to Add another Directory

  4. See that the Path shown is the starting path, but the contents shown are those of the last selected directory.

Expected behavior
The contents shown must correspond to the path shown above.

@midwan midwan added the bug label Dec 12, 2022
@midwan midwan self-assigned this Dec 12, 2022
midwan added a commit that referenced this issue Dec 13, 2022
…ated (#1037)

When using the Select File or Folder dialogs multiple times, the contents of the selected folder were those of the last time the dialog was opened. Instead, it should always start with the default path, which is shown in the path textfield as well.
@midwan midwan added the fixed in v5 Fixed in v5.x label Dec 13, 2022
@midwan midwan closed this as completed Dec 13, 2022
midwan added a commit that referenced this issue Dec 13, 2022
…ated (#1037)

When using the Select File or Folder dialogs multiple times, the contents of the selected folder were those of the last time the dialog was opened. Instead, it should always start with the default path, which is shown in the path textfield as well.
midwan added a commit that referenced this issue Dec 13, 2022
…ated (#1037)

When using the Select File or Folder dialogs multiple times, the contents of the selected folder were those of the last time the dialog was opened. Instead, it should always start with the default path, which is shown in the path textfield as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed in v5 Fixed in v5.x
Projects
None yet
Development

No branches or pull requests

1 participant