Bug 144320 - Color filtering stops program after de-selecting color
Summary: Color filtering stops program after de-selecting color
Status: RESOLVED DUPLICATE of bug 142420
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: AutoFilter-Color
  Show dependency treegraph
 
Reported: 2021-09-06 06:59 UTC by Louis de Wolff
Modified: 2021-10-21 07:36 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file made per instructions (9.60 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-09-06 11:27 UTC, NISZ LibreOffice Team
Details
Demonstration of the bug (892.50 KB, video/webm)
2021-09-06 13:07 UTC, Louis de Wolff
Details
GDB trace of crash (22.29 KB, text/plain)
2021-09-14 11:30 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Louis de Wolff 2021-09-06 06:59:11 UTC
Description:
When autofiltering is used to filter on color (background of text) and after that selected color to filter on is de-selected then the program freezes.

Steps to Reproduce:
1. Filter on a text or background color
2. Apply the filter
3. Open the filter dialog again and de-select your filtered color.

Actual Results:
The program freezes.

Expected Results:
The program freezes.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
De-select the filtered color and apply it as a new filter.
Comment 1 Samuel Mehrbrodt (allotropia) 2021-09-06 09:19:56 UTC
Can you please paste the system info from the about box (Help->About LibreOffice)?

Also, please provide a test file.
Comment 2 Louis de Wolff 2021-09-06 09:42:38 UTC
Hereby the requested version info:

Version: 7.2.0.4 / LibreOffice Community
Build ID: fa0a9af5681a0acc7909a705f92c1ada8a658552
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: nl-NL (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Samuel Mehrbrodt (allotropia) 2021-09-06 09:50:38 UTC
Can't reproduce with current master.
Leaving for QA.
Comment 4 NISZ LibreOffice Team 2021-09-06 11:27:28 UTC
Created attachment 174813 [details]
Example file made per instructions

No repro in:

Version: 7.2.0.4 (x64) / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-ZM (hu_HU); UI: en-US
Calc: CL

Nor in todays nightly:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4cd3ce9848aa039b8d443a1257d1298231680b01
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Nor with a fresh master build:
Version: 7.3.0.0.alpha0+
Build ID: a49242a7e8747a61904525bcf53d129f2f279e62
CPU threads: 6; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (hu_HU.UTF-8); UI: en-US
Calc: threaded

Please provide an example file that shows the problem, mine just doesn't cut it.
Comment 5 Louis de Wolff 2021-09-06 13:07:49 UTC
Created attachment 174817 [details]
Demonstration of the bug

In the attachment I demonstrate the bug. I open the file, select on a backgroud color. Evenything works fine. I de-select the selcted backgroud color and the program freezes.
Comment 6 QA Administrators 2021-09-07 03:51:32 UTC Comment hidden (obsolete)
Comment 7 Julien Nabet 2021-09-08 17:38:39 UTC
On pc Debian x86-64 with master sources updated today, I followed demonstration but I don't reproduce this with gen, gtk3 or kf5 renderings.

On which distrib are you and how did you install 7.2.0.4? (from tdf website? from distrib repository? other?)
Comment 8 Louis de Wolff 2021-09-10 13:01:00 UTC
I am on release Ubuntu 20.04 LTS (Focal Fossa). The LibreOffice is the one coming with the distro.
Comment 9 Julien Nabet 2021-09-10 17:32:01 UTC
Thank you for the feedback.
Since I don't have more questions, I put it back to UNCONFIRMED.
For the rest, can't help here=>uncc myself.
Comment 10 smeetqa 2021-09-14 09:47:44 UTC
Thank you for reporting the bug. I can confirm that the bug is present in

[Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 20f064c1d4d2788edbd4ed7303cf1fcc4f817be4
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-09-12_10:33:12
Calc: threaded]

###Steps followed are

1. Open app and Make 2 rows having different background colour (yellow and blue) in single column.
2. Apply filter
3. Click filter, Choose Background colour option and select blue colour. Observe blue colour is filtered. 
5. Now deselect the same colour (blue) and notice application freezes.

program freezes only when we try to deselect the same filtered colour
Comment 11 Buovjaga 2021-09-14 11:30:37 UTC
Created attachment 175017 [details]
GDB trace of crash

I can repro with the latest commit in 7.3 repo and also this version mentioned below, but with a dbgutil version I can't make it crash. Maybe you other testers were running debug builds?

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: e6a8d312d3d7e5d81c56d5ccc0508116dd283f1f
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 12 Buovjaga 2021-10-05 10:08:24 UTC
*** Bug 144872 has been marked as a duplicate of this bug. ***
Comment 13 Buovjaga 2021-10-21 07:36:29 UTC

*** This bug has been marked as a duplicate of bug 142420 ***