When you apply one of the new table styles to a table in Impress, the header row will use a dark background color with white font (which is ok). But then, when you save the file, close and reopen it, you'll find that the first cell in the table will be black instead of white. Steps to reproduce: 1) Create a blank Impress file 2) Insert a 4x4 table 3) Fill in the header row (first row) 4) Apply one of the table styles in the sidebar deck (f.i. the one with dark orange header). Notice the header font color will be white. 5) Save the file, close and reopen it 6) Notice that the first cell in the first row is now black; the other header cells are white. System info Version: 7.5.2.2 (X86_64) / LibreOffice Community Build ID: 50(Build:2) CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Ubuntu package version: 4:7.5.2~rc2-0ubuntu0.22.10.1~lo1 Calc: threaded
Created attachment 186758 [details] Screenshot before closing the file This is a screenshot of the table created using the steps above, before closing the file.
Created attachment 186759 [details] Screenshot after closing and reopening the file
@Maxim, any idea why this might be happening?
Wasn't this fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=f0287aad967761d46cb6903fc0d985a536408176 ?
(In reply to Maxim Monastirsky from comment #4) > Wasn't this fixed by > https://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=f0287aad967761d46cb6903fc0d985a536408176 ? Hi Maxim, indeed it was fixed in master. When I reported the bug I was using the official 7.5 release. This patch should be cherry-picked to the 7.5 branch as well.
Regression introduced by https://cgit.freedesktop.org/libreoffice/core/commit/?id=daab698b346e5e40b67f1e15c796c4e399ccaf8a author Maxim Monastirsky <momonasmon@gmail.com> 2022-11-22 14:07:12 +0200 committer Maxim Monastirsky <momonasmon@gmail.com> 2022-11-29 09:39:22 +0100 commit daab698b346e5e40b67f1e15c796c4e399ccaf8a (patch) tree 7483cd08e13613e9ff27086cf17d94bbb658e8d1 parent 7830ecc2e4e5dd264517c6554078fa807ff1fceb (diff) sd: replace hardcoded table styles with xml file
(In reply to Rafael Lima from comment #5) > (In reply to Maxim Monastirsky from comment #4) > > Wasn't this fixed by > > https://cgit.freedesktop.org/libreoffice/core/commit/ > > ?id=f0287aad967761d46cb6903fc0d985a536408176 ? > > Hi Maxim, indeed it was fixed in master. > > When I reported the bug I was using the official 7.5 release. This patch > should be cherry-picked to the 7.5 branch as well. backported: https://gerrit.libreoffice.org/c/core/+/150716 Closing
(In reply to Xisco Faulí from comment #7) > backported: https://gerrit.libreoffice.org/c/core/+/150716 Thanks!
Maxim Monastirsky committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/18ad97d122fbaf7f120502fa73cea773dfe38455 tdf#154882: svx: don't overwrite the first cell's style It will be available in 7.5.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 148520 has been marked as a duplicate of this bug. ***