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

File & Folder open functions and other dialoges broken in v0.3.0 #2740

Closed
alerque opened this issue Nov 1, 2023 · 11 comments
Closed

File & Folder open functions and other dialoges broken in v0.3.0 #2740

alerque opened this issue Nov 1, 2023 · 11 comments
Labels
A-platform Platform specific issue in our code-base and/or API C-bug Category: bug - something isn't working as it's supposed to P-linux This issue affects Linux users

Comments

@alerque
Copy link

alerque commented Nov 1, 2023

I just gave a test drive to v0.3.0 via Arch Linux packages running Wayland (Hyprland). The result is barely usable. I first noticed the file open / folder open functions would not pull up. I was able to open a project by launching it externally with a file parameter, but nothing in-app would allow me to open a file.

While reporting this bug, I realized even the "about lapce" dialogue won't come up. I suspect something very fundamental about launching dialogue boxes is broken, likely Wayland specific.

@alerque alerque added the C-bug Category: bug - something isn't working as it's supposed to label Nov 1, 2023
@shivshankardayal
Copy link

I confirm this even for X11 on Manjaro. Though, "About Lapce" is working for me. However, I cannot open a file/folder.

@gnuchanos
Copy link

arch linux same problem not just folder ui not responsive very well

@RenjiSann
Copy link
Contributor

I had the same issue with the version 0.3.0. on Arch Linux.
I fixed it by downgrading the version of the xdg-desktop-portal from 1.18 to 1.16.

I was able to replicate the same issue with the rfd (rust file dialog) crate, so I guess this is an upstream bug.

@alerque
Copy link
Author

alerque commented Nov 2, 2023

Thanks for the research @RenjiSann. Did you file an upstream bug we can track here? If it gets a fix I could potentially even patch the Arch Linux package, although a patch release to this project would be much better.

@RenjiSann
Copy link
Contributor

I haven't filed any issue yet, I will do it now

@RenjiSann
Copy link
Contributor

Here is the issue on the rfd repo: PolyMeilex/rfd#157

Also, I just realized that this bug also affects firefox. When setting the file dialog to the xdg-portal in Firefox, no dialog will appear with xdg-desktop-portal v1.18, but it will work with version 1.16. So it might be an even bigger problem than I originally thought

@MinusGix MinusGix added P-linux This issue affects Linux users A-platform Platform specific issue in our code-base and/or API labels Nov 4, 2023
@RinLovesYou
Copy link

xdg-desktop-portal downgrade did not solve this for me

@alerque
Copy link
Author

alerque commented Dec 6, 2023

Also not solved in v0.3.1.

@shivshankardayal
Copy link

It has started working for me in v0.3.1.

@johndo100
Copy link

johndo100 commented Apr 5, 2024

Still not working flatpak 0.3.1 - on Void Linux xdg-desktop-portal-1.18

@panekj
Copy link
Collaborator

panekj commented Apr 5, 2024

Should be fixed in master since updated rfd

@panekj panekj closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-platform Platform specific issue in our code-base and/or API C-bug Category: bug - something isn't working as it's supposed to P-linux This issue affects Linux users
Projects
None yet
Development

No branches or pull requests

8 participants