Bug 146776 - Right-clicking on an inactive (but selected) sheet when all sheets are selected, clears the selection
Summary: Right-clicking on an inactive (but selected) sheet when all sheets are select...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sheet-Tabs-Bar
  Show dependency treegraph
 
Reported: 2022-01-15 09:30 UTC by Mike Kaganski
Modified: 2024-03-11 04:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast of right-clicking an inactive sheet that deselects all other sheets (96.28 KB, image/gif)
2022-01-15 09:30 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2022-01-15 09:30:49 UTC
Created attachment 177559 [details]
Screencast of right-clicking an inactive sheet that deselects all other sheets

Create a Calc document.
Add several sheets.
Select all sheets by Ctrl+clicking on their tabs, or by left-clicking the first one, then Shift-clicking the last one.
Now right-click on any inactive sheet.

-> the clicked sheet activates, the multiple selection is removed, and the only selected sheet is now the newly active (right-clicked) one.

This is unexpected; e.g., it seemed natural for me, when I intended to apply the same color to all sheets, to Ctrl+click all of them, then right-click where I ended Ctrl+clicking.

Also this is inconsistent with the behavior when *not all* sheets are selected - then it behaves as intended.

Same in current master, and in OOo 3.2.0.
Comment 1 Buovjaga 2022-12-07 12:35:40 UTC
Repro

Arch Linux 64-bit
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: c2bcbd36d1913dc1d5ca4bb64fa30740f17bf326
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 7 December 2022