<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - "Selection" property is empty when selecting a slide in Slides pane"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=127009">127009</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"Selection" property is empty when selecting a slide in Slides pane
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.5.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>sdk
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>hi-angel@yandex.ru
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=153473" name="attach_153473" title="Connect to LO server, and print `CurrentComponent.CurrentSelection`">attachment 153473</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=153473&action=edit" title="Connect to LO server, and print `CurrentComponent.CurrentSelection`">[details]</a></span>
Connect to LO server, and print `CurrentComponent.CurrentSelection`

I need to programmatically focus a slide in Slides pane, so I could copy the
slide. However, it seems like selection of the slide does not influence the
Selection property.

# Steps to reproduce

1. Run `soffice --impress
--accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager"`, and
dismiss "Select a Template" window.
2. There should be a pane titled "Slides" on the left with a single slide.
Click it. (note, how Edit → Copy menu was grayed out before, and became
available afterwards, which means you succeeded in selecting the slide)
3. Execute attached `test.py` script, which prints the currently selected
object.

## Expected

Something different from `None`

## Actual

It prints:

    None


# Additional information

For background see also:
    <a href="https://ask.libreoffice.org/en/question/205218/uno-how-to-focus-a-slide/">https://ask.libreoffice.org/en/question/205218/uno-how-to-focus-a-slide/</a>
   
<a href="https://ask.libreoffice.org/en/question/204747/uno-copy-a-slide-between-2-impress-documents/">https://ask.libreoffice.org/en/question/204747/uno-copy-a-slide-between-2-impress-documents/</a></pre>
        </div>
      </p>


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

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