https://bugs.kde.org/show_bug.cgi?id=484165

Ismael Asensio <isma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/810181a01b |ma/kwin/-/commit/3088d941c6
                   |d2153e2bdd050c1da1dd49c580d |46b63ccea66669ef52585771b9c
                   |4c4                         |79c

--- Comment #8 from Ismael Asensio <isma...@gmail.com> ---
Git commit 3088d941c646b63ccea66669ef52585771b9c79c by Ismael Asensio.
Committed on 25/02/2025 at 19:00.
Pushed by iasensio into branch 'Plasma/6.3'.

kcms/rules: Fix showing selected VD on X11

Th Rules KCM treats Virtual Desktops differently:
- on wayland is a QStringList and a multiple choice `OptionList`
- on X11 is a QString and a single choice `Option`

The underlaying setting, however, is common and always a QStringList.
This made the check against the possible VDs fail, so the KCM on X11
would resort to show the default value: "All Virtual Desktops".

It was purely a visual failure in how the property was shown, not on
how the rules were saved or applied.

Convert the value to a `QString` in case we have a single `Option` to
fix the issue.
FIXED-IN: 6.3.3


(cherry picked from commit 810181a01bd2153e2bdd050c1da1dd49c580d4c4)

Co-authored-by: Ismael Asensio <isma...@gmail.com>

M  +6    -1    src/kcms/rules/ruleitem.cpp

https://invent.kde.org/plasma/kwin/-/commit/3088d941c646b63ccea66669ef52585771b9c79c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to