<?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>473013</bug_id>
          
          <creation_ts>2023-08-04 20:08:59 +0000</creation_ts>
          <short_desc>Cannot increase the volume of notification sounds after interacting with slider</short_desc>
          <delta_ts>2024-02-19 09:23:03 +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_pulseaudio</component>
          <version>master</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3805</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>qt6</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>guimarcalsilva</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>2212363803</cc>
    
    <cc>alex</cc>
    
    <cc>fanzhuyifan</cc>
    
    <cc>feus73</cc>
    
    <cc>me</cc>
    
    <cc>nate</cc>
    
    <cc>nowrep</cc>
    
    <cc>willyanto39</cc>
          
          <cf_commitlink>https://invent.kde.org/libraries/pulseaudio-qt/-/commit/021b91db3a5fa99f455ce12c83ce502fc5b4e5f4</cf_commitlink>
          <cf_versionfixedin>6.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2244534</commentid>
    <comment_count>0</comment_count>
    <who name="">guimarcalsilva</who>
    <bug_when>2023-08-04 20:08:59 +0000</bug_when>
    <thetext>SUMMARY
By default on the Audio KCM, it shows Notification Sounds are at 0% even if system sounds are still played. The sounds will play normally as long as you don&apos;t interact with the slider or click on the mute button, however, if you do, the volume will be set to 0 forever and cannot be changed again. The terminal says the following when running with kcmshell6:

qrc:/kcm/kcm_pulseaudio/StreamListItem.qml:90:17: QML MuteButton: Binding loop detected for property &quot;muted&quot;

STEPS TO REPRODUCE
1. Go to the audio KCM and mute or try to drag the slider of Notification Sounds under Playback Streams
2. Try to increase the volume again
3. Trigger some system sound, by changing volume in the widget or by not saving a file in Kate.

OBSERVED RESULT
Audio is muted and cannot be unmuted.

EXPECTED RESULT
The volume slider should work.

SOFTWARE/OS VERSIONS
KDE Plasma: 5.27.90
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-26-generic
Graphics Platform: X11

ADDITIONAL INFORMATION
Tested on a VM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2244698</commentid>
    <comment_count>1</comment_count>
    <who name="Paolo Zamponi">feus73</who>
    <bug_when>2023-08-05 20:05:01 +0000</bug_when>
    <thetext>Can confirm: it occours on my &quot;normal&quot; Neon Unstable as well. 

I found this workaround:
- install pavucontrol;
- toggle notificatins volume on from there. 

After that you&apos;ll be able to use this feature from KCM as aspected: notifications volume can be muted or unmuted, and the slider can now be dragged.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2245044</commentid>
    <comment_count>2</comment_count>
    <who name="">guimarcalsilva</who>
    <bug_when>2023-08-07 21:03:39 +0000</bug_when>
    <thetext>Hey Nate! I saw you changed the version from master to 5.27.7, however this bug is not present on 5.27.7 for me, only on Plasma 6. I don&apos;t know what Paolo meant with &quot;normal&quot; Neon Unstable, however, I&apos;m pretty sure the Unstable version is currently only based on Plasma 6.

I did what Paolo said with pavucontrol and indeed I could increase the volume, however, the Audio KCM on Plasma 6 is now stuck at 100%, which is completely different from Plasma 5.27 where it works normally.

I believe this to be exclusive to Plasma 6 and Qt6. On Plasma 5 it doesn&apos;t show the same &quot;Binding loop detected for property &quot;muted&quot;&quot; when running on the terminal, however, on Plasma 6 the error is present.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2245047</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-08-07 21:04:28 +0000</bug_when>
    <thetext>Oh ok.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2275212</commentid>
    <comment_count>4</comment_count>
    <who name="IFtiger">2212363803</who>
    <bug_when>2023-12-20 09:06:46 +0000</bug_when>
    <thetext>ye, im use opensuse tumbleweed and open unstable branch, Notification sounds always keep 0% and disabled。</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2282252</commentid>
    <comment_count>5</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-01-22 02:58:43 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/231</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2282511</commentid>
    <comment_count>6</comment_count>
    <who name="">fanzhuyifan</who>
    <bug_when>2024-01-23 03:44:07 +0000</bug_when>
    <thetext>For pipewire users this might be related to pipewire-pulse not supporting subscribing to stream restore changes yet: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3805</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2282714</commentid>
    <comment_count>7</comment_count>
    <who name="">fanzhuyifan</who>
    <bug_when>2024-01-23 21:14:32 +0000</bug_when>
    <thetext>Git commit 450439c776d53b022dc20fff6080b63aa4312386 by Yifan Zhu.
