Bug 112067 - EDITING: A residual colored rectangle appears on all slides after a specific undo/redo table operation
Summary: EDITING: A residual colored rectangle appears on all slides after a specific ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.2.0
Keywords:
: 141817 (view as bug list)
Depends on:
Blocks: ImpressDraw-Tables Undo-Redo
  Show dependency treegraph
 
Reported: 2017-08-28 14:35 UTC by Telesto
Modified: 2023-04-17 22:52 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 Telesto 2017-08-28 14:35:24 UTC
Description:
A prominent blue rectangle appears after a specific UNDO/redo operation

Steps to Reproduce:
1. Open Impress
2. Cancel Template dialog
3. Insert table
4. Enlarge the table a bit -> moving the right border to the right
5. Press Undo (CTRL+Z) twice  
6. Redo (CTRL+Y) twice 
7. Undo (CTRL+Z) twice
8. Add a few new slides


Actual Results:  
A blue rectangle appears a

Expected Results:
Shouldn't be there


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: 6.0.0.0.alpha0+
Build ID: 02c53f744ed23e2149fc7c83d67cb7d8aa5eb0ed
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-08-24_05:48:55
Locale: nl-NL (nl_NL); Calc: CL

and in
Versie: 4.1.0.4 
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Jean-Baptiste Faure 2017-08-29 07:21:32 UTC
Good catch !

Reproducible for me with master and LO 5.4.0 from Ubuntu PPA. The residual rectangle is not blue but has the color of the table background. Anyway it is there and it I did find how to remove it. It is not visible in slideshow mode but still there when coming back in edit mode.

I guess the problem comes from table implementation in Impress.

Setting as NEW.

Best regards. JBF
Comment 2 QA Administrators 2018-08-30 02:51:31 UTC Comment hidden (obsolete)
Comment 3 Jean-Baptiste Faure 2018-09-15 19:34:28 UTC
Still reproducible with LibreOffice 6.1.2.0.0+ built at home under Ubuntu 18.04 x86-64.

Best regards. JBF
Comment 4 Roman Kuznetsov 2019-04-01 08:31:42 UTC
still repro in

Version: 6.3.0.0.alpha0+
Build ID: d81a11220d76eeecac80b27b25a4576b6e78210b
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 5 Stéphane Guillou (stragu) 2020-05-21 05:47:11 UTC
still reproducible in:

Version: 7.0.0.0.alpha1 (x64)
Build ID: 6a03b2a54143a9bc0c6d4c7f1...
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win; 
Locale: en-AU (en_AU); UI: en-US
Calc: threaded

Very odd!
Comment 6 QA Administrators 2022-05-22 03:42:25 UTC Comment hidden (obsolete)
Comment 7 Stéphane Guillou (stragu) 2023-03-11 09:25:12 UTC
I had witnessed that with other undo-redo operations on tables, even on a single slide. Also reproducible in Draw in 7.1.0.3.

However, not reproducible in:

Version: 7.2.7.2 / LibreOffice Community
Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

What fixed it is:

commit 3ba86ee82a2d0c2d8cac3c7ee83e2c5f0a3c291e
author	merttumer <mert.tumer@collabora.com>	Thu Apr 15 11:21:01 2021 +0300
committer	Mert Tumer <mert.tumer@collabora.com>	Mon May 03 06:51:22 2021 +0200
tree 0e937e573eebf620441bd29640b27f1e67c0f465
parent 9c930c4f3109d123c0831d0fcecf9c8b32e5bbc7
Fix ESC key selects all the cells of the table object
Change-Id: I33f182d330f1cbc411d47b86098a4aea544a90ae
Signed-off-by: merttumer <mert.tumer@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114128

The residual colour is not the table background (which is grey with the default style), it's actually the selection rectangle highlight colour. The colour therefore depends on the desktop environment's theming.

Thanks everyone!
Comment 8 Stéphane Guillou (stragu) 2023-04-17 22:52:45 UTC
*** Bug 141817 has been marked as a duplicate of this bug. ***