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

linux: Open a Project and CTRL + O not functional #9209

Closed
1 task done
jasper-at-windswept opened this issue Mar 12, 2024 · 3 comments · Fixed by #14401
Closed
1 task done

linux: Open a Project and CTRL + O not functional #9209

jasper-at-windswept opened this issue Mar 12, 2024 · 3 comments · Fixed by #14401
Labels
defect [core label] keymap / key binding Feedback for keyboard shortcuts, key mapping, etc linux

Comments

@jasper-at-windswept
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

After building on NixOS Wayland and running everything works with no issues (currently) except that I cannot use CTRL + O or the button to Open a Project. Nothing happens when I do so and there are no error or console logs.

Environment

Zed: v1.0.0 (Zed Dev)
OS: NixOS (24.05)
Memory: 31.2 GiB
Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

@jasper-at-windswept jasper-at-windswept added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Mar 12, 2024
@Moshyfawn Moshyfawn added linux keymap / key binding Feedback for keyboard shortcuts, key mapping, etc and removed triage Maintainer needs to classify the issue labels Mar 12, 2024
@JosephTLyons JosephTLyons removed the admin read Pending admin review label Mar 12, 2024
@jasper-at-windswept
Copy link
Author

Issue was localized to a invalid computer configuration on my end.

@Rodrigodd
Copy link

For anyone else who finds this issue, on Linux, Zed relies on XDG Desktop Portal for opening file dialogs.

You need to make sure xdg-desktop-portal is running. Otherwise you will see the following error when starting Zed (although it shows no error when actually clicking the button):

[2024-06-09T18:11:28-03:00 ERROR util] crates/gpui/src/platform/linux/platform.rs:110: Portal request failed: org.freedesktop.zbus.Error: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop

@jasper-at-windswept
Copy link
Author

For anyone else who finds this issue, on Linux, Zed relies on XDG Desktop Portal for opening file dialogs.

For me I was on Wayland and needed to install the GTK portal to get the file dialogs to work.

mikayla-maki pushed a commit that referenced this issue Jul 15, 2024
This PR adds a warning when the file chooser couldn't be opened on Linux

It's quite confusing when trying to open a file and apparently nothing
happens:

fixes #11089,
#14328,
#13753 (comment),
#13766,
#14384,
#14353,
#9209


![image](https://github.com/user-attachments/assets/5acabdaa-7a9d-4225-9480-e371d20387c3)


Release Notes:

- N/A
SomeoneToIgnore pushed a commit that referenced this issue Jul 15, 2024
This PR adds a warning when the file chooser couldn't be opened on Linux

It's quite confusing when trying to open a file and apparently nothing
happens:

fixes #11089,
#14328,
#13753 (comment),
#13766,
#14384,
#14353,
#9209


![image](https://github.com/user-attachments/assets/5acabdaa-7a9d-4225-9480-e371d20387c3)


Release Notes:

- N/A
ConradIrwin pushed a commit that referenced this issue Jul 16, 2024
This PR adds a warning when the file chooser couldn't be opened on Linux

It's quite confusing when trying to open a file and apparently nothing
happens:

fixes #11089,
#14328,
#13753 (comment),
#13766,
#14384,
#14353,
#9209


![image](https://github.com/user-attachments/assets/5acabdaa-7a9d-4225-9480-e371d20387c3)


Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] keymap / key binding Feedback for keyboard shortcuts, key mapping, etc linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants