https://bugs.documentfoundation.org/show_bug.cgi?id=160461
Bug ID: 160461
Summary: Cannot change PageUp/PageDown keyboard shortcuts
Product: LibreOffice
Version: 7.6.5.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 193424
--> https://bugs.documentfoundation.org/attachment.cgi?id=193424&action=edit
Tools->Customize dialog
Version: 7.6.5.2 (X86_64) / LibreOffice Community
Build ID: 38d5f62f85355c192ef5f1dd47c5c0c0c6d6598b
CPU threads: 16; OS: Linux 5.10; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded
Hi,
I'd like to take advantage of the fix bug101211 and change the assignment of
the PgUp, PgDown, Shift+PgUp, Shift+PgDown shortcuts as follows:
PgUp -> .uno:GoToStartOfPrevPage (To Begin of Previous Page)
PgDown -> .uno:GoToStartOfNextPage (To Begin of Next Page)
Shift+PgUp -> .uno:GoToStartOfPrevPageSel (Select to Begin of Previous Page)
Shift+PgDown -> .uno:GoToStartOfNextPageSel (Select to Begin of Next Page)
The UI lets me do this as expected, see attached screenshot. The settings also
persist across restarting Writer.
However, when pressing PgUp/PgDown/etc., Writer still calls the default
functions (.uno:PageUp/PageDown/PageUpSel/PageDownSel), not my assigned
functions above.
This leads me to believe that the default functions
(.uno:PageUp/PageDown/PageUpSel/PageDownSel) are still in some way hard-wired
to the PgUp/PgDown keys. This hard-wiring should be removed, IMO.
(The tooltips in the "Function" listbox of Tools->Customize->Keyboard still
show PgUp/PgDown/etc. for the default functions. I think that's also a sign
that the keys are overridden only halfway.)
To reproduce:
- Start Writer with default keyboard shortcuts.
- Load any multi-page document.
- Assign the keys as written above.
- Set single-page display, View->Zoom->Entire Page.
- Scroll to begin of document (Ctrl+Home)
- Hit PgDown.
Observation:
Document scrolls forward by ca. 60% of the viewport height. Page break ends up
somewhere in the lower half of the viewport. This is the known behaviour of
.uno:PageDown.
Expected:
Document scrolls forward to the next page. Page break is at top edge of
viewport. This is the behaviour of .uno:GoToStartOfNextPage.
Regards,
Tyler
--
You are receiving this mail because:
You are the assignee for the bug.