https://bugs.documentfoundation.org/show_bug.cgi?id=146135

            Bug ID: 146135
           Summary: Impress Slide Number not processed by Impress if sent
                    from Python keyboard
           Product: LibreOffice
           Version: 7.2.2.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Cannot remotely change the slide number on a random access basis by sending the
slide no and and enter key from a Python script.

Tested on Win10x64, targetting Rpi4 when working.

Steps to Reproduce:
Try this Python snippet:

import keyboard

page = 30
keyboard.write( str(page), 0.1, True, None)
time.sleep(0.1)
keyboard.send('enter')

Save this file, and debug/run it.

Actual Results:
Slide increments by one.

Presumably the Enter key is processed?

Expected Results:
If you hand type '30<enter>' then Impress jumps to show slide 30.

Therefore, if you mimic the keyboard using this script to automate typing for
you, when Impress is in focus, I expected the slide to jump to 30.

The script works on Win10x64 when pointed at Notepad, so it's something in the
receiving app.


Reproducible: Always


User Profile Reset: No



Additional Info:
It should have jumped to 30.

Perhaps it's a misunderstanding my side on how this is supposed to be
controlled?

(Opening a network listener with a simple API in Impress would be a better
solution.  Perhaps that's in the pipeline?)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to