Bug 126582 - [UI][REGRESSION] Slide preview is not updated when changing text from a script
Summary: [UI][REGRESSION] Slide preview is not updated when changing text from a script
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL: https://youtu.be/z6XbCsAspAI
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2019-07-29 00:00 UTC by Konstantin Kharlamov
Modified: 2023-09-11 12:49 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
duplicates 2 slides, and titles them (1.22 KB, text/x-python)
2019-07-29 00:00 UTC, Konstantin Kharlamov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kharlamov 2019-07-29 00:00:50 UTC
Created attachment 153018 [details]
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
Comment 1 Xisco Faulí 2019-08-19 08:00:55 UTC
I can't reproduce it in

Version: 6.4.0.0.alpha0+
Build ID: cbe9601e5972ec1c466311e0b148a9fbe8cda4d1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 2 Xisco Faulí 2019-08-19 08:01:28 UTC
(In reply to Konstantin Kharlamov from comment #0)
> 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

I can't reproduce it with that version either...

Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 3 Konstantin Kharlamov 2019-08-19 19:54:17 UTC
(In reply to Xisco Faulí from comment #2)
> (In reply to Konstantin Kharlamov from comment #0)
> > 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
>
> I can't reproduce it with that version either...
>
> Could you please try to reproduce it with a master build from
> http://dev-builds.libreoffice.org/daily/master/ ?
> You can install it alongside the standard version.
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the bug is still present in the master build

Thanks for testing. The builds linked doesn't have package for my distro (Archlinux). I wonder though, does it matter if I build myself master or test the one from there?

Either way, yesterday I updated my system, and my libreoffice is up to 6.3.0.4 version. It seems, 6.3.0.4 is the most recent version where I can see this. If downgrade to 6.2.5.2 that I still has in package caches, I can't reproduce this, so appears in between 6.2.5.2 and 6.3.0.4.

In case you think I might have screwed up master build, the 6.3.0.4 version is built by my distro, not by me.

Screencast for the bug: https://youtu.be/z6XbCsAspAI
Comment 4 QA Administrators 2019-09-02 09:38:30 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2020-04-18 14:53:05 UTC
With step 3, I get

Traceback (most recent call last):
  File "/home/user/libobugs/test.py", line 24, in <module>
    (model, smgr) = connectToLO()
  File "/home/user/libobugs/test.py", line 15, in connectToLO
    desktop = smgr.createInstanceWithContext( "com.sun.star.frame.Desktop",ctx)
__main__.RuntimeException: Binary URP bridge disposed during call

Arch Linux 64-bit
Version: 7.0.0.0.alpha0+
Build ID: b267650fd097f16d1b31c87a11a497294ad4ee42
CPU threads: 8; OS: Linux 5.6; UI render: default; VCL: kf5; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 15 April 2020
Comment 6 Jean-Baptiste Faure 2022-04-05 13:09:17 UTC
Hi Constantin,

(In reply to Buovjaga from comment #5)
> With step 3, I get
> 
> Traceback (most recent call last):
>   File "/home/user/libobugs/test.py", line 24, in <module>
>     (model, smgr) = connectToLO()
>   File "/home/user/libobugs/test.py", line 15, in connectToLO
>     desktop = smgr.createInstanceWithContext(
> "com.sun.star.frame.Desktop",ctx)
> __main__.RuntimeException: Binary URP bridge disposed during call
> 

Same problem for me with Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: be7d84a3fbd47bf9a078ac7e6854bc4927e84933
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Ubuntu_20.04_x86-64
Calc: threaded

Best regards.
JBF
Comment 7 Xisco Faulí 2023-09-11 12:41:23 UTC
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 8 Konstantin Kharlamov 2023-09-11 12:48:32 UTC
(In reply to Xisco Faulí from comment #7)
> Could you please try to reproduce it with the latest version of LibreOffice
> from https://www.libreoffice.org/download/libreoffice-fresh/ ?
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the bug is still present in the latest version.

Seems fixed in 7.6.0, thanks! Closing