SUMMARY The default search for Discover is Duckduckgo, which is banned in Indonesia, making it a hassle to search for software that is not in Snap. It would be good to be able to change the default search engine, however according to my post in the Newbie section on Kubuntu, https://www.kubuntuforums.net/forum/newbie-support/help-the-new-guy/686137-discover-s-default-search-engine-is-duckduckgo-which-is-banned-in-indonesia-how-can-i-change-it-to-something-else, it is hard-coded. STEPS TO REPRODUCE 1. Open Discover, search for software not in the Snap store. 2. Click on 'Search the web for [software name not in store, such as Cronopete' 3. Duckduckgo is banned in Indonesia so the search fails. One should be able to choose from a list of search engines. OBSERVED RESULT Search Fails EXPECTED RESULT Search succeeds SOFTWARE/OS VERSIONS Kubuntu 24.10
Thank you for the bug report! However Plasma 6.1.5 is no longer eligible for support or maintenance from KDE; supported versions are 5.27. (LTS), and 6.3 (non-LTS) or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one. If you need support for Plasma 6.1.5, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE. If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.
I confirm this happens on the current Discover 6.3.4.
It would appear we can use KURISearchFilterEngine::defaultSearchEngine() in KIO for this.
Or not, that's private. Looking for another solution. The change here will be to respect the system's default web search provider, and then in Indonesia it can be changed from DuckDuckGo to something else on a systemwide basis.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1081
Git commit 1e71f6c730a4a4ef81895c153d8ea677566ca57f by Nate Graham. Committed on 19/04/2025 at 17:31. Pushed by ngraham into branch 'master'. Respect systemwide default search engine Right now we hardcode DuckDuckGo, which ignores the user's preference and doesn't work in Indonesia, where it's currently blocked. Instead, get the actual configured default search engine, which the user can change if desired or needed. FIXED-IN: 6.4.0 M +1 -0 discover/CMakeLists.txt M +10 -0 discover/DiscoverObject.cpp M +1 -0 discover/DiscoverObject.h M +1 -1 discover/qml/ApplicationsListPage.qml https://invent.kde.org/plasma/discover/-/commit/1e71f6c730a4a4ef81895c153d8ea677566ca57f