Open sschuberth opened 1 month ago
Arg, not useful at all indeed.
We simply use JFileChooser
and don't have any Swing customisation in the code so I wonder what is causing this.
Could you try changing your KDE/GTK theme to see if it does change something?
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!
FileKit uses the AWT file dialog on Linux and it is quite awful. The other two require lwjgl
which is a huge library for that purpose. It feels wrong that this is that complicated to show a file dialog.
I'll give these a try and see
FileKit uses the AWT file dialog on Linux and it is quite awful.
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.
Currently this project is unmaintained. If you want an alternative I will recommend FileKit
🤷
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 https://github.com/Wavesonics/compose-multiplatform-file-picker/pull/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!
Great stuff @vinceglb, that new FileKit version actually works for me!
After clicking on "Add build" I get this:
So that's not really meaningful 😉
Running on Fedora Linux 40, KDE spin, with Wayland.