https://bugs.documentfoundation.org/show_bug.cgi?id=169895

--- Comment #6 from [email protected] ---
(In reply to Martin Deereudei from comment #5)
> Not reproducible:
> Version: 26.2.5.2 (X86_64)
> Build ID: cd7284b4cbbfeb507e630c1aac019f4157393acb
> CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render:
> Skia/Raster; VCL: win
> Locale: es-AR (es_AR); UI: es-ES
> Calc: CL threaded

Reproducible en 26.2.5.2:
I can still reproduce the issue when the duplicate value is removed using the
Delete key.

There seems to be an important difference depending on how the cell value is
changed:

Create two cells containing the same value and apply conditional formatting to
highlight duplicate values.
Both cells are correctly highlighted as duplicates.
Select one of the duplicated cells and press the Delete key to clear its
contents.
Press Enter.
The remaining value is now unique, but it is still visually formatted as a
duplicate.
If the sheet is scrolled so that the cell is forced to redraw, the duplicate
formatting disappears and the cell is displayed correctly.

On the other hand, if a new value is entered into the duplicated cell and Enter
is pressed, the conditional formatting is updated correctly.

So the issue appears to be specifically related to clearing the duplicated cell
with the Delete key: the conditional formatting state seems to be recalculated,
since a redraw shows the correct result, but the remaining cell is not visually
redrawn immediately.

Version: 26.2.5.2 (X86_64)
Build ID: cd7284b4cbbfeb507e630c1aac019f4157393acb
CPU threads: 12; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: es-ES
Calc: threaded

I can still reproduce the issue on Linux with hardware acceleration enabled or
disabled.

Additional observation: switching focus away from LibreOffice Calc (for
example, to a web browser) and then returning to Calc does not clear the stale
duplicate formatting. The remaining unique value is still shown with the
duplicate highlight.

However, scrolling the sheet so that the affected cell is repainted immediately
clears the incorrect formatting.

This suggests that the conditional-formatting result itself may already be
updated, but the affected cell is not being invalidated/redrawn after the
duplicate value is cleared with the Delete key.

Configuration:

Version: 26.2.5.2 (X86_64)
Build ID: cd7284b4cbbfeb507e630c1aac019f4157393acb
CPU threads: 12; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: es-ES
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to