Skip to content

kcms/nightcolor: Improve input field for custom times

Ismael Asensio requested to merge work/iasensio/nightcolor-timefield into master

The previous behavior using inputMask and automatic text-to-value update makes the edit of this field absolutely static and painful.

Improve this interaction if only a bit by:

  • remove the inputMask. The inputMethodHints is enough and this allows to remove and replace text
  • allow to select text with the mouse
  • override numbers
  • update the time only when editing finished, or revert to the previous valid one

CCBUG: 451576

Alternative to !4194 (closed)

Merge request reports