effects/windowview: make search field's placeholder text accurate

This effect has a search field that doesn't actually search; it filters
through open windows. Let's change its placeholder text to reflect this,
so users don't get confused.
This commit is contained in:
Nate Graham 2022-11-17 21:22:29 -07:00
parent 3a7b35a95b
commit c01569e4b8

View file

@ -116,6 +116,9 @@ Item {
Layout.preferredWidth: Math.min(parent.width, 20 * PlasmaCore.Units.gridUnit)
focus: false
// Don't confuse users into thinking it's a full search
placeholderText: i18n("Filter windows…")
// Otherwise it's always 100% opaque even while the blurry desktop background's
// opacity is changing, which looks weird and is different from what Overview does.
opacity: container.organized ? 1 : 0