Bug 429506

Summary: Weather applet search does not work
Product: [Unmaintained] kdeplasma-addons Reporter: Rusu Cosmin <rcosmin110503>
Component: WeatherAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.20.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.24
Sentry Crash Report:
Attachments: Screenshot of the bug

Description Rusu Cosmin 2020-11-22 15:07:53 UTC
Created attachment 133566 [details]
Screenshot of the bug

SUMMARY

The search for city function inside of weather configuration does not find some cities that are in wetter.com's or bbcweather's database.

STEPS TO REPRODUCE
1. Open weather widget
2. Go to configuration menu
3. Search "Suceava"

OBSERVED RESULT

"No weather station found"

EXPECTED RESULT

Finding my city

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: Manjaro 20.3 / Kernel 5.8.18-1MANJARO
(available in About System)
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
added a screenshot
Comment 1 Bug Janitor Service 2021-11-11 05:47:25 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1191
Comment 2 Nate Graham 2021-11-12 16:00:02 UTC
Git commit e4a9cc48f24ab9f15e534c655458df06b6451121 by Nate Graham, on behalf of Bharadwaj Raju.
Committed on 12/11/2021 at 15:59.
Pushed by ngraham into branch 'master'.

[dataengines/weather] Improved search for BBC UK Met source places

Adds partial-text searching for BBC UK Met source by using the auto=true
API param. Some place names with Unicode in them which were matched
in auto=false are not shown in auto=true results, so we merge the two.
Related: bug 436974

M  +76   -30   dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp
M  +5    -2    dataengines/weather/ions/bbcukmet/ion_bbcukmet.h

https://invent.kde.org/plasma/plasma-workspace/commit/e4a9cc48f24ab9f15e534c655458df06b6451121