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@lists.freedesktop.org
          Reporter: hi-an...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to