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

            Bug ID: 160580
           Summary: "Wraparound" of next/previous sheet shortcut in Calc
           Product: LibreOffice
           Version: 24.2.1.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I’m a long-time Calc fan and user, and in a relatively recent update I’ve
noticed that the CTRL-PGUP/CTRL-PGDN shortcuts for switching sheets behave
differently.

Previously (as recently as 7.6.4.1), once on the very first or last sheet of a
workbook, using the shortcut CTRL-PGUP or CTRL-PGDN would stop.
This behaviour was:
* Consistent the GUI buttons for “Scroll to next/previous sheet”, which do
nothing once you are at the “end” of the strip.
* A convenient and long standing way to return to the start/end by holding the
keyboard shortcut - essentially a shortcut to “Scroll to last/first sheet”.

In a recent update, this keyboard shortcut now “wraps around”, so that the
selected sheet infinitely returns from the start to the other end.
This is inconsistent with the GUI, and breaks prior behaviour for no reason.

Is there any setting to revert this, or is it simply a bug that needs fixing?

Steps to Reproduce:
1. Create a Calc workbook with multiple sheets
2. Use the CTRL-PGDN (To next sheet) shortcut repeatedly to move to the last
sheet of the workbook
3. Once on the last sheet, press CTRL-PGDN again

Actual Results:
The first sheet of the the workbook is selected, unlike if you attempt to click
the gui button for "Scroll to next sheet".

Expected Results:
The "To next sheet" shortcut should not move focus if there is no next sheet to
move to.
The same applies to "To previous sheet"


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-NZ (en_NZ.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to