[Bug]: application fails to access the file after file picker
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 18/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- c, linux
- Ambito
- cli, operating-systems
Direzione di ricerca
The report concerns the document portal path used after a file picker returns, so start with the portal and document-export code in the Flatpak source tree and reproduce with flatpak documents on a Sway setup using xdg-desktop-portal-gtk. The reporter has not identified the failing layer, so first determine whether the file is accessible from inside the sandbox. Done means a documented root cause and either a fix or a clear note on why the setup is unsupported.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Checklist
- 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).
Flatpak version
1.16.1
What Linux distribution are you using?
Alpine Linux
Linux distribution version
6.18.7-0-stable
What architecture are you using?
x86_64
How to reproduce
- Use any flatpak program file picker
- Select a file with the picker (here the GTK file chooser)
-> the program fail to access the file
Expected Behavior
the program got access to the file, through the documents xdg portal
Actual Behavior
the program fails to access the file properly
Additional Information
The current DE is Sway + xdg-desktop-portal-gtk ( + xdg-desktop-portal-wlr ). I don't have any other issues with xdg portals.
I can list the new entry with flatpak documents. It effectively is associated to the application, link to an existing path in $XDG_RUNTIME_DIR/doc/xxxxx/xxxxx.jpg, but the program still got a problem accessing it. My XDG_RUNTIME_DIR is /run/user-1000.
Here Vesktop (a Discord tweaked front-end) fails with this error message. The preview of the image I'm trying to upload is empty.
https://minio.missbanal.net/putpub/02159554-5514-4895-8fed-7e652636bd98.png
- Lingua principale
- C
- Stelle
- 5.1k
- Fork
- 526
- Merge medio
- 1g 16h
- PR unite (30g)
- 32
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di flatpak/flatpak
-
[Feature request]: remove flatpak.fish completion so the shell's own completions are usedForse già presa @Franklin-Qi l’ha presa 6 giorni fa. Apertaenhancement needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
[Feature request]: add support for `xdg-state` filesystem prefixForse già presa @Franklin-Qi l’ha presa 6 giorni fa. Apertaenhancement libflatpak
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
flatpak/flatpak#5958 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
cli enhancement low priority
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Some flatpak repair strings are not translatableForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di flatpak/flatpak
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
bigtreetech/BIGTREETECH-TouchScreenFirmware#3056 ·
I maintainer di solito rispondono entro 1 giorno
-
[pico][astrocade] emu/apply.sh edits src/mame/midway/astrohome.cpp, which current MAME has in bally/Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
FujiNetWIFI/fujinet-firmware#2120 ·
I maintainer di solito rispondono entro 1 giorno
-
Merge pass 2 "ours dropped, theirs changed" path returns a bare SQLITE_ERROR ("merge failed")Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Bug Status: Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
php/php-src#24552 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno