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

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/systemsettings/-/commit/ |ma/systemsettings/-/commit/
                   |836e993fdd83d1b52b420eb6d7e |9e64479cdf458f57ab0048b603d
                   |e91f18fabde5d               |358847b8932eb

--- Comment #3 from Nate Graham <[email protected]> ---
Git commit 9e64479cdf458f57ab0048b603d358847b8932eb by Nate Graham.
Committed on 17/08/2026 at 21:38.
Pushed by ngraham into branch 'Plasma/6.6'.

Fix loadModule not resetting subCategoryModel parent for modules w/o a submenu

Loading a top-level module with no children via loadModule() (when
we use systemsettings kcm_user it calls loadModule()) left
subCategoryModel's parent index unchanged. Reopening the previously
active category then passed setParentIndex() the same index as
before, causing no model reset, no onCountChanged in SidebarMode.qml,
and the submenu page never being re-pushed onto pageStack.

Fix by clearing subCategoryModel's parent index when loading a
module with no children. The attached video shows before and after
scenes.
Related: bug 514006
FIXED-IN: 6.6.7


(cherry picked from commit c26d1b64bd853e765f18b20454752b0e8d3f6274)

55a00b89 Fix: SidebarMode::loadModule not resetting subCategoryModel parent for
modules without a submenu

Co-authored-by: Mradul  Pal <[email protected]>

M  +1    -0    app/SidebarMode.cpp

https://invent.kde.org/plasma/systemsettings/-/commit/9e64479cdf458f57ab0048b603d358847b8932eb

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

Reply via email to