[Libreoffice-bugs] [Bug 127017] New: Copy-Paste doesn't work when Impress is not the focused instance
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Aug 18 21:30:51 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=127017
Bug ID: 127017
Summary: Copy-Paste doesn't work when Impress is not the
focused instance
Product: LibreOffice
Version: 6.3.0.4 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: sdk
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: hi-angel at yandex.ru
Created attachment 153492
--> https://bugs.documentfoundation.org/attachment.cgi?id=153492&action=edit
Script to get instances of LO Impress and LO Calc, then copy a slide in LO
Impress
As the title says. The bug seems to be only triggered when more than one
instance of LO is involved.
# Steps to reproduce
1. Run `soffice --impress
--accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager"`, and
dismiss "Select a Template" window.
2. Press menu `File → New → Spreadsheet`, so an LO Calc window appears.
3. (Important) focus LO Calc, and for further steps do not give focus to LO
Impress anymore (you can unfocus localc, just make sure it was the last focused
LO instance).
4. Run the attached script as `python test.py`
## Expected
Script successfully exits, and you can see a slide in LO Impress got copied.
## Actual
Script exits with IndexOutOfBoundsException, because the slide wasn't
successfully copied.
# Additional information
You can make it work by making sure the last focused LO instance was the LO
Impress.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190818/c7e9bbd4/attachment.html>
More information about the Libreoffice-bugs
mailing list