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

Non-hidden directories are grayed out in the browse dialogue when exporting images on Flatpak version #1060

Open
gaboscharff99 opened this issue Jul 31, 2024 · 7 comments
Labels
bug Something isn't working help wanted Extra attention is needed platform-specific Related to specific platforms

Comments

@gaboscharff99
Copy link

Pixelorama version: v1.0-stable Flatpak
OS/device including version: Linux Mint 21.3
Issue description: When I try to export any images on the latest Flatpak stable build and click the Browse button to select which directory to export to, any directories that aren't hidden are grayed-out and unselectable. It is still possible to export to these grayed out directories by simply typing the path into the export dialogue directly, however. File browsing dialogues from other places do not do this, either.
Steps to reproduce: Click on Export or Export as..., then click on the Browse button in the resulting dialogue. While browsing around, any non-hidden directories would be grayed out.

@gaboscharff99 gaboscharff99 added the bug Something isn't working label Jul 31, 2024
@OverloadedOrama
Copy link
Member

I cannot replicate on KDE Plasma unfortunately, but it since the Flatpak version is using native file dialogs, then it sounds either like an issue with your desktop environment's file dialogs, or like a permission issue. You may need to confirm that Pixelorama has permission to access the file system. An easy way to configure Flatpak permissions is with the Flatseal application.

@gaboscharff99
Copy link
Author

gaboscharff99 commented Jul 31, 2024

As I said, the directories are not grayed out when opening or saving, just when exporting. And I checked the permissions on Flatseal, too. It does have access to the entire home directory. Additionally, I can export to places within the home directory by simply typing the wanted location directly into the export dialogue, but browsing the files specifically doesn't work, and only in that specific context. I also know from experience that, when Flatpaks don't have access to specific directories, they're not grayed out, they simply do not show up. All this leads me to believe there is a problem in Pixelorama itself, at least the Flatpak version.

I should also mention that this didn't happen in previous versions. It only became a problem after updating Pixelorama.

@OverloadedOrama
Copy link
Member

Does this happen in a non-Flatpak version?

@gaboscharff99
Copy link
Author

I'm not sure, I haven't tested it. Should I do that?

@gaboscharff99
Copy link
Author

I just tested it on the Itch.io version, and it doesn't do that. Then again, the Itch.io version uses its own file browser, it seems, rather than relying on the system's file browser.

@OverloadedOrama
Copy link
Member

You can enable native file dialogs from the Edit menu, Preferences, Interface and toggling "Use native file dialogs". The Flatpak version is limited to native file dialogs only because it is sandboxed.

@gaboscharff99
Copy link
Author

Alright, the Itch.io version also has this problem when using native file dialogs, I just checked.

OverloadedOrama added a commit that referenced this issue Jul 31, 2024
@OverloadedOrama OverloadedOrama added help wanted Extra attention is needed platform-specific Related to specific platforms labels Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed platform-specific Related to specific platforms
Projects
None yet
Development

No branches or pull requests

2 participants