question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tiny File Dialog not returning file(s) paths for files larger than 2GB

See original GitHub issue

Environment

  • 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:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
voidburncommented, Feb 25, 2021

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.

1reaction
Spasicommented, Feb 24, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found