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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |6.3.3
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/810181a01b
                   |                            |d2153e2bdd050c1da1dd49c580d
                   |                            |4c4

--- Comment #7 from Ismael Asensio <isma...@gmail.com> ---
Git commit 810181a01bd2153e2bdd050c1da1dd49c580d4c4 by Ismael Asensio.
Committed on 25/02/2025 at 18:07.
Pushed by iasensio into branch 'master'.

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

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

https://invent.kde.org/plasma/kwin/-/commit/810181a01bd2153e2bdd050c1da1dd49c580d4c4

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

Reply via email to