Bug 446867 - Date and Time runner displays other timezones first when asked for UTC or GMT.
Summary: Date and Time runner displays other timezones first when asked for UTC or GMT.
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.23.4
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-12-12 07:26 UTC by Kishore Gopalakrishnan
Modified: 2021-12-14 18:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of the results for the query 'time utc' (87.71 KB, image/png)
2021-12-12 07:26 UTC, Kishore Gopalakrishnan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2021-12-12 07:26:34 UTC
Created attachment 144473 [details]
Screenshot of the results for the query 'time utc'

SUMMARY
With the query 'time utc', krunner (Date and Time runner) tries to show all possible offsets from UTC. The list of possible offsets is so long that the actual UTC time (which is probably what the user wanted) is not shown.

Same issue also occurs with 'time gmt'.

STEPS TO REPRODUCE
1. Make sure the 'Date and Time' runner is enabled in krunner
2. Invoke krunner
3. Type 'time utc' (without quotes)

OBSERVED RESULTS
One is shown results for many timezones with offset from UTC (UTC-14:00 and so on). The result for UTC+00:00 is not shown (see attached screenshot)

EXPECTED RESULT
UTC+00:00 should be the first timezone shown for this query, since that is what the user is most likely interested in.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.7-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Memory: 21.5 GiB of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics
Comment 1 Nate Graham 2021-12-14 18:35:08 UTC
Can confirm.

Works for me in the KRunner-powered search in Kickoff, interestingly enough.