[plasma-browser-integration] [Bug 524384] Download notification for Firefox-based browsers packaged with Flatpak shows a garbed path

"Kai Uwe Broulik" <[email protected]>
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=524384

--- Comment #1 from Kai Uwe Broulik <[email protected]> ---
The extension just forwards what the browser API tells it. The Firefox download
API is in general quite buggy, which is also why it doesn’t offer to pause a
download.

Check the following for what the browser tells us:
1.) go to about:debugging
2.) On the sidebar choose "This Firefox"
3.) Under Extensions find "Plasma Integration" and click "Inspect"
4.) Start your download (best to use one that takes a while to complete)
5.) In the resulting developer console paste: chrome.downloads.search({state:
"in_progress"}, console.log)

This gives you an array with a single download, expand it, look at what the
contents of the "filename" property. If this is your /run... then that’s what
the browser tells us.

The documents portal writes an "user.document-portal.host-path" extended file
attribute to the file which we might be able to use to resolve this but I am
not sure whether we get this here. Might be worth checking with fattr or xattr

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.