Bug 155313 - Focusing into a cell and selecting text with the mouse brings about modified state for the spreadsheet
Summary: Focusing into a cell and selecting text with the mouse brings about modified ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ModifiedStatus
  Show dependency treegraph
 
Reported: 2023-05-15 09:01 UTC by Michael Bauer
Modified: 2023-05-20 21:28 UTC (History)
3 users (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 Michael Bauer 2023-05-15 09:01:39 UTC
Open a Calc spreadsheet. Go into a cell and copy some content, the click to another window and paste. Return to Calc and close the window, Calc will prompt you to save the document even though your only action was a copy. It should not prompt to save unless content was actually changed.
Comment 1 Buovjaga 2023-05-17 13:58:17 UTC
Not reproduced.

Do you mean you paste to another Calc document? If not, then explain it.

Please copy and paste here the contents of your Help - About (LibreOffice - About on macOS) by clicking the copy button. This allows us to know more about your system.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 85a47bbb8340e65a19dc1ceaac768902a771ee77
CPU threads: 8; OS: Linux 6.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 17 May 2023
Comment 2 Michael Bauer 2023-05-17 21:10:14 UTC
Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 6; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: gd-GB (gd_GB); UI: gd-GB
Calc: CL threaded

There is no need even to past it anywhere. Just double click in a cell, select content, the try to close LO and it will prompt.

The governing factor seem to be that you've not clicked outside the cell you've just selected i.e. if I clicked into cell A7 to select and then click into cell B2 (single click), I'm not prompted. But if I'm still in cell A7, then it prompts me to save even if I've not changed anything.
Comment 3 QA Administrators 2023-05-18 03:19:03 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2023-05-18 04:55:03 UTC
(In reply to Michael Bauer from comment #2)
> Version: 7.5.3.2 (X86_64) / LibreOffice Community
> Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
> CPU threads: 6; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL:
> win
> Locale: gd-GB (gd_GB); UI: gd-GB
> Calc: CL threaded
> 
> There is no need even to past it anywhere. Just double click in a cell,
> select content, the try to close LO and it will prompt.
> 
> The governing factor seem to be that you've not clicked outside the cell
> you've just selected i.e. if I clicked into cell A7 to select and then click
> into cell B2 (single click), I'm not prompted. But if I'm still in cell A7,
> then it prompts me to save even if I've not changed anything.

Now with *those steps* I can reproduce. Already in 5.2 and 3.5.

Even more specific: you need to select by painting with the mouse. It doesn't happen, if you double-click to select a word or if you select by Shift-arrow with the keyboard.