Bug 162498 - RENAMING TABS - Problem selecting tabs when renaming in Calc
Summary: RENAMING TABS - Problem selecting tabs when renaming in Calc
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sheet-Tabs-Bar
  Show dependency treegraph
 
Reported: 2024-08-17 09:25 UTC by marc2.bleriot2@gmail.com
Modified: 2024-09-18 12:34 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
GIF animation - made in 3.3.0.4 and 24.2.5.2 (514.00 KB, image/gif)
2024-08-22 14:41 UTC, nutka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marc2.bleriot2@gmail.com 2024-08-17 09:25:15 UTC
Description:
When a tab in Calc is partially displayed and you right-click to choose to rename it, very often the program chooses the next tab to rename. To help you understand, I've posted this very short video (https://www.youtube.com/watch?v=J801B2hYy1M) which shows that it works once, and not the next time.

Steps to Reproduce:
1.Open a Calc document with so much tabs that's some of them are masked by the window
2.Right-click on a tab partially masked
3.Choose Rename, the application often selects the tab following the one clicked
4.If I'm not clear, this very short vidéo, you'll see it works one time, and the bug after (https://www.youtube.com/watch?v=J801B2hYy1M)

Actual Results:
LibreOffice ask me to rename the following tab in Calc. The problem disappears in safe mode. 

Expected Results:
Rename the tab I choose in Calc.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 4; OS: macOS 13.6.9; UI render: Skia/Raster; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 1 ady 2024-08-17 14:10:23 UTC
Simple solution: first select the desired tab, then change the name.

The (very minor) problem only happens when the worksheet tab to be renamed is the very last seen on screen (but not the very last on the row of worksheet tabs). By selecting the tab first, the list (row) of tabs moves over, so the selected tab is no longer the very last of the viewable tabs on screen. Then you can perform any action on that worksheet tab.
Comment 2 Galuxttor 2024-08-19 18:53:28 UTC
The problem isn't limited to rename:

the bug is that the next _completely hidden_ tab is *selected* (instead the one you right clicked on) and *any action* is performed on it (rename tab | delete tab | ...)
and the tab name is hidden/partially hidden by the popup window.


Additional info:

Version: 24.2.5.2 (x86) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: threaded
Comment 3 ady 2024-08-20 12:40:44 UTC
(In reply to Galuxttor from comment #2)
> The problem isn't limited to rename:

The simple workaround suggested in comment 1 is still applicable. Instead of directly right-clicking on the specific last-seen-on-screen tab (which is the only tab that has the problem) while there is a different active tab, the suggestion is to first click on the specific tab in order to make that specific (last-seen on screen) worksheet tab the active one, and only then perform any action you want, whether by context menu or otherwise.

IOW, the workaround is extremely simple, and the glitch is very minor.
Comment 4 Heiko Tietze 2024-08-21 06:39:08 UTC
I wonder why left-click is different from right-click and we should at least investigate the issue and see if it's easy to fix.
Comment 5 nutka 2024-08-21 18:52:14 UTC
Issue inherited from OOo.

The same thing happens in the Basic IDE (the Module/Dialog tab bar).
Comment 6 nutka 2024-08-22 14:38:55 UTC
OTOH it works correctly in Draw - the Layers bar.
Comment 7 nutka 2024-08-22 14:41:14 UTC
Created attachment 195962 [details]
GIF animation - made in 3.3.0.4 and 24.2.5.2