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

[Bug]: Open Dialog on Ubuntu 22 has a "Open files read-only" checkbox #42349

Open
3 tasks done
gtritchie opened this issue Jun 3, 2024 · 3 comments
Open
3 tasks done

Comments

@gtritchie
Copy link

gtritchie commented Jun 3, 2024

Preflight Checklist

Electron Version

30.0.9

What operating system are you using?

Ubuntu

Operating System Version

Ubuntu 22.04.4 LTS

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

30.0.3

Expected Behavior

Invoke dialog.ShowOpenDialog(); the dialog has a "Open files read-only" checkbox in the lower left.

screenshot of Open File dialog on Ubuntu 22 with a open file read-only checkbox

Actual Behavior

No such checkbox, or at least, a way to suppress it since this isn't a useful option in our scenario (and doesn't seem to be any way to tell if the user checked it even if it was).

Testcase Gist URL

No response

Additional Information

No response

@gtritchie gtritchie changed the title [Bug]: Open Dialog on Ubuntu 22 has a Read Only checkbox [Bug]: Open Dialog on Ubuntu 22 has a "Open files read-only" checkbox Jun 3, 2024
@codebytere
Copy link
Member

@gtritchie is this new or has it been present in previous versions? My understanding is it's a Flatpak feature we don't really have control over: flatpak/xdg-desktop-portal#808

@codebytere codebytere added the blocked/need-info ❌ Cannot proceed without more information label Jun 4, 2024
@gtritchie
Copy link
Author

Apologies for not providing that detail initially; this first happened in 30.0.4; in 30.0.3 and earlier the dialog looked like this:

older-dialog

Presumably related to the fix for #32857.

@codebytere
Copy link
Member

@gtritchie yep, that's what i was checking :) I'll take a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: 👀 Unsorted Items
Development

No branches or pull requests

2 participants