cog icon indicating copy to clipboard operation
cog copied to clipboard

[BUG] File Manager cannot be opened in Web Pages

Open nuehm-arno opened this issue 3 years ago • 4 comments

Hello there,

and thank you very much for your lightweight browser. It is perfect for web apps on Mobian@Pinephone!

Here is a thing, which could be improved:

While surfing on a web page and trying to upload files from a file manager by pressing a button to choose the file, nothing happens. It would be awesome, if this feature could be implemented and a file manager would be opened.

Thanks again and keep on with your amazing work!

nuehm-arno avatar Jul 09 '21 17:07 nuehm-arno

We would need to handle the WebKitWebView:run-file-chooser signal in the different platform plug-ins. Probably the easiest is the GTK4 one, which could use GtkFileChooserNative.

@nuehm-arno Out of curiosity, which platform are you using?

aperezdc avatar Aug 06 '21 11:08 aperezdc

I'm using Mobian, a Debian arm64 OS for the Pinephone.

nuehm-arno avatar Aug 10 '21 12:08 nuehm-arno

@nuehm-arno Sorry for the unclear question, I wanted to know which Cog platform plug-in are you using on your Pinephone. Is it the GTK4 one? (e.g. running cog --platform=gtk4 …).

aperezdc avatar Aug 11 '21 21:08 aperezdc

Now I got it. I don't specify a platform - it's only cog --doc-viewer http://..., for example.

nuehm-arno avatar Aug 12 '21 06:08 nuehm-arno