<?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>511413</bug_id>
          
          <creation_ts>2025-10-31 09:28:27 +0000</creation_ts>
          <short_desc>Cannot add weather widget from widget explorer by clicking on it</short_desc>
          <delta_ts>2025-11-08 09:07:52 +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>Weather widget</component>
          <version>6.5.1</version>
          <rep_platform>CachyOS</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anders Holmquist">anders_kde</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>isma.af</cc>
    
    <cc>nate</cc>
    
    <cc>nicolas.fella</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/-/commit/b3bd31b9f8e7d3b06dc64e010eff34fc5286da07</cf_commitlink>
          <cf_versionfixedin>6.5.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2466853</commentid>
    <comment_count>0</comment_count>
    <who name="Anders Holmquist">anders_kde</who>
    <bug_when>2025-10-31 09:28:27 +0000</bug_when>
    <thetext>SUMMARY
After upgrading to 6.5, the Weather Report widget fails to add to the desktop when selected.

STEPS TO REPRODUCE
1. Open edit mode for desktop.
2. Add graphical component.
3. Attempt to add the Weather Report widget.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
The widget should add to the desktop.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.5-2-cachyos (64-bit)
Graphics Platform: Wayland

Localization: Swedish / Sweden

ADDITIONAL INFORMATION
Sys log spits out the following:

2025-10-31 09:28    plasmashell    Failed to find plasmoid path for &quot;org.kde.plasma.weather&quot;
2025-10-31 09:28    plasmashell    --------&gt; load applet: &quot;org.kde.plasma.weather&quot; relpath: &quot;plasma/plasmoids/org.kde.plasma.weather&quot;
2025-10-31 09:28    plasmashell    .. pathes: QList()

Which seems to indicate the built-in widget is still trying to look at the old path instead of the new (compiled) library in /usr/lib/qt6/plugins/plasma/applets

This does not seem to occur for every CachyOS user, but I have not done anything in particular to my KDE installation more than pacman -Syu to keep it updated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2466914</commentid>
    <comment_count>1</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2025-10-31 13:05:57 +0000</bug_when>
    <thetext>It seems to work when dragging the applet onto the desktop, but not when just clicking on it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2466915</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-10-31 13:19:20 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5952</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2466961</commentid>
    <comment_count>3</comment_count>
    <who name="Anders Holmquist">anders_kde</who>
    <bug_when>2025-10-31 17:20:18 +0000</bug_when>
    <thetext>(In reply to Nicolas Fella from comment #1)
&gt; It seems to work when dragging the applet onto the desktop, but not when
&gt; just clicking on it

Wow, you&apos;re correct. That hadn&apos;t occurred to me to try. Thanks for the work-around if nothing else! :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2467347</commentid>
    <comment_count>4</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2025-11-02 14:30:16 +0000</bug_when>
    <thetext>Git commit e5da9bfef1048a4acb93c135382490dcb1b756be by Nicolas Fella.
Committed on 02/11/2025 at 14:29.
Pushed by nicolasfella into branch &apos;master&apos;.

Fix WidgetExplorer::addApplet

Looking up the package directory won&apos;t work for applets that use plasma_add_applet

It&apos;s also entirely unnecessary since we can and should just pass the applet id to createApplet

M  +1    -12   components/shellprivate/widgetexplorer.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/e5da9bfef1048a4acb93c135382490dcb1b756be</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2467349</commentid>
    <comment_count>5</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2025-11-02 14:31:44 +0000</bug_when>
    <thetext>Git commit b3bd31b9f8e7d3b06dc64e010eff34fc5286da07 by Nicolas Fella.
Committed on 02/11/2025 at 14:31.
Pushed by nicolasfella into branch &apos;Plasma/6.5&apos;.

Fix WidgetExplorer::addApplet

Looking up the package directory won&apos;t work for applets that use plasma_add_applet

It&apos;s also entirely unnecessary since we can and should just pass the applet id to createApplet
(cherry picked from commit e5da9bfef1048a4acb93c135382490dcb1b756be)

M  +1    -12   components/shellprivate/widgetexplorer.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/b3bd31b9f8e7d3b06dc64e010eff34fc5286da07</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468861</commentid>
    <comment_count>6</comment_count>
    <who name="Anders Holmquist">anders_kde</who>
    <bug_when>2025-11-08 09:07:52 +0000</bug_when>
    <thetext>Can confirm fixed for my repro in 6.5.2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>