<?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>449385</bug_id>
          
          <creation_ts>2022-01-30 19:06:06 +0000</creation_ts>
          <short_desc>User changes can&apos;t be saved with accountsservice-22.04.62</short_desc>
          <delta_ts>2024-08-12 09:15:39 +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_users</component>
          <version>5.23.5</version>
          <rep_platform>Arch Linux</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>VHI</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Marc">marc_altmann</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>1831420956</cc>
    
    <cc>arojas</cc>
    
    <cc>brokencanoe</cc>
    
    <cc>Dr</cc>
    
    <cc>horen</cc>
    
    <cc>jheckman170</cc>
    
    <cc>locutusofborg64</cc>
    
    <cc>nate</cc>
    
    <cc>ramon.oliveiravj</cc>
    
    <cc>rapiteanu.catalin</cc>
    
    <cc>uhhadd</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/commit/2885bcfacbf49f8292b8567f0b710efc30b7e57d</cf_commitlink>
          <cf_versionfixedin>5.24</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2099630</commentid>
    <comment_count>0</comment_count>
    <who name="Marc">marc_altmann</who>
    <bug_when>2022-01-30 19:06:06 +0000</bug_when>
    <thetext>SUMMARY
I am trying to change my avatar or email address in systemsettings --&gt; users. For my avatar picture, I&apos;ve tried a picture from my phone (.jpg) and also the standard avatars that are available. When I click apply the message &quot;Could not get permission to save user xxx&quot;. I think this is the same message that appears, when I click cancel in the PolicyKit1 window, but the window doesn&apos;t open. When I try to change my sddm theme in systemsettings --&gt; Startup and Shutdown --&gt; Login Screen (SDDM) the PolicyKit1 window does show up and I can enter my password and everything just works fine.


STEPS TO REPRODUCE
1. Open systemsettings --&gt; users
2. Select different avatar or enter an email adrees
3. Click apply

OBSERVED RESULT
Error message &quot;Could not get permission to save user xxx&quot;.

EXPECTED RESULT
PolicyKit1 window opens, I insert my password, no error message and avatar or email are set.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Arch Linux; Kernel: 5.16.3-arch1-1 (64bit)
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I installed Arch freshly on this device where the bug happens so it never worked on this system (I already tried reinstalling all packages and I already reinstalled my system).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2099651</commentid>
    <comment_count>1</comment_count>
    <who name="Marc">marc_altmann</who>
    <bug_when>2022-01-30 19:53:01 +0000</bug_when>
    <thetext>I have another laptop with Arch and KDE installed (pretty much the same setup on the laptop that has the bug), but the system on this one is not freshly installed. I tried changing my avatar or email and it worked. Afterwards I updated my system (using pacman) and it doens&apos;t work anymore. So this bug seems to be in a current version of the systemsettings or it&apos;s dependencies.  (Unfortunately I didn&apos;t update this laptop very recently, because I just use it sometimes, so maybe this bug is a little bit older). I don&apos;t know how I can provide useful information for solving this problem, but I would like to help!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2099662</commentid>
    <comment_count>2</comment_count>
    <who name="Viorel-Cătălin Răpițeanu">rapiteanu.catalin</who>
    <bug_when>2022-01-30 21:03:04 +0000</bug_when>
    <thetext>I can confirm that I&apos;m also unable to change my user settings (like email) from the users kcm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2099755</commentid>
    <comment_count>3</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2022-01-31 12:03:49 +0000</bug_when>
    <thetext>*** Bug 449395 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2099757</commentid>
    <comment_count>4</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2022-01-31 12:05:29 +0000</bug_when>
    <thetext>Caused by the update to accountsservice 22.04.62</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2099769</commentid>
    <comment_count>5</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2022-01-31 13:16:25 +0000</bug_when>
    <thetext>Offending commit is https://gitlab.freedesktop.org/accountsservice/accountsservice/-/commit/d5847d8d012d4a2a659f890c210ad10031a9cf3d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2099875</commentid>
    <comment_count>6</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2022-01-31 18:59:03 +0000</bug_when>
    <thetext>*** Bug 449423 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100265</commentid>
    <comment_count>7</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2022-02-02 08:13:42 +0000</bug_when>
    <thetext>*** Bug 449484 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100398</commentid>
    <comment_count>8</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-02 16:57:54 +0000</bug_when>
    <thetext>Does anyone know if this is an upstream regression that&apos;s being fixed, or is the breakage expected/unrevertable and we have to adapt to it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100429</commentid>
    <comment_count>9</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2022-02-02 17:48:15 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #8)
&gt; Does anyone know if this is an upstream regression that&apos;s being fixed, or is
&gt; the breakage expected/unrevertable and we have to adapt to it?

This seems completely intentional: 
https://gitlab.freedesktop.org/accountsservice/accountsservice/-/merge_requests/46#note_378985</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100443</commentid>
    <comment_count>10</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-02 18:28:27 +0000</bug_when>
    <thetext>Darn. Guess we gotta fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100444</commentid>
    <comment_count>11</comment_count>
    <who name="John">jheckman170</who>
    <bug_when>2022-02-02 18:46:09 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #10)
&gt; Darn. Guess we gotta fix it.

