Bug 141207 - [EDITING] Undo and text data can confuse top-N formatting
Summary: [EDITING] Undo and text data can confuse top-N formatting
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-23 17:47 UTC by Alan Frank
Modified: 2022-10-15 03:40 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 Alan Frank 2021-03-23 17:47:14 UTC
Description:
If you have conditional formatting with the top N elements being highlighted, then add text to the range, replace it with a large number, and undo, at the end of the process, the Nth-highest number is not highlighted.

Steps to Reproduce:
1. Enter the numbers 1-10 in a column
2. Highlight the entire column
3. Add a conditional formatting item, where the top 3 values should be styled
4. In row 11, enter "foo"
5. Overwrite "foo" with 11.
   At the end of all the steps so far, the styling is correct.
6. Press <Ctrl+Z> to undo step 5

Actual Results:
Only two values, 9 and 10, remain styled.

Expected Results:
The third-highest value, 8, should be given back its styling.


Reproducible: Always


User Profile Reset: No



Additional Info:
I believe that I have also seen an issue where the top 3 were highlighted and I added a very high value which was highlighted, but none was unhighlighted, but I am not able to reproduce this.

Version: 6.4.5.2 (x64)
Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 1 Buovjaga 2022-03-17 15:01:53 UTC
No problem here. Can you test with 7.3?

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 71b952340726190d1f178ef0dadfa89677f2c1dd
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Comment 2 QA Administrators 2022-09-14 03:38:52 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2022-10-15 03:40:39 UTC
Dear Alan Frank,

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