Bug 136864 - If columns has a formula in them, and cell is copied or cut to another cell, sort follows (rightly) the copied or cut cell, therefore sort, sorts wrongly.
Summary: If columns has a formula in them, and cell is copied or cut to another cell, ...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: All Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-17 23:23 UTC by Mark Mclean
Modified: 2021-08-05 03:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
All sheets locked, no password needed to unlock. (311.68 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-09-17 23:34 UTC, Mark Mclean
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Mclean 2020-09-17 23:23:07 UTC
Description:
I clicked “filing an enhancement request“ but found only “file a bug”. This is not a bug, works great. I am filing an enhancement request. I know formulas follow cells. But when a formula is part of “sort”, “sort” does not sort aright, not properly! I may be missing on how to handle such, (sorting cells with formulas in them). But if, when a sheet is locked, it would work if “copy” & “cut” were disabled, when the sheet is locked. 
	I hope there is another way to keep the active command “copy” and “cut” available and still be able to sort cells having formulas in them. Thanks.

Steps to Reproduce:
1.copy cell to another row
2.sort
3.

Actual Results:
sort will follow the cut copied or cut cell, giving an untrue sort. (which it should).

Expected Results:
Sort to figure it out! or, when sheet is locked to also disable cut and copy command.


Reproducible: Always


User Profile Reset: No



Additional Info:
I have a file. Was hoping to leave it here.
Comment 1 Mark Mclean 2020-09-17 23:34:23 UTC
Created attachment 165644 [details]
All sheets locked, no password needed to unlock.

Notes on sheet, all you need to do is click sort buttons. Then move a cell down and sort again, you will notice numbers begin to go astray. Many hidden columns where the formulas are at, they look to where pasted cell went to, causing sort to give wrong results.
Comment 2 Peter S Anderson 2020-12-22 09:17:26 UTC
Hi Mark,
Thanks for the raising the bug/enhancement. Your sheet is pretty complicated as are the macros. Could you please create a stripped down example showing the behaviour that concerns you? 
Thanks…… Peter.
Comment 3 QA Administrators 2021-07-05 03:48:14 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-08-05 03:51:45 UTC
Dear Mark Mclean,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp