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

            Bug ID: 148986
           Summary: Support the "XF86Forward" and "XF86Back" presenter
                    mouse / remote clicker shortcuts to move between
                    slides in presentation mode
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: nekoh...@gmail.com

I have two clickers, one is a Targus PAUM30, the other is a Microsoft "Wireless
Notebook Presenter Mouse 8000" (model 1065). The Microsoft one feels much nicer
to use, but its shortcuts are not properly handled by LibreOffice Impress.

According to the `xev` command, as tested under Xorg with Fedora 35, when
pressing the previous/next buttons on a Microsoft presenter mouse 8000, it
emits:

```
    KeyPress event, serial 40, synthetic NO, window 0x5200001,
        root 0x31f, subw 0x0, time 527729954, (68,276), root:(662,604),
        state 0x10, keycode 166 (keysym 0x1008ff26, XF86Back), same_screen YES,
        XLookupString gives 0 bytes: 
        XmbLookupString gives 0 bytes: 
        XFilterEvent returns: False

    KeyPress event, serial 37, synthetic NO, window 0x5200001,
        root 0x31f, subw 0x0, time 527722534, (68,276), root:(662,604),
        state 0x10, keycode 167 (keysym 0x1008ff27, XF86Forward), same_screen
YES,
        XLookupString gives 0 bytes: 
        XmbLookupString gives 0 bytes: 
        XFilterEvent returns: False
```

...but LibreOffice Impress doesn't understand those shortcuts, and thus doesn't
go from one slide to another in presenter mode.
In comparison, the Targus PAUM30 clicker / presenter remote, whose button
presses LibreOffice Impress understands, emits these:

```
    KeyRelease event, serial 38, synthetic NO, window 0x5200001,
        root 0x31f, subw 0x5200002, time 528029747, (35,52), root:(629,380),
        state 0x10, keycode 117 (keysym 0xff56, Next), same_screen YES,
        XLookupString gives 0 bytes: 
        XFilterEvent returns: False

    KeyPress event, serial 38, synthetic NO, window 0x5200001,
        root 0x31f, subw 0x5200002, time 528031339, (35,52), root:(629,380),
        state 0x10, keycode 112 (keysym 0xff55, Prior), same_screen YES,
        XLookupString gives 0 bytes: 
        XmbLookupString gives 0 bytes: 
        XFilterEvent returns: False
```

So my request is for LibreOffice to support the "XF86Forward" and "XF86Back"
shortcuts just as well as the "Next" and "Prior" shortcuts to move between
slide in presentation mode (or even in editing mode, possibly).


P.s.:

* Both devices also have play/pause / screen switching shortcuts, but I was not
able to clearly determine what they are using xev
* I used the xev command to test simply because I don't know what the Wayland
equivalent would be...?

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

Reply via email to