<?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>486409</bug_id>
          
          <creation_ts>2024-05-01 16:07:20 +0000</creation_ts>
          <short_desc>System Settings allows users to select Adwaita as an icon theme, which breaks things due to missing icons</short_desc>
          <delta_ts>2024-05-05 22:24:50 +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_icons</component>
          <version>6.0.4</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/288</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Neal Gompa">ngompa</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>4wy78uwh</cc>
    
    <cc>kde</cc>
    
    <cc>nate</cc>
    
    <cc>timaeos</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/-/commit/c8b8a4db63b575edf931c3d61aea1ed3d3d287f2</cf_commitlink>
          <cf_versionfixedin>6.0.5</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2315601</commentid>
    <comment_count>0</comment_count>
    <who name="Neal Gompa">ngompa</who>
    <bug_when>2024-05-01 16:07:20 +0000</bug_when>
    <thetext>SUMMARY
Users are able to select the Adwaita icon theme in Plasma, and the result is pretty broken due to numerous missing icons. It is unlikely that Adwaita can be fixed to be a fully compliant FDO icon theme, so we should block it in KDE Plasma.

STEPS TO REPRODUCE
1. Open System Settings
2. Change the icon theme to Adwaita

OBSERVED RESULT
The system switches to Adwaita, and a bunch of icons are simply nonexistent and get replaced either a &quot;broken file&quot; icon or no icon at all.

EXPECTED RESULT
You cannot select Adwaita as an icon theme for Plasma and none of this breakage is possible.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40 (KDE Plasma)
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Cinnamon has blocked Adwaita a few days ago[1][2]. Budgie blocked Adwaita a couple years ago[3].

[1]: https://github.com/linuxmint/cinnamon/commit/13b1ad104e88197f6c4e2d02ab2674c07254b8e8
[2]: https://github.com/linuxmint/cinnamon/commit/b6661f62a42958b80425c63b34ad789bfa7eb3f2
[3]: https://github.com/BuddiesOfBudgie/budgie-desktop/commit/27b944769ada26e4d8c60252a4602f7b15b2688f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2315603</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-05-01 16:12:36 +0000</bug_when>
    <thetext>Given the problems described in https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/288, I think this is reasonable until Adwaita regains the ability to be a proper FDO-compatible icon theme.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2315604</commentid>
    <comment_count>2</comment_count>
    <who name="Neal Gompa">ngompa</who>
    <bug_when>2024-05-01 16:14:02 +0000</bug_when>
    <thetext>We should also probably block the GNOME/GTK built-in high contrast theme too for the same reason.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2315634</commentid>
    <comment_count>3</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-05-01 18:24:15 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4280</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2315692</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-05-01 21:41:00 +0000</bug_when>
    <thetext>Git commit 813d22ff80ede0c7c08e4563621e3778459426f0 by Nate Graham.
Committed on 01/05/2024 at 21:24.
Pushed by ngraham into branch &apos;master&apos;.

kcms/icons: filter out GNOME&apos;s Adwaita and High Contrast icon themes

These are no longer FDO-compatible icon themes, and are apparently no
longer intended to be used for non-GNOME apps--going against what an
FDO icon theme is supposed to be used for.

I&apos;ve contacted the GNOME folks about it, and unfortunately they&apos;ve made
it clear that the situation is intended; see
https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/288

As such, allowing the user to select these icon themes will just give
them an opportunity to break all their non-GNOME apps. Let&apos;s filter
these themes out to prevent that possibility.

We still need to figure out a solution for when our apps are run in
distros where Adwaita is used as the default icon theme, but that&apos;s a
separate topic.
FIXED-IN: 6.1

M  +12   -0    kcms/icons/iconsmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/813d22ff80ede0c7c08e4563621e3778459426f0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2315694</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-05-01 22:03:11 +0000</bug_when>
    <thetext>Git commit c8b8a4db63b575edf931c3d61aea1ed3d3d287f2 by Nate Graham.
Committed on 01/05/2024 at 21:50.
Pushed by ngraham into branch &apos;Plasma/6.0&apos;.

kcms/icons: filter out GNOME&apos;s Adwaita and High Contrast icon themes

These are no longer FDO-compatible icon themes, and are apparently no
longer intended to be used for non-GNOME apps--going against what an
FDO icon theme is supposed to be used for.

I&apos;ve contacted the GNOME folks about it, and unfortunately they&apos;ve made
it clear that the situation is intended; see
https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/288

As such, allowing the user to select these icon themes will just give
them an opportunity to break all their non-GNOME apps. Let&apos;s filter
these themes out to prevent that possibility.

We still need to figure out a solution for when our apps are run in
distros where Adwaita is used as the default icon theme, but that&apos;s a
separate topic.
FIXED-IN: 6.0.5
(cherry picked from commit 813d22ff80ede0c7c08e4563621e3778459426f0)

M  +12   -0    kcms/icons/iconsmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/c8b8a4db63b575edf931c3d61aea1ed3d3d287f2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>