Hi! I have data in about 400 rows, some of them (whole row) has background with diffrent colours. When I sort data by one to three columns, they do sort, but colors stays the same. In example - second row is painted red. Sort data (so row 2. is now 12.). New data on row 2. has red background while 12th does not. Regards! Reproducible: Always Steps to Reproduce: 1. Prepare data. Set background colour for background. 2. Sort data. Actual Results: As i described befor. Data sorts, but colour stays at the same rows. Expected Results: Colours should go with rows!
Hi San and thanks for your bug report, Is the same happening in other spreadsheets like LO calc or Excel? I think we want to be compatible with what's happening in those spreadsheets. Personally I would have guessed that the cell's value and its style information was separate and that the sort operation only handled the data. But I have never thought much about it. Also: would it be possible for you to attach a small test file which shows the problem to this bug report?
Created attachment 91256 [details] sorts but lefts collours This file was created in calligra from the beggining.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
Git commit 0ca31476b194f90d112f53885cfe041061f7fce4 by Tomas Mecir. Committed on 17/04/2021 at 15:18. Pushed by mecir into branch 'master'. properly set the default style isntead of ignoring it - fixes some issues with format copying M +7 -3 sheets/StyleStorage.cpp https://invent.kde.org/office/calligra/commit/0ca31476b194f90d112f53885cfe041061f7fce4