Bug 145365 - Calc UI scrolls sheet tabs after renaming a tab
Summary: Calc UI scrolls sheet tabs after renaming a tab
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sheet-Tabs-Bar
  Show dependency treegraph
 
Reported: 2021-10-28 18:20 UTC by sarpism
Modified: 2023-05-25 04:57 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sarpism 2021-10-28 18:20:23 UTC
Description:
I create a bunch of empty tabs, and start renaming them to the appropriate names. So I scroll the first unnamed one to the left, so I can see which names I've done as I work across the page and through the tabs. I hope.

But when I rename one, Calc scrolls my view so that the newly renamed tab is all the way to the right, and I can't see the next one needing renaming.

It's possible this is regarded as desired behavior for some. For me there are two problems. The first is that it moves something I'm working on, without my permission or command, and requires me to quit working and scroll my work back to where I put it. I have scroll bars to move the tabs with. There's no need for the software to move them in this situation.

The second is that not only does it move my work, it actively hides it from me, in a way that I can't really picture a use for. It would be one thing if this were an incomplete feature, but this behavior seems intentional.

Is it possible there's an option to turn this behavior off that I haven't found?

Steps to Reproduce:
1. Create enough new tabs to overflow the tab bar.
2. Rename enough tabs to overflow tab bar
3. Scroll the first default-named tab to the left
4. Select and rename the first default-named tab

Actual Results:
After step 4, the renamed tab moves all the way to the right, if there are enough tabs before it, and the next tab after it is scrolled partially or completely off the screen. Tabs renamed in the middle of the screen seem to move around more or less at random, sometimes depending on the length of the previous name.

Expected Results:
After step 4, the tabs stay scrolled where I left them, unless there is some other reason to move them. But even if my new name is too long to display, I'd still expect the tabs to remain where I had left them.

i.e. if the newly renamed tab is in the visible portion of the tab bar, don't scroll the tabs at all. If the new name is too long for the visible portion, I'd still prefer that the beginning stay visible (i.e. no scrolling) than scrolling to the end of the name, or to the next tab.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.2.0.4 (x64) / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 Michael Warner 2021-10-29 13:59:40 UTC
I am not able to reproduce this. When I rename the tabs, they remain in the same place. No scrolling occurs. 

I am using:

Version: 7.2.2.2 / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Michael Warner 2021-10-29 16:07:51 UTC
It wasn't a problem in 7.2.2.2 on Linux, but when I use 7.2.0.4 on Windows, I am able to reproduce this sheet tab scrolling behavior.

Version: 7.2.0.4 (x64) / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 6; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 3 Michael Warner 2021-10-29 16:21:37 UTC
Still happening in 7.2.2.2 on Windows :-(

Version: 7.2.2.2 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 6; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded