<?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>345651</bug_id>
          
          <creation_ts>2015-03-29 12:27:40 +0000</creation_ts>
          <short_desc>Notification volume gets raised to 100% on login</short_desc>
          <delta_ts>2018-02-17 22:01:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>phonon-backend-vlc</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UPSTREAM</resolution>
          
          <see_also>http://bugzilla.opensuse.org/show_bug.cgi?id=922401</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>0.8</target_milestone>
          
          <blocked>390394</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Wolfgang Bauer">wbauer1</reporter>
          <assigned_to name="Harald Sitter">sitter</assigned_to>
          <cc>arthur</cc>
    
    <cc>auxsvr</cc>
    
    <cc>bcooksley</cc>
    
    <cc>bugs</cc>
    
    <cc>bugzilla</cc>
    
    <cc>fabo</cc>
    
    <cc>illumilore</cc>
    
    <cc>jb</cc>
    
    <cc>ks.hot.ua</cc>
    
    <cc>leonard</cc>
    
    <cc>myriam</cc>
    
    <cc>peter.rebenwald</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>80</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1507983</commentid>
    <comment_count>0</comment_count>
    <who name="Wolfgang Bauer">wbauer1</who>
    <bug_when>2015-03-29 12:27:40 +0000</bug_when>
    <thetext>When using the phonon-backend-vlc with PulseAudio, the notication volume gets always reset to 100% at login.
So the next notification sound will be played at 100% volume, which also raises the overall volume to 100% (with the default flat-volume=true).

Also, testing the notification sound in the KCM shows the same behaviour, it always plays the sound at 100% and raises the overall volume.

Reproducible: Always

Steps to Reproduce:
1. set the volume to a sane value in KMix
2. logout and login again
3. wait for a notification sound to play or force one to be played (easy way to reproduce: enable a login sound)

Actual Results:  
Notification gets played at 100% volume, the overall volume gets raised to 100% as well.

Expected Results:  
Notification should be played at a sane volume, the same one as before.

The same problem exists in KDE4 and Plasma5. I&apos;m using Phonon 4.8.1 in KDE4 (4.8.3 in Plasma5) and phonon-backend-vlc 0.8.2.

Not sure if that&apos;s related, but without PulseAudio the notication volume control doesn&apos;t work at all and notification sounds always play back at 100% (in this case it&apos;s less of a problem though as it doesn&apos;t change the overall volume)

This still happens with the fix for bug#324975.
A workaround for KDE4 is to _enable_ the volume control though (only necessary in 15.04 of course), and set a lower volume in systemsettings-&gt;Application and System Notifications-&gt;Playback Settings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525070</commentid>
    <comment_count>1</comment_count>
    <who name="">auxsvr</who>
    <bug_when>2015-06-09 14:13:21 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525084</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2015-06-09 15:51:46 +0000</bug_when>
    <thetext>vlc 2.2?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525114</commentid>
    <comment_count>3</comment_count>
    <who name="">auxsvr</who>
    <bug_when>2015-06-09 18:22:34 +0000</bug_when>
    <thetext>Yes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525131</commentid>
    <comment_count>4</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2015-06-09 20:24:56 +0000</bug_when>
    <thetext>http://quickgit.kde.org/?p=phonon-vlc.git&amp;a=commit&amp;h=19e71f5973026e358f75a9adf253905a7efb664c

since phonon-vlc cannot set the stream category to notifications or find out which stream it is supposed to control vlc is able to entirely bypass phonon. nothing we can do about that unfortunately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1575609</commentid>
    <comment_count>5</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2016-02-08 13:25:47 +0000</bug_when>
    <thetext>*** Bug 359056 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1575611</commentid>
    <comment_count>6</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2016-02-08 13:29:49 +0000</bug_when>
    <thetext>*** Bug 352538 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1579228</commentid>
    <comment_count>7</comment_count>
    <who name="Janet">bugzilla</who>
    <bug_when>2016-02-27 15:15:13 +0000</bug_when>
    <thetext>The easy solution for the user is to dump phonon-backend-vlc and use phonon-backend-gstreamer instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1579571</commentid>
    <comment_count>8</comment_count>
    <who name="Olan">bugs</who>
    <bug_when>2016-02-29 20:54:39 +0000</bug_when>
    <thetext>With phonon-backend-gstreamer I get no sound when I want to play in Amarok mp3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1579575</commentid>
    <comment_count>9</comment_count>
    <who name="Wolfgang Bauer">wbauer1</who>
    <bug_when>2016-02-29 22:05:39 +0000</bug_when>
    <thetext>(In reply to Olan from comment #8)
&gt; With phonon-backend-gstreamer I get no sound when I want to play in Amarok
&gt; mp3.

Then install an MP3 plugin for gstreamer, and/or fix your gstreamer installation.

Or stick to vlc and disable/uninstall PulseAudio. Setting &quot;flat-volumes=no&quot; in /etc/pulse/daemon.conf should also improve things with PulseAudio, as it prevents Phonon to change the master volume.

In KDE4 you can also change the notification volume in systemsettings-&gt;Applications and System Notifications-&gt;Manage Notifications-&gt;Playback Settings.

It should also work to change the notifications volume with the temporarily appearing application volume slider that appears in KMix while a notification is playing, I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1596061</commentid>
    <comment_count>10</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2016-05-22 08:34:12 +0000</bug_when>
    <thetext>*** Bug 363355 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1596329</commentid>
    <comment_count>11</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2016-05-24 07:29:52 +0000</bug_when>
    <thetext>*** Bug 363355 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1599890</commentid>
    <comment_count>12</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2016-06-08 13:47:37 +0000</bug_when>
    <thetext>Git commit 001c117c2aa543015140f83184d6fb06728a385f by Harald Sitter.
Committed on 08/06/2016 at 13:38.
Pushed by sitter into branch &apos;master&apos;.

implement glorious new version AO 10 interface

gives us a category which we can forward to libvlc in 3.0 to set the
pulse role. this resolves the long standing issue of not having
notifications be notifications on the PA side, thus having screwed up
volume.

M  +4    -1    src/CMakeLists.txt
M  +31   -0    src/audio/audiooutput.cpp
M  +3    -0    src/audio/audiooutput.h

http://commits.kde.org/phonon-vlc/001c117c2aa543015140f83184d6fb06728a385f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1680878</commentid>
    <comment_count>13</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2017-06-06 12:37:48 +0000</bug_when>
    <thetext>*** Bug 380857 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>