Summary: | window rules: cannot apply changes in value fields until the focus is set to another field manually | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Till Schäfer <till2.schaefer> |
Component: | kcm_kwinrules | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | isma.af, nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.20.4 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/3b87c6ea2dd854b4f5ce0f7f7af66d0184e9104f | Version Fixed In: | 5.22 |
Description
Till Schäfer
2021-01-06 09:15:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/664 Git commit 3b87c6ea2dd854b4f5ce0f7f7af66d0184e9104f by Ismael Asensio. Committed on 13/02/2021 at 22:57. Pushed by iasensio into branch 'master'. kcm/kwinrules: Update values on text edit Previously the text values were updated to the model after `onEditingFinished()`, that is after losing focus, to prevent erroneus updates. This was making also the `needsSaving` signal fire only after a focus change, which is not consistent with the behavior of other KCMs. Use `onTextEdit()` instead, so the model is updated as the user types. M +10 -5 src/kcmkwin/kwinrules/package/contents/ui/ValueEditor.qml https://invent.kde.org/plasma/kwin/commit/3b87c6ea2dd854b4f5ce0f7f7af66d0184e9104f |