Bug 158504 - "Default Page Style" does not appear as an applied style
Summary: "Default Page Style" does not appear as an applied style
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 159294 (view as bug list)
Depends on:
Blocks: Sidebar-Styles Writer-Styles-Page 159168
  Show dependency treegraph
 
Reported: 2023-12-03 17:33 UTC by Eyal Rozenberg
Modified: 2024-04-03 06:55 UTC (History)
7 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 Eyal Rozenberg 2023-12-03 17:33:10 UTC
One of the filter options for the Styles list in the Styles sidebar is "Applied Styles". If you create a new document, you'll see the the "Default Paragraph Style" does appear when applying the filter, but - "Default Page Style" does not appear in the Page Styles category, despite the first (and only) page using it. This remains the case even if one adds content, including multiple paragraphs on multiple pages.
Comment 1 Eyal Rozenberg 2023-12-03 17:36:36 UTC
Seen with:

Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 516f800f84b533db0082b1f39c19d1af40ab29c8
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Comment 2 RGB 2023-12-03 19:20:16 UTC
Seems to be a regression: with the "applied styles" option in an empty document the default page style is shown in

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: es-ES (es_ES.UTF-8); UI: es-ES
Calc: threaded

but not in 

Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 05d5181e2c19aca7e6098217ddb7065e02819a53
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

[Changing VERSION field and setting as NEW]
Comment 3 Heiko Tietze 2023-12-04 14:16:38 UTC
Seems to me the default PgS is not the "Default PgS" anymore. => BUG
Comment 4 BogdanB 2023-12-09 14:45:05 UTC
Tring to bibisect, but getting
bogdan@bogdan-IdeaCentre-AIO-3-24ALC6:~/Documente/Bibisect/24.2/linux-64-24.2$ git bisect good && ./instdir/program/soffice
Bisecting: 288 revisions left to test after this (roughly 8 steps)
[95947107aa8554151ef8834a326dba9886801a14] source 252132d9752964a4aa82567b6a3ca8cd7df5ccfb
soffice.bin: ../../../../src/cairo-surface.c:930: cairo_surface_reference: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)' failed.
soffice.bin: ../../../../src/cairo-surface.c:930: cairo_surface_reference: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)' failed.
soffice.bin: ../../../../src/cairo-surface.c:930: cairo_surface_reference: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)' failed.
soffice.bin: ../../../../src/cairo-surface.c:930: cairo_surface_reference: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)' failed.

And I get crash, and I can not escape from here with a new document in order to bibisect.
Comment 5 Heiko Tietze 2023-12-11 10:14:52 UTC
(In reply to BogdanB from comment #4)
> [95947107aa8554151ef8834a326dba9886801a14] source
> 252132d9752964a4aa82567b6a3ca8cd7df5ccfb

Any idea, Gabor?
Comment 6 Kira Tubo 2023-12-12 02:34:08 UTC
Hm, I don't experience the issue from comment 4 bibisecting on win64-24.2. Could be specific to Linux. 

---------------------

Bibisected win64-24.2. Added Bjoern Michaelsen to cc. 

Regression introduced at commit: 
https://git.libreoffice.org/core/+/140079362502408c75ceee67e86d779f61c0ac1b

---------------------

commit 140079362502408c75ceee67e86d779f61c0ac1b	[log]
author	Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>	Wed Aug 09 11:34:00 2023 +0200
committer	Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>	Fri Sep 01 00:05:28 2023 +0200
tree 192aac811efa24025ce2059c89a8141a059799d6
parent 345b214c37d1f645dd0e6e084358f8ca81d9ed66 [diff]

---------------------

commit ebea09b5c456572c2843a8dd0da2aa09649f149b
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Wed Sep 13 18:17:10 2023 -0700

    source 140079362502408c75ceee67e86d779f61c0ac1b

---------------------
Reproduced on: 
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 7 Kira Tubo 2024-04-03 06:32:12 UTC
*** Bug 159294 has been marked as a duplicate of this bug. ***