Bug 168957 - Sidebar expansion and closure issue
Summary: Sidebar expansion and closure issue
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-19 18:16 UTC by Danat
Modified: 2025-11-03 11:45 UTC (History)
16 users (show)

See Also:
Crash report or crash signature:


Attachments
File in the video (14.86 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-10-19 18:16 UTC, Danat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danat 2025-10-19 18:16:15 UTC
Description:
Sidebar expansion and closure take you to wrong places

https://drive.google.com/file/d/1TOH5Ern842gmJxsgMUp7jKWNP7Hcs-UP/view?usp=sharing

Steps to Reproduce:
1.Make a document with many pages
2.Set multi-page view
3.Expand and close sidebar

Actual Results:
Takes you to wrong page

Expected Results:
Not taking long trips up or down


Reproducible: Always


User Profile Reset: No

Additional Info:
In the video. Please watch it
Comment 1 Danat 2025-10-19 18:16:34 UTC
Created attachment 203441 [details]
File in the video
Comment 2 BogdanB 2025-10-19 18:52:36 UTC
I tested with this, if I have 100 pages and I am in the last page, is not going to the last page, but somehow near there. 

Maybe it is not perfect, but we dont know the logic behind. It's very hard to have the cursor on page 1, you look at page 1-12 on a single screen. Where should go the view when you can fit one page? To page 1 or 2 or... 12?... It's hard to be so precise on this scenario. Imagine that you are a developer. Tell me the right number in my scenario: I expect a single number: so, on my screen I can fit 12 pages, the right page to show is... what number?... and what is the logic behind?...
Comment 3 Danat 2025-10-19 19:05:58 UTC
(In reply to BogdanB from comment #2)
> I tested with this, if I have 100 pages and I am in the last page, is not
> going to the last page, but somehow near there. 
> 
> Maybe it is not perfect, but we dont know the logic behind. It's very hard
> to have the cursor on page 1, you look at page 1-12 on a single screen.
> Where should go the view when you can fit one page? To page 1 or 2 or...
> 12?... It's hard to be so precise on this scenario. Imagine that you are a
> developer. Tell me the right number in my scenario: I expect a single
> number: so, on my screen I can fit 12 pages, the right page to show is...
> what number?... and what is the logic behind?...

I understand that it can be challenging, but there is surely something to work on. May others see it and maybe they'll be able to improve it

I'm not going to lie, right now it's hurting my eyes quite a bit. Not very convenient
Comment 4 Danat 2025-10-19 20:13:26 UTC
(In reply to BogdanB from comment #2)
> I tested with this, if I have 100 pages and I am in the last page, is not
> going to the last page, but somehow near there. 
> 
> Maybe it is not perfect, but we dont know the logic behind. It's very hard
> to have the cursor on page 1, you look at page 1-12 on a single screen.
> Where should go the view when you can fit one page? To page 1 or 2 or...
> 12?... It's hard to be so precise on this scenario. Imagine that you are a
> developer. Tell me the right number in my scenario: I expect a single
> number: so, on my screen I can fit 12 pages, the right page to show is...
> what number?... and what is the logic behind?...

I wouldn't solve this problem mathematically. I'd use the screen instead. Detect the page the user is looking at and stay there