Summary: | Search field in time zones dialogue in digital clock is missing a ‘Clear’ button | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Karl Ove Hufthammer <karl> |
Component: | Digital Clock | Assignee: | Martin Klapetek <mklapetek> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bugseforuns, kde, notuxius, plasma-bugs, russellgreene8 |
Priority: | NOR | ||
Version: | 5.4.2 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/5244e2be7d748a36ea83f0109a26ebce46c5d68f | Version Fixed In: | 5.21 |
Sentry Crash Report: |
Description
Karl Ove Hufthammer
2015-10-23 06:17:58 UTC
I am going to suggest that this goes on the wishlist, as it is not directly a bug but a feature request. Thank you! No, this is actually a bug, as search fields in KDE applications always have a clear button. Unfortunately QtQuick.Controls TextField has no API to add buttons, so this won't be trivial. In Plasma text fields (like KRunner) we have a custom style and can do whatever we want but in config dialogs where the native style is used, this is hard, if not impossible; at least not without using private API prone to break between releases. 'Holydays' section search field is missing clear button too Git commit 5244e2be7d748a36ea83f0109a26ebce46c5d68f by Nate Graham. Committed on 18/10/2020 at 14:59. Pushed by ngraham into branch 'master'. [applets/digital-clock] Use Kirigami.SearchField for search field That's what it was made for; might as well use it. This gives it a "clear" button for free. FIXED-IN: 5.21 M +2 -3 applets/digital-clock/package/contents/ui/configTimeZones.qml https://invent.kde.org/plasma/plasma-workspace/commit/5244e2be7d748a36ea83f0109a26ebce46c5d68f |