<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 - [UI][REGRESSION] Slide preview is not updated when changing text from a script"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126582">126582</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[UI][REGRESSION] Slide preview is not updated when changing text from a script
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.0.0.alpha0+ Master
          </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>UNCONFIRMED
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>Impress
          </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=153018" name="attach_153018" title="duplicates 2 slides, and titles them">attachment 153018</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=153018&action=edit" title="duplicates 2 slides, and titles them">[details]</a></span>
duplicates 2 slides, and titles them

I occasionally stumbled upon it: the problem is not present on 6.2.5.2, but
exists on current master.

# Steps to reproduce

1. Run LO Impress as `soffice --impress
--accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager"`
2. Dismiss a "Template" window, so you're left with a new presentation of a
single slide
3. Run the attached python script (it creates 2 new slides and puts a text on
them)
4. Look at the text on previews.

## Expected

2nd slide has text '2ND SLIDE', and the 3rd one has '3RD SLIDE'

## Actual

2nd and 3rd slides both have text '2ND SLIDE' (note that this text does not
match the actual content of the 3rd slide).

# Additional information

Info for a version without the problem

    Version: 6.2.5.2
    Build ID: 6.2.5-1
    CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3;
    Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
    Calc: threaded

Info for a version where the problem is present:

    Version: 6.4.0.0.alpha0+
    Build ID: 236593a0544ea41e37d35b8fac83b31d0e7c5b67
    CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3;
    Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
    Calc: threaded</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>