Bug 346681

Summary: Unable to find words in 'Region' and 'Comments' columns
Product: [Plasma] plasmashell Reporter: AndrĂ© Marcelo Alvarenga <alvarenga>
Component: Digital ClockAssignee: Martin Klapetek <mklapetek>
Status: RESOLVED FIXED    
Severity: normal CC: kde, plasma-bugs
Priority: NOR    
Version: 5.2.90   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.3.1

Description André Marcelo Alvarenga 2015-04-26 02:13:42 UTC
Try to find a word (in Search Time Zones field).
This word is not displayed if the match is in 'Region' or 'Comments' columns.

Reproducible: Always




Works with KDE4.
Comment 1 David Edmundson 2015-04-26 11:30:28 UTC
It should probably search region too, I'm not very convinced about searching comments.
Comment 2 Martin Klapetek 2015-05-12 20:53:18 UTC
Git commit 72041b7c90c3f4e1d1ec6812813dee84952f3f89 by Martin Klapetek.
Committed on 12/05/2015 at 20:51.
Pushed by mklapetek into branch 'Plasma/5.3'.

[digital-clock] Add timezone filtering by region too

Adds a simple QSortFilterProxyModel on top of TimeZonesModel and
reimplements filterAcceptsRow using QStringMatcher (supposedly faster
according to qtdocs).

REVIEW: 123740
FIXED-IN: 5.3.1

M  +2    -3    applets/digital-clock/package/contents/ui/configTimeZones.qml
M  +1    -0    applets/digital-clock/plugin/digitalclockplugin.cpp
M  +33   -0    applets/digital-clock/plugin/timezonemodel.cpp
M  +22   -0    applets/digital-clock/plugin/timezonemodel.h

http://commits.kde.org/plasma-workspace/72041b7c90c3f4e1d1ec6812813dee84952f3f89