Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.9.0, 5.15.15, 5.15.17, 6.7.1
Description
I noticed that the WebView does not support downloads but I believe that is already handled by QTBUG-59006. Downloads don't work for me on any OS. However, when viewing a webpage that has a file selection element (<input type="file">) then clicking it will open a native file selection window in Windows and Linux but it doesn't work on Android. I tried adding various permissions to the application in Android but still had no luck.
Are there plans to add download/file selection support to the WebView in the future?
Should the file selection element work in Android (like it does on Windows and Linux)?
Is there an alternative to WebView that works on Android, Windows, and Linux that can be used for both file selection and file downloads on a web page?
To reproduce:
- run the following example on Android "Qt WebView Examples - Minibrowser"
- navigate to a webpage that has a file selection element (i.e. <input type="file">), for example: https://viljamis.com/filetest/
- opening the file selection dialog does not work on Android in WebView (but it works fine in Windows and Linux)
Many thanks!