Tiny File Dialog not returning file(s) paths for files larger than 2GB
See original GitHub issueEnvironment
- LWJGL version:
3.2.3
- LWJGL build #: 13
- Java version: AdoptOpenJDK build 1.8.0_282-b08
- Platform: Windows
- Module: tinyfd
Description
The tinyfd_openFileDialog
returns null upon file selection (both single and multiple) if the selected file(s) size is larger than 2GB. In case of multi-file selection only the files smaller than ~2GB will be included in the results. Can anyone else confirm if this is happening? I’m running Windows 10 64bit 20H2 fully patched.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
OpenFileDialog returns empty string on paths over 260 ...
Some users of the program have paths over the 260 character limit. The OpenFileDialog doesn't work with files with paths over 260 characters....
Read more >R for Windows FAQ - The Comprehensive R Archive Network
We tried to make R to work with space in file names, but building of some packages from source may not work as...
Read more >Changing the File Upload Size Limit - Jotform
Google Drive gives only 15GB of space. If you do not purchase additional space, uploads larger than the remaining allotted space will not...
Read more >Manipulating Btrieve Data Files with Maintenance
When you are exporting large files, the interactive Maintenance tool detects when the unformatted file exceeds a 2 GB file size limit and...
Read more >Reduce memory usage in files – Figma Help Center
Adding content is no longer safe as data may be lost. Remove content to reduce this file's memory use or restore a previous...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I contacted Guillaume Vareille, the author of tinyfd, and he was able to deploy a fix (which I tested and is working) in the latest version (3.8.7), I’ll be waiting for LWJGL 3.2.4, luckily I’m not in a rush to have support for very large files right now.
I’m not sure how much the APIs have changed since the version currently in the master branch, but he told me he hasn’t changed the APIs in a long time.
Yes, the latest version still uses
fopen
.Btw, you could try switching to Native File Dialog, its file open dialog doesn’t have this issue.