Bug 148450 - Improve UI for "Jump to Specific Page" in Print Preview
Summary: Improve UI for "Jump to Specific Page" in Print Preview
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print-Preview
  Show dependency treegraph
 
Reported: 2022-04-07 15:28 UTC by sdc.blanco
Modified: 2024-04-11 09:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
multipage document for testing (11.77 KB, application/vnd.oasis.opendocument.text)
2022-04-07 15:28 UTC, sdc.blanco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2022-04-07 15:28:05 UTC
Created attachment 179380 [details]
multipage document for testing

The command "Jump to Specific Page" is not documented in online Help.

What is the expected operation of this command?

Actual:    Enter number, then press Enter to get desired page
Expected:  Enter number, automatically goes to desired page
           (or Enter number, then click on canvas, or anywhere outside
               of this box, which would work better if multidigit page numbers 
               are involved.)

Try yourself. 7-page document attached for testing or use your own multipage document.

1. File > Print Preview
2. "Jump to Specific Page" is the empty box between the left and right arrows.

Can write the documentation, but want to be sure what is the expected behavior.
Comment 1 Heiko Tietze 2022-04-08 09:44:40 UTC
According to https://gerrit.libreoffice.org/c/core/+/19335/ "This patch is not completed." However, it is available on the Notebookbars and for me I type a page number and have to press enter to execute. That's a typical pattern similar to the GoTo dialog (ctrl+G). 

The control has no clue what it is good for, how it works, and does not look like an input control. My take for improvement: make it a spinbox and let up/down jump directly while typing a number should still require return to be pressed.
Comment 2 Gülşah Köse 2022-04-08 11:41:05 UTC
Hello, When i added this control to LibreOffice there was no way to navigate between pages except arrow controls or mouse scroll on preview mode. When  we have multi page documents eg 100+ it was difficult to navigate. So the actual behaviour "Enter number, then press Enter to get desired page" was the planned.

If I remember true "Go to page" dialog is added to LibreOffice later than this feature. I checked, it didn't work on preview mode. This control still useful. If I miss something please let me know.

If you want to some improvements on this control, it would be nice to have a ticket for this.
Thanks
Comment 3 sdc.blanco 2022-04-08 14:53:29 UTC
(In reply to Gülşah Köse from comment #2)

Thanks for your quick and detailed reply.

> it would be nice to have a ticket for this.
Maybe this can become the ticket?

Comment 2 suggests: 

  - make it a spinbox (btw, this is also what mockup shows in bug 80657)
  - let up/down jump directly 
  - typing a number should still require return to be pressed.

And I would add:
   - include a tooltip over spinbox
   - consider allowing "mouse click" anywhere outside spinbox to 
     be accepted as "return" 
     (Reason: speeds up workflow. Mouse is probably used, or needed to enter 
      spinbox, so one hand is already on the mouse. The other hand enters the
      number, then click anywhere, because the mouse is already in hand. 
      Do not need to move hand from mouse or number keys to Enter.)

@Heiko?

Have changed summary, but cannot confirm my own ticket.
Comment 4 Heiko Tietze 2022-04-11 08:19:52 UTC
(In reply to sdc.blanco from comment #3)
>    - consider allowing "mouse click" anywhere outside spinbox to 
>      be accepted as "return" 
>      (Reason: speeds up workflow. Mouse is probably used, or needed to enter 
>       spinbox, so one hand is already on the mouse. The other hand enters the
>       number, then click anywhere, because the mouse is already in hand. 
>       Do not need to move hand from mouse or number keys to Enter.)

Would rather cancel on leave (w/o confirmation per enter) and revert to the actual page. Otherwise the only way to cancel input would be pressing escape.

Everything else +1
Comment 5 QA Administrators 2024-04-11 03:13:28 UTC Comment hidden (obsolete)
Comment 6 sdc.blanco 2024-04-11 09:06:25 UTC
No changes in "Jump to Specific Page" in Print Preview, relative to OP.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 42f6e89d5e6458966de452af2978f206115394af
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL threaded