SUMMARY URLs handled by KIO (through the KDE Frameworks Integration extension) rather than by QtWebEngine natively are not saved in the browser history (and hence also in the autocomplete suggestions). STEPS TO REPRODUCE 1. Browse to, e.g., gopher://www.calcforge.org/1/ (requires kio_gopher ≥ 0.1.99), or man:bash (kio_man), or any other KIO-based URL. 2. Open the History menu. 3. Try to type the beginning of the URL to check for autocompletion support. OBSERVED RESULT The URL does not appear in the history nor in the autocompletion suggestions. EXPECTED RESULT The URL is remembered in the history and the autocompletion suggestions (like a native URL). SOFTWARE/OS VERSIONS Fedora 28 with updates Falkon 3.1.0 KDE Plasma 5.13.5 KDE Frameworks 5.55.0 QtWebEngine 5.12.2 Qt (QtBase etc.) 5.11.3 kio-extras 18.08.3 kio-gopher 0.1.99
(The kio_gopher RPM I use is a rebuild of the Fedora 29 package for Fedora 28, from this Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=34063191 )
Ping?
Git commit 759b3f5ea5ffe92d1735c3b63056203fb3e43251 by Juraj Oravec. Committed on 04/12/2023 at 21:32. Pushed by jurajo into branch 'master'. History: Store addresses with custom schemes FIXED-IN: 24.02.0 Signed-off-by: Juraj Oravec <jurajoravec@mailo.com> M +2 -1 src/lib/history/history.cpp https://invent.kde.org/network/falkon/-/commit/759b3f5ea5ffe92d1735c3b63056203fb3e43251
Thanks. Though this is only going to work if the scheme is explicitly allowed, not if the "allow all unknown schemes" option is used.
Or is that option gone anyway? I have seen it while searching the code, but cannot find it again now.
I see that your code here: https://invent.kde.org/network/falkon/-/commit/205018775ce1c66b349d6b5a20abcb08e5ed19f6#1fcf115ea7bc0529cad80661 registers the scheme on first use, which is a bit suboptimal because it requires a browser restart, but then it will be listed in allowedSchemes. So I have no remaining concern with the code, it should work as is. Thanks again for the fix!
Git commit 2bce10f4c822b5d8921e34f65bc48f49ec03a94a by Juraj Oravec. Committed on 21/12/2023 at 19:52. Pushed by jurajo into branch 'release/23.08'. History: Store addresses with custom schemes FIXED-IN: 23.08.5 Signed-off-by: Juraj Oravec <jurajoravec@mailo.com> M +2 -1 src/lib/history/history.cpp https://invent.kde.org/network/falkon/-/commit/2bce10f4c822b5d8921e34f65bc48f49ec03a94a