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

Directories cannot be entered by selecting items from a FileDialog on Android #8151

Closed
raymoo opened this issue Mar 25, 2017 · 10 comments · Fixed by #33630 or #65434
Closed

Directories cannot be entered by selecting items from a FileDialog on Android #8151

raymoo opened this issue Mar 25, 2017 · 10 comments · Fixed by #33630 or #65434

Comments

@raymoo
Copy link
Contributor

raymoo commented Mar 25, 2017

Operating system or device - Godot version:
OS: Android 7.1.1 / LineageOS 14.1
Godot: Godot 2.1.2

Issue description:

There is no way for me to choose a folder from the directory listing and make it the current directory. If I want to change the current directory I need to enter the directory name in the top bar.

Steps to reproduce:

  1. Make a new project with just one scene that is a FileDialog, set to filesystem access and MODE_OPEN_FILE.
  2. Go to the export menu for Android and make sure to enable the "Read External Storage" permission.
  3. Deploy the project to an Android device.
  4. Make sure the app has been given its permissions.
  5. Open the app.
  6. If the currently displayed directory is empty or only contains the parent directory link, use the top bar to navigate to "/sdcard" for on-device storage.
  7. Try to change the current directory to one of the listed directories by choosing it from the menu. I have tried tapping, double tapping, and hitting "Open" after tapping a directory. None of these have changed the current directory.

Link to minimal example project:

filetest.zip (ZIP-exported Godot project)
filetest-apk.zip (Contains an exported APK)

@raymoo raymoo changed the title Folders cannot be entered in FileDialog on Android Directories cannot be entered by selecting items from a FileDialog on Android Mar 25, 2017
@kubecz3k
Copy link
Contributor

First of all thank you for your report and sorry for the delay.

We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.

We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about its current status here?

For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.

Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.

Thanks in advance.

Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

@raymoo
Copy link
Contributor Author

raymoo commented May 1, 2018

Seems to be reproducible on master: #18477

@raymoo
Copy link
Contributor Author

raymoo commented Jul 5, 2018

I could see a few potential fixes:

  • Allow touches to somehow enter directories in FileDialog
  • Add a new class similar to FileDialog that is particularly suited to mobile devices (larger menu items and buttons, drag to scroll, etc.)
  • Use the system file selector (I think there was an issue for this but I can't find it now)

@thismusicdude
Copy link

i have the same problem

OS: Android 7.0, Samsung Galaxy S6 Edge
Godot: 3.1.1

@ca3games
Copy link

ca3games commented Jun 2, 2019

Can confirm still exist.
Huawey Y5
Godot 3.1.1

@ffreling
Copy link

I still have this issue with the latest Godot versions: 3.2.1.stable.flatpak and 3.2.2.rc1.official

I made a sample app to exhibit the issue: http://code.ffreling.com/fabs/godot-sample-android-filedialog

My phone is a Pixel 3a with Android 10.

@akien-mga would it be possible to reopen the issue?

@akien-mga akien-mga reopened this Jun 16, 2020
@akien-mga akien-mga modified the milestones: 3.2, 4.0 Jun 16, 2020
@ondesic
Copy link

ondesic commented Sep 18, 2020

Just ran into this problem. On android I can select a file, but no matter what I do, If I select a folder, it will not do anything. It will not enter the folder to select the files inside. I am using 3.2.2

@ondesic
Copy link

ondesic commented Oct 3, 2020

It seems on Android it is not recognizing a double tap on a folder.

@blurrred
Copy link

I have also just encountered this issue on 3.3.2.
It would be preferable to just be able to open Android's native file picker.

@ondesic
Copy link

ondesic commented Feb 28, 2023

Was this closed because it was fixed or has this issue been merged? On the android device, I still cannot select and open a folder in the FileDialog node with 3.5.2 rc2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment