-
Notifications
You must be signed in to change notification settings - Fork 2
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
Directory chooser dialog does not show anything meaningful on Linux #10
Comments
Arg, not useful at all indeed. |
Alternatively, as I was looking into a solution for https://github.com/oss-review-toolkit/ort-workbench which has similar problems, consider checking any of these: |
Thanks! |
And using FileKit also does not solve the problem, as I've just verified. For the record, this seems to be the upstream issue. |
compose-multiplatform-file-picker repository has been archived yesterday.
🤷 |
This looked like the right solution to this problem but it looks abandoned. |
Another option could be https://github.com/WonderzGmbH/nativefiledialog-java |
I gave it a try today but
|
Thanks for reporting those issues upstream, though! |
Hi! I'm a contributor of FileKit. We have just released a new version improving support for Linux on JVM target. Now FileKit uses:
FileKit contains all the modifications proposed in this PR Wavesonics/compose-multiplatform-file-picker#123 We're still working on improving support on all the platforms. JVM one is probably the most complex to implement 😅 If you decide to give FileKit a try and encounter any issues, don't hesitate to create an issue 👌 I hope it helps! |
The fixes the file dialog to actually work on Linux with Wayland. Also see a similar discussion at [1]. For now, only the load dialog is implemented, as saving would require another callback anyway. [1]: gradle/gradle-client#10 Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Great stuff @vinceglb, that new FileKit version actually works for me! |
The fixes the file dialog to actually work on Linux with Wayland. Also see a similar discussion at [1]. For now, only the load dialog is implemented, as saving would require another callback anyway. Fixes #276. [1]: gradle/gradle-client#10 Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
The fixes the file dialog to actually work on Linux with Wayland. Also see a similar discussion at [1]. For now, only the load dialog is implemented, as saving would require another callback anyway. Fixes #276. [1]: gradle/gradle-client#10 Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Actually, I get I guess we would need at least vinceglb/FileKit#81 before we can adopt this, or do the fallback ourselves which I'm not ready for Today :) |
I ended up changing #26 to only use FileKit on Mac and Windows. It's already nicer on these systems. This doesn't fix this issue though. A workaround for now is to type or paste a path directly in the field of the file picker if it shows up as in the OP screenshot or in the Gradle Client UI fields of the next screen. |
* Relates to #10 * Using https://github.com/vinceglb/FileKit * Manually tested release builds (including reaching to hidden directories) - ✅ Mac - ❌ Linux - Not supported, fallback to previous directory picker - ✅ Windows
I published a new version 0.8.0 of FileKit:
|
Thank you @vinceglb ! This is working nicely according to my tests on Linux |
After clicking on "Add build" I get this:
So that's not really meaningful 😉
Running on Fedora Linux 40, KDE spin, with Wayland.
The text was updated successfully, but these errors were encountered: