<?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>503934</bug_id>
          
          <creation_ts>2025-05-08 16:51:15 +0000</creation_ts>
          <short_desc>Hotspot icon shows active when wifi antenna is disabled, whether there&apos;s an active network or not</short_desc>
          <delta_ts>2025-06-05 13:30:19 +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>Networks widget</component>
          <version>6.3.90</version>
          <rep_platform>Solus</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></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="TraceyC">kdedev</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-nm/-/commit/032b7dc86092ebbc9b17e8e3a563437cf76376e9</cf_commitlink>
          <cf_versionfixedin>6.5.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2422209</commentid>
    <comment_count>0</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2025-05-08 16:51:15 +0000</bug_when>
    <thetext>SUMMARY
If a wired network connection is active and WiFi is disabled, the hotspot icon still shows as active. Attempting to create a hotspot fails with an error.

STEPS TO REPRODUCE
1. On a device with both a wired and wifi network connection available, connect to the wired one
2. Toggle the WiFi switch to off
3. Click on the network applet and click Hotspot

ALSO
1. On a device with only a wifi connection available, toggle the WiFi switch to off 
2. Click on the network applet and click Hotspot

OBSERVED RESULT
Clicking on the hotspot icon produces a popup error in both cases
&quot;Failed to create hotspot tracey-hotspot
Error - Connection &apos;tracey-hotspot&apos; is not available on device wlp0s20f3 because device is not available&quot;

EXPECTED RESULT
If it&apos;s not possible to create a hotspot due to not having any network connectivity or no free wireless adapter, the icon is inactive

SOFTWARE/OS VERSIONS
Operating System: Solus 4.7
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Kernel Version: 6.14.4-318.current (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor 1: Intel® UHD Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2428317</commentid>
    <comment_count>1</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-05-28 12:44:03 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/431</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2430477</commentid>
    <comment_count>2</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2025-06-05 08:12:39 +0000</bug_when>
    <thetext>Git commit 032b7dc86092ebbc9b17e8e3a563437cf76376e9 by Niccolò Venerandi.
Committed on 05/06/2025 at 08:12.
Pushed by niccolove into branch &apos;master&apos;.

Show hotspot as unsupported when wifi is disabled

Trying to activate hotspot after disabling wifi will generate
an error; we then show it as unsupported when the toggle
is disabled.

This also disables hotspot on boot when there was no previous
hotspot configured, and when wi-fi is disabled.

M  +3    -1    applet/contents/ui/Toolbar.qml
M  +18   -3    libs/handler.cpp
M  +1    -0    libs/handler.h

https://invent.kde.org/plasma/plasma-nm/-/commit/032b7dc86092ebbc9b17e8e3a563437cf76376e9</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>