-
-
Notifications
You must be signed in to change notification settings - Fork 194
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]: "The folder contents could not be displayed" "Error" "/run/user/1000/doc/". Related to "xdg-document-portal". #1410
Comments
Happens on This bug is very inconvenient and unpredictable. The root user can't access |
Well, this is awkward...
The programs work for now but the unit doesn't start anymore. Also |
It seems that xdg-document-portal launches automatically with every DBus instance which can cause problems when using |
I am facing the same issue, see the output of the command (journalctl --user -b -u xdg-document-portal)
|
Checklist
Flatpak version
1.14.4
What Linux distribution are you using?
Debian
Linux distribution version
12 Bookworm. 6.1.0-18-amd64. Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux.
What architecture are you using?
x86_64
How to reproduce
After a fresh reboot, use either LibreWolf 124.0.1-1 or Firefox 124.0.2 to print to a PDF file any web page. This works smooth and fine for now.
Continue using the same device and apps above for multiple days without reboot. Do daily Flatpak updates without reboot.
Until when you use either LibreWolf 124.0.1-1 or Firefox 124.0.2, when you print the same web page to a PDF.
This error message is displayed:
The folder contents could not be displayed
Error
[…]/run/user/1000/doc/
[…]1. This screenshot below shows this error in French. With steps to reproduce.
This error message above is the first challenge. Then the PDF file creation failed. This is the second challenge.
The same challenge can be reproduced the other way around with an incoming file instead of an outgoing file. For example, but not limited to, using the same Flatpak apps, uploading a PNG file to any webpages. The upload failed without an error message displayed. The same workaround below temporarily resolved this challenge.
Using:
Expected Behavior
Error message is not displayed.
File is created. Such as, but not limited to PDF file.
Actual Behavior
The error message is displayed
Then the PDF file creation failed
Additional Information
Temporary Workaround
For those facing this challenge, the steps below temporary fixed this challenge. But the same challenge comes back after a few hours or days.
Steps:
Using GNOME System Monitor or equivalent, kill this process
xdg-document-portal
Fully exit the Flatpak app. Including all its windows.
Start the Flatpak app
Error is gone
Related Ticket
The text was updated successfully, but these errors were encountered: