<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>518868</bug_id>
          
          <creation_ts>2026-04-12 14:05:31 +0000</creation_ts>
          <short_desc>&quot;Touchscreen&quot; category is always visible with &quot;Highlight Changed Settings&quot; and no touchscreen</short_desc>
          <delta_ts>2026-04-22 13:25:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_touchscreen</component>
          <version>6.6.4</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=515995</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jin Liu">ad.liu.jin</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>akselmo</cc>
    
    <cc>bugseforuns</cc>
    
    <cc>duha.bugs</cc>
    
    <cc>kdedev</cc>
    
    <cc>nate</cc>
    
    <cc>nicolas.fella</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/systemsettings/-/commit/c52478bd986ca3916be2b1be3cdb6feaddb15209</cf_commitlink>
          <cf_versionfixedin>6.6.5</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2509669</commentid>
    <comment_count>0</comment_count>
    <who name="Jin Liu">ad.liu.jin</who>
    <bug_when>2026-04-12 14:05:31 +0000</bug_when>
    <thetext>STEPS TO REPRODUCE
1. Launch systemsettings in a machine with no touchscreen.
2. &quot;Touchscreen&quot; category is hidden as intended.
3. Enable &quot;Highlight Changed Settings&quot; in the hamburger.
4. An empty &quot;Touchscreen&quot; category appears.
5. Now that empty category stays even if I turn off &quot;Highlight Changed Settings&quot;.
6. Deleting &quot;~/.config/systemsettingsrc&quot; fixes the problem for once.

NOTE
When I search for &quot;touchscreen&quot;, its page appears with an empty list, but the &quot;Defaults&quot; button enabled. I suspect that might be connected with the issue.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0
Kernel Version: 6.19.11-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor: AMD Radeon Graphics</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2509808</commentid>
    <comment_count>1</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2026-04-13 08:44:20 +0000</bug_when>
    <thetext>Can confirm the issue

Operating System: KDE Linux 2026-04-12
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.0
Kernel Version: 6.19.11-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2511332</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2026-04-22 03:22:34 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/systemsettings/-/merge_requests/404</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2511399</commentid>
    <comment_count>3</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2026-04-22 13:16:17 +0000</bug_when>
    <thetext>*** Bug 515995 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2511401</commentid>
    <comment_count>4</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2026-04-22 13:20:22 +0000</bug_when>
    <thetext>Git commit 37e74f7ab7e01ca76df68e46a017c100c159afa2 by Nicolas Fella, on behalf of Jin Liu.
Committed on 22/04/2026 at 13:20.
Pushed by nicolasfella into branch &apos;master&apos;.

Fix empty category in sidebar when &quot;Highlight Changed Settings&quot; is enabled

1. MenuProxyModel::filterHighlightsEntries is never used in the UI.
Probably legacy code.
2. And MenuProxyModel::setFilterHighlightsEntries doesn&apos;t call invalidateRowsFilter
like setShowIrrelevantModules does.
3. And it&apos;s default to true in ctor, while later changed to false in SidebarMode.cpp.
4. The end result is that the final branch in MenuProxyModel::filterAcceptsRow which
hides irrelevant categories only gets run once, at app startup. There after, it&apos;s always
the filterHighlightsEntries==false branch that is run, e.g., when the user toggles
&quot;Highlight Changed Settings&quot; in the sidebar, and the model is refreshed.

M  +11   -26   app/MenuProxyModel.cpp
M  +0    -11   app/MenuProxyModel.h
M  +0    -2    app/SidebarMode.cpp

https://invent.kde.org/plasma/systemsettings/-/commit/37e74f7ab7e01ca76df68e46a017c100c159afa2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2511405</commentid>
    <comment_count>5</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2026-04-22 13:25:02 +0000</bug_when>
    <thetext>Git commit c52478bd986ca3916be2b1be3cdb6feaddb15209 by Nicolas Fella, on behalf of Jin Liu.
Committed on 22/04/2026 at 13:24.
Pushed by nicolasfella into branch &apos;Plasma/6.6&apos;.

Fix empty category in sidebar when &quot;Highlight Changed Settings&quot; is enabled

1. MenuProxyModel::filterHighlightsEntries is never used in the UI.
Probably legacy code.
2. And MenuProxyModel::setFilterHighlightsEntries doesn&apos;t call invalidateRowsFilter
like setShowIrrelevantModules does.
3. And it&apos;s default to true in ctor, while later changed to false in SidebarMode.cpp.
4. The end result is that the final branch in MenuProxyModel::filterAcceptsRow which
hides irrelevant categories only gets run once, at app startup. There after, it&apos;s always
the filterHighlightsEntries==false branch that is run, e.g., when the user toggles
&quot;Highlight Changed Settings&quot; in the sidebar, and the model is refreshed.
(cherry picked from commit 37e74f7ab7e01ca76df68e46a017c100c159afa2)

M  +11   -26   app/MenuProxyModel.cpp
M  +0    -11   app/MenuProxyModel.h
M  +0    -2    app/SidebarMode.cpp

https://invent.kde.org/plasma/systemsettings/-/commit/c52478bd986ca3916be2b1be3cdb6feaddb15209</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>