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

File upload button in ANY website doesn't work #128

Open
colossus73 opened this issue Jan 17, 2025 · 2 comments
Open

File upload button in ANY website doesn't work #128

colossus73 opened this issue Jan 17, 2025 · 2 comments

Comments

@colossus73
Copy link

colossus73 commented Jan 17, 2025

The file chooser dialog in ANY website in any browser (Firefox, Brave, Vivaldi) doesn't appear when I click on the upload button:

Jan 17 20:17:51 pop-os cosmic-session[1382]: thread 'main' panicked at /build/xdg-desktop-portal-cosmic-qhzQ6A/xdg-desktop-portal-cosmic-0.1.0pop1173707541124.04~7afb043/vendor/iced_widge>
Jan 17 20:17:51 pop-os cosmic-session[1382]: called Option::unwrap() on a None value
Jan 17 20:17:51 pop-os cosmic-session[1382]: note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Jan 17 20:17:51 pop-os cosmic-session[1382]: [2025-01-17T20:17:51Z WARN cosmic_files::tab] failed to calculate directory size of "/home/gt/Desktop": Cancelled
Jan 17 20:17:51 pop-os xdg-desktop-por[1660]: Backend call failed: Remote peer disconnected

(firefox:4610): Gdk-WARNING **: 20:17:50.424: Server is missing xdg_foreign support
[Parent 4610, Main Thread] WARNING: Failed to export handle, could not set transient for: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201

xdg-desktop-portal.service - Portal service
Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
Active: active (running) since Fri 2025-01-17 20:11:21 UTC; 34min ago
Main PID: 1660 (xdg-desktop-por)
Tasks: 5 (limit: 18951)
Memory: 5.1M (peak: 6.8M)
CPU: 298ms
CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/xdg-desktop-portal.service
└─1660 /usr/libexec/xdg-desktop-portal

Jan 17 20:17:50 pop-os xdg-desktop-por[1660]: Backend call failed: Remote peer disconnected
Jan 17 20:17:51 pop-os xdg-desktop-por[1660]: Backend call failed: Remote peer disconnected
Jan 17 20:27:25 pop-os xdg-desktop-por[1660]: Backend call failed: Remote peer disconnected
Jan 17 20:37:23 pop-os xdg-desktop-por[1660]: Backend call failed: Remote peer disconnected
Jan 17 20:38:27 pop-os xdg-desktop-por[1660]: Backend call failed: Remote peer disconnected
Jan 17 20:38:27 pop-os xdg-desktop-por[1660]: Backend call failed: Could not activate remote peer: unit failed.
Jan 17 20:38:28 pop-os xdg-desktop-por[1660]: Backend call failed: Could not activate remote peer: unit failed.
Jan 17 20:38:28 pop-os xdg-desktop-por[1660]: Backend call failed: Remote peer disconnected
Jan 17 20:38:28 pop-os xdg-desktop-por[1660]: Backend call failed: Could not activate remote peer: unit failed.
Jan 17 20:45:51 pop-os xdg-desktop-por[1660]: Backend call failed: Remote peer disconnected

@nuke-web3
Copy link

nuke-web3 commented Jan 17, 2025

unclear if it's related, but I have the same issue for many flatpaks: pop-os/cosmic-epoch#1331 (and some related / duplicates: https://github.com/search?q=repo%3Apop-os%2Fcosmic-epoch+file+picker&type=issues)

@hojjatabdollahi
Copy link

From the logs it's happening in this a11y function. @nuke-web3 maybe try the suggestion from #121 and see if it fixes the issue for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants