<?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>519168</bug_id>
          
          <creation_ts>2026-04-20 03:55:41 +0000</creation_ts>
          <short_desc>&apos;Always use light variant&apos; does not work for SVG based wallpapers</short_desc>
          <delta_ts>2026-06-11 15:59:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Image &amp; Slideshow wallpaper plugins</component>
          <version>6.6.4</version>
          <rep_platform>Kubuntu</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=513876</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chandradeep Dey">kde</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>nate</cc>
    
    <cc>notmart</cc>
    
    <cc>qydwhotmail</cc>
    
    <cc>rikmills</cc>
    
    <cc>sgmoore</cc>
    
    <cc>z_mikowski</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/-/commit/54e8f02f57a998bfe8f08ff3a2698f5533c268ab</cf_commitlink>
          <cf_versionfixedin>6.6.6</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2510945</commentid>
    <comment_count>0</comment_count>
    <who name="Chandradeep Dey">kde</who>
    <bug_when>2026-04-20 03:55:41 +0000</bug_when>
    <thetext>SUMMARY
Kubuntu 26.04 has a new default SVG wallpaper package that has both images and images_dark. When using that wallpaper, the &apos;Always use light variant&apos; option is ignored, and the wallpaper theme comes from the global theme instead.

STEPS TO REPRODUCE
1. Have an SVG wallpaper with both light and dark variants.
2. Switch wallpaper to &apos;Always use light variant.&apos;

OBSERVED RESULT
Wallpaper stays the same

EXPECTED RESULT
Wallpaper should change to the light variant

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 26.04 LTS
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 7.0.0-14-generic (64-bit)
Graphics Platform: Wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2510946</commentid>
    <comment_count>1</comment_count>
    <who name="Chandradeep Dey">kde</who>
    <bug_when>2026-04-20 03:57:47 +0000</bug_when>
    <thetext>Probably related to bug 513876</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2511068</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Mikowski">z_mikowski</who>
    <bug_when>2026-04-20 19:24:32 +0000</bug_when>
    <thetext>It is not definitive that the problem is with SVG alone, although it is certainly evident with the Kubuntu 26.04 SVG wallpaper theme.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2521209</commentid>
    <comment_count>3</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2026-06-07 09:45:41 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6691</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2521237</commentid>
    <comment_count>4</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2026-06-07 13:58:16 +0000</bug_when>
    <thetext>Git commit 7f0648c192d8bbfb8bd6262f984848b8cbc5e3b6 by Fushan Wen, on behalf of David W..
Committed on 07/06/2026 at 13:06.
Pushed by fusionfuture into branch &apos;master&apos;.

wallpapers/image: Respect URL fragment for dark mode detection in MediaProxy

When an image URL contains a &quot;#dark&quot; or &quot;#light&quot; fragment, respect that
over the system color scheme when determining the darkMode query parameter.

M  +4    -1    wallpapers/image/plugin/utils/mediaproxy.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/7f0648c192d8bbfb8bd6262f984848b8cbc5e3b6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2521239</commentid>
    <comment_count>5</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2026-06-07 14:17:32 +0000</bug_when>
    <thetext>Git commit 27ce68191a82e9817af41bedf27db65af8338c46 by Fushan Wen.
Committed on 07/06/2026 at 13:59.
Pushed by fusionfuture into branch &apos;Plasma/6.7&apos;.

wallpapers/image: Respect URL fragment for dark mode detection in MediaProxy

When an image URL contains a &quot;#dark&quot; or &quot;#light&quot; fragment, respect that
over the system color scheme when determining the darkMode query parameter.


(cherry picked from commit 7f0648c192d8bbfb8bd6262f984848b8cbc5e3b6)

Co-authored-by: David W. &lt;davidwild@gmx.com&gt;

M  +4    -1    wallpapers/image/plugin/utils/mediaproxy.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/27ce68191a82e9817af41bedf27db65af8338c46</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2521469</commentid>
    <comment_count>6</comment_count>
    <who name="Marco Martin">notmart</who>
    <bug_when>2026-06-08 13:25:44 +0000</bug_when>
    <thetext>Git commit 54e8f02f57a998bfe8f08ff3a2698f5533c268ab by Marco Martin, on behalf of David W..
Committed on 08/06/2026 at 13:25.
Pushed by mart into branch &apos;Plasma/6.6&apos;.

wallpapers/image: Respect URL fragment for dark mode detection in MediaProxy

When an image URL contains a &quot;#dark&quot; or &quot;#light&quot; fragment, respect that
over the system color scheme when determining the darkMode query parameter.

M  +4    -1    wallpapers/image/plugin/utils/mediaproxy.cpp

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

    </bug>

</bugzilla>