Haha -- bro my bad i break it to often then i should be; just be happy your not as busy to fix my errors :D</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100788</commentid>
    <comment_count>12</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2022-02-03 19:39:33 +0000</bug_when>
    <thetext>*** Bug 449567 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100790</commentid>
    <comment_count>13</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-02-03 19:59:49 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1433</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100825</commentid>
    <comment_count>14</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-03 21:57:59 +0000</bug_when>
    <thetext>Git commit efddc639b7f1443e643787e841893a5700f07742 by Nate Graham, on behalf of Jan Blackquill.
Committed on 03/02/2022 at 21:39.
Pushed by ngraham into branch &apos;master&apos;.

kcms/users: set interactive auth flag

The accounts service requires this now.

M  +18   -7    kcms/users/src/user.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/efddc639b7f1443e643787e841893a5700f07742</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2100826</commentid>
    <comment_count>15</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-03 21:58:34 +0000</bug_when>
    <thetext>Git commit 2885bcfacbf49f8292b8567f0b710efc30b7e57d by Nate Graham, on behalf of Jan Blackquill.
Committed on 03/02/2022 at 21:58.
Pushed by ngraham into branch &apos;Plasma/5.24&apos;.

kcms/users: set interactive auth flag

The accounts service requires this now.


(cherry picked from commit efddc639b7f1443e643787e841893a5700f07742)

M  +18   -7    kcms/users/src/user.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/2885bcfacbf49f8292b8567f0b710efc30b7e57d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2102588</commentid>
    <comment_count>16</comment_count>
    <who name="Canoe">brokencanoe</who>
    <bug_when>2022-02-09 21:17:42 +0000</bug_when>
    <thetext>Just a quick confirmation that this issue still exists in ;

KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2102663</commentid>
    <comment_count>17</comment_count>
    <who name="horen@mac.com">horen</who>
    <bug_when>2022-02-10 01:37:46 +0000</bug_when>
    <thetext>I can confirm, the bug still exists in 
Plasma 5.24.0
Framework: 5.90.0
Qt Version 5.15.2

Only the error message changed: It now reports &quot;Something went wrong during saving !&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2102714</commentid>
    <comment_count>18</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2022-02-10 06:59:46 +0000</bug_when>
    <thetext>The bug is fixed as far as KDE is concerned. What you are seeing is a different, upstream issue. 
https://gitlab.freedesktop.org/accountsservice/accountsservice/-/issues/98</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104138</commentid>
    <comment_count>19</comment_count>
    <who name="locutusofborg">locutusofborg64</who>
    <bug_when>2022-02-13 15:22:42 +0000</bug_when>
    <thetext>This bug still exist. Would of thought the fix would of been released with the Plasma 5.24.0 update.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104139</commentid>
    <comment_count>20</comment_count>
    <who name="locutusofborg">locutusofborg64</who>
    <bug_when>2022-02-13 15:24:09 +0000</bug_when>
    <thetext>(In reply to horen@mac.com from comment #17)
&gt; I can confirm, the bug still exists in 
&gt; Plasma 5.24.0
&gt; Framework: 5.90.0
&gt; Qt Version 5.15.2
&gt; 
&gt; Only the error message changed: It now reports &quot;Something went wrong during
&gt; saving !&quot;

I can also comfirm this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104152</commentid>
    <comment_count>21</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2022-02-13 16:18:49 +0000</bug_when>
    <thetext>Please see comment 18(In reply to locutusofborg from comment #19)
&gt; This bug still exist. Would of thought the fix would of been released with
&gt; the Plasma 5.24.0 update.

Please see comment 18</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2106503</commentid>
    <comment_count>22</comment_count>
    <who name="Ray">ramon.oliveiravj</who>
    <bug_when>2022-02-19 23:55:02 +0000</bug_when>
    <thetext>(In reply to horen@mac.com from comment #17)
&gt; I can confirm, the bug still exists in 
&gt; Plasma 5.24.0
&gt; Framework: 5.90.0
&gt; Qt Version 5.15.2
&gt; 
&gt; Only the error message changed: It now reports &quot;Something went wrong during
&gt; saving !&quot;

The same goes for me on Arch linux.

Plasma 5.24.1
Framework: 5.91.0
Qt Version 5.15.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2106504</commentid>
    <comment_count>23</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2022-02-20 00:01:59 +0000</bug_when>
    <thetext>(In reply to Ray from comment #22)
&gt; The same goes for me on Arch linux.
&gt; 
&gt; Plasma 5.24.1
&gt; Framework: 5.91.0
&gt; Qt Version 5.15.2

For the third time: please see comment 18</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345011</commentid>
    <comment_count>24</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2024-08-12 09:15:39 +0000</bug_when>
    <thetext>Git commit 95d495164bfaee45dde7588aae7fa467b100a4d9 by David Edmundson, on behalf of ivan tkachenko.
Committed on 12/08/2024 at 09:15.
Pushed by davidedmundson into branch &apos;master&apos;.

kcms/users: Remove workaround for QTBUG-100458

The new API has been shipped in Qt 6.7.0

Effectively reverts 79113d99e44ace405bd9211e2c0f73659ff94c0f and
efddc639b7f1443e643787e841893a5700f07742
Related: bug 450122

M  +4    -11   kcms/users/src/kcm.cpp
M  +18   -25   kcms/users/src/user.cpp

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

    </bug>

</bugzilla>