<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Dbus fallback sink not updating and blocking further action"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99425">99425</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Dbus fallback sink not updating and blocking further action
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>getzze@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Using PulseAudio 9.0 on ArchLinux, more specifically on Gnome 3.22 with the
Laine extension (<a href="https://github.com/johnhoran/Laine">https://github.com/johnhoran/Laine</a>). This extensions controls
and monitors PulseAudio using DBus. It listens to the signal
FallbackSinkUpdated and can change the property using Set FallbackSink.

I have an integrated sound card (Asus P5K Pro) with a front entry for headphone
and mic.

Steps to reproduce:
1. Connect front headphone jack.
2. Set default sink to front headphone, using Laine or pavucontrol.
3. Disconnect headphone jack. 
4. Connect jack again. 

In pavucontrol, the fallback sunk is the front headphone again. In Laine, it
cannot find a fallback. When calling the Get property on the interface
org.PulseAudio.Core1 for FallbackSink, the answer is that there are no sinks,
so no fallback sunk either. PulseAudio bus is somehow broken. Further calls to
Set FallbackSink do not work either. The Fallback sink can be changed from
pavucontrol though. 

When the headphone is disconnected, the RemovedSink signal is emitted and the
org.PulseAudio.Core1.Device interface for the headphone is removed. Then the
fallback sink is destroyed, but no FallbackSinkUpdated or FallbackSinkUnset
signal is emitted. Furthermore, any further call to the FallbackSink property
is broken.
Using pavucontrol or pacmd to change the fallback works and repairs the bus. 

When the fallback device is disconnected, I would expect a FallbackSinkUpdated
signal to be emitted and the bus to continue working.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>