Bug 515637

Summary: Weather station search shouldn't require punctuation
Product: [Plasma] plasmashell Reporter: Isaac Rogers <kde>
Component: Weather widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: isma.af, kdedev
Priority: NOR    
Version First Reported In: 6.5.5   
Target Milestone: 1.0   
Platform: CachyOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Isaac Rogers 2026-02-06 16:19:04 UTC
SUMMARY
I expect the search results for "st louis" to be a superset of the results for "st. louis", but all NOAA stations are missing from the former.

STEPS TO REPRODUCE
1. Open "Weather Report" widget settings, "Weather Station" tab
2. Type "st louis" in the search bar, note results
3. Replace search with "st. louis"

OBSERVED RESULT
"st louis" finds BBC stations but does not find NOAA stations.
Interestingly, two results are not a substring match: `Saint-Louis, Senegal, SN (BBC Weather)` and `Lambert-St. Louis International Airport, United States, US (BBC Weather)`

"st. louis" finds both BBC stations and NOAA stations

EXPECTED RESULT
Both queries find BBC stations and NOAA stations

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2
Kernel Version: 6.18.8-3-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3090
Comment 1 TraceyC 2026-02-06 17:12:32 UTC
I can reproduce this on Plasma built from git-master