You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug that matches the one I want to file, without success.
If this is an issue with a particular app, I have tried filing it in the appropriate issue tracker for the app (e.g. under https://github.com/flathub/) and determined that it is an issue with Flatpak itself.
This issue is not a report of a security vulnerability (see here if you need to report a security issue).
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 displayedError[…] /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.
Francewhoa
changed the title
[Bug]: "The folder contents could not be displayed" "Error" "/run/user/1000/doc/"
[Bug]: "The folder contents could not be displayed" "Error" "/run/user/1000/doc/". Related to "xdg-document-portal".
Apr 9, 2024
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: