<?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>332931</bug_id>
          
          <creation_ts>2014-04-01 22:35:00 +0000</creation_ts>
          <short_desc>KWallet API still tries to invoke kwalletd when user disabled kde wallet in system settings</short_desc>
          <delta_ts>2015-11-28 18:22:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>kwallet</component>
          <version>unspecified</version>
          <rep_platform>unspecified</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>---</target_milestone>
          
          <blocked>234440</blocked>
    
    <blocked>322964</blocked>
    
    <blocked>327086</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Valentin Rusu">valir</reporter>
          <assigned_to name="Valentin Rusu">valir</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1439095</commentid>
    <comment_count>0</comment_count>
    <who name="Valentin Rusu">valir</who>
    <bug_when>2014-04-01 22:35:00 +0000</bug_when>
    <thetext>The system settings KCM for KWallet offer users a check-box labeled &quot;Enable the KDE wallet subsystem&quot;. While that check-box is correctly modifying kwalletrc, the KWallet API (kwallet.h) seems to incorrectly handle the case where the user disabled this subsystem.

Expected behavior: the openWallet (mainly) and the other methods of the KWallet class should gracefully fail when the KDE wallet subsystem is not enabled.

Actual situation: only a warning is issued, visible only when built in DEBUG mode and only in the console output of the KWallet API client application. Further inspection shows that all the API go ahead and call the dbus service. But kwalletd itself quits if it founds the disable flag upon launch, leading to an unpredictable results situation.

Reproducible: Always





BUG 328178 provide a link to this forum thread:
https://www.kubuntuforums.net/showthread.php?63690-Kwallet-problems-keep-me-out-of-Kmail

That forum thread show that this can be quite annoying for our users.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1560185</commentid>
    <comment_count>1</comment_count>
    <who name="Valentin Rusu">valir</who>
    <bug_when>2015-11-28 16:17:08 +0000</bug_when>
    <thetext>This will make kwalletd exit when user deactivates the wallet:
http://commits.kde.org/kwallet/3e437fdc743f8855bd047afb780059d68580776e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1560201</commentid>
    <comment_count>2</comment_count>
    <who name="Valentin Rusu">valir</who>
    <bug_when>2015-11-28 18:22:54 +0000</bug_when>
    <thetext>See commit: e2b3c919e699ec</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>