Committed on 22/01/2024 at 19:16.
Pushed by fanzhuyifan into branch &apos;master&apos;.

kcm: adjust to changes in VolumeSlider

Adjust StreamListItem to changes in
fec28d12c086a13038f6c40f10d3c25bb7517660.

Previously cannot interact with slider for playback streams.

M  +0    -6    src/kcm/ui/StreamListItem.qml

https://invent.kde.org/plasma/plasma-pa/-/commit/450439c776d53b022dc20fff6080b63aa4312386</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2282715</commentid>
    <comment_count>8</comment_count>
    <who name="">fanzhuyifan</who>
    <bug_when>2024-01-23 21:14:41 +0000</bug_when>
    <thetext>Git commit 881d852f3d6bc9a608897e85f103bdcca9080abe by Yifan Zhu.
Committed on 23/01/2024 at 18:51.
Pushed by fanzhuyifan into branch &apos;master&apos;.

streamrestore: workaround for notification volume

stream_restore_subscribe has not been implemented on pipewire yet.
Since streamrestore relies on the call back to update the volume slider
and mute button status, users are unable to interact with those.
This workaround uses the cached values instead.

Revert when fix is released for
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3805

M  +16   -2    src/streamrestore.cpp

https://invent.kde.org/plasma/plasma-pa/-/commit/881d852f3d6bc9a608897e85f103bdcca9080abe</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2282724</commentid>
    <comment_count>9</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-01-23 21:36:23 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/233</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2282725</commentid>
    <comment_count>10</comment_count>
    <who name="">fanzhuyifan</who>
    <bug_when>2024-01-23 21:37:31 +0000</bug_when>
    <thetext>Git commit 7f3412b429ef4820e700af685fae69758f84a642 by Yifan Zhu.
Committed on 23/01/2024 at 22:34.
Pushed by fanzhuyifan into branch &apos;Plasma/6.0&apos;.

kcm: adjust to changes in VolumeSlider

Adjust StreamListItem to changes in
fec28d12c086a13038f6c40f10d3c25bb7517660.

Previously cannot interact with slider for playback streams.
(cherry picked from commit 450439c776d53b022dc20fff6080b63aa4312386)

M  +0    -6    src/kcm/ui/StreamListItem.qml

https://invent.kde.org/plasma/plasma-pa/-/commit/7f3412b429ef4820e700af685fae69758f84a642</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2282726</commentid>
    <comment_count>11</comment_count>
    <who name="">fanzhuyifan</who>
    <bug_when>2024-01-23 21:37:40 +0000</bug_when>
    <thetext>Git commit b1b78c466906df37aafb5231cd62addea89cbf75 by Yifan Zhu.
Committed on 23/01/2024 at 22:34.
Pushed by fanzhuyifan into branch &apos;Plasma/6.0&apos;.

streamrestore: workaround for notification volume

stream_restore_subscribe has not been implemented on pipewire yet.
Since streamrestore relies on the call back to update the volume slider
and mute button status, users are unable to interact with those.
This workaround uses the cached values instead.

Revert when fix is released for
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3805
(cherry picked from commit 881d852f3d6bc9a608897e85f103bdcca9080abe)

M  +16   -2    src/streamrestore.cpp

https://invent.kde.org/plasma/plasma-pa/-/commit/b1b78c466906df37aafb5231cd62addea89cbf75</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2282777</commentid>
    <comment_count>12</comment_count>
    <who name="">fanzhuyifan</who>
    <bug_when>2024-01-24 02:06:57 +0000</bug_when>
    <thetext>*** Bug 451658 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2290105</commentid>
    <comment_count>13</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2024-02-19 09:23:03 +0000</bug_when>
    <thetext>Git commit 021b91db3a5fa99f455ce12c83ce502fc5b4e5f4 by Harald Sitter, on behalf of Yifan Zhu.
Committed on 19/02/2024 at 09:16.
Pushed by sitter into branch &apos;master&apos;.

streamrestore: workaround for notification volume

stream_restore_subscribe has not been implemented on pipewire yet.
Since streamrestore relies on the call back to update the volume slider
and mute button status, users are unable to interact with those.
This workaround uses the cached values instead.

Revert when fix is released for
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3805
(cherry picked from commit 881d852f3d6bc9a608897e85f103bdcca9080abe)

M  +16   -2    src/streamrestore.cpp

https://invent.kde.org/libraries/pulseaudio-qt/-/commit/021b91db3a5fa99f455ce12c83ce502fc5b4e5f4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>