Bug 134014 - UI: Styles deck empty under specific circumstances
Summary: UI: Styles deck empty under specific circumstances
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 89369
Blocks: Sidebar-Styles
  Show dependency treegraph
 
Reported: 2020-06-15 19:09 UTC by Telesto
Modified: 2023-09-17 07:03 UTC (History)
5 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 2020-06-15 19:09:07 UTC
Description:
Styles deck empty under specific circumstances

Steps to Reproduce:
1. Open LibreOffice
2. Open Writer
3. Set the sidebar deck to gallery 
4. Close the document
5. Open a new Writer document
6. Drag a shape into the doc
7. Switch to styles -> Empty


Actual Results:
Empty style deck

Expected Results:
Should be filled


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: a35c18aeff3b1d8f270db7e094850fb8ba1ab84a
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

fine with
Version: 6.4.0.0.beta1+ (x64)
Build ID: 20be5cd0bdc57d812bf34a2debfe48caa51de881
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Buovjaga 2020-06-17 17:24:09 UTC
I repro both with Win and Linux, but I could not repro with Linux 6.5 repo! Bibisected with Win 6.5 repo, but not a nonsensical result about DOC export! Grr!

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: ad0351b84926075297fb74abbe9b31a0455782af
CPU threads: 8; OS: Linux 5.7; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 17 June 2020
Comment 2 Telesto 2020-06-17 17:38:24 UTC
Hmm, don't have much luck lately
Comment 3 Telesto 2020-06-26 16:04:22 UTC
@Caolan
Is this easy to fix without a bibisect?
Comment 4 Caolán McNamara 2020-06-26 16:37:45 UTC
Seeing as the shape dragged into writer from the gallery doesn't have a writer style category of its own to show in the style deck I imagine the style list just shows the prior selected style category and its probably always been fairly arbitrary what's listed there under this circumstance. Once you click into the document, and give it time to populate, it picks up the current context and fills with content.
Comment 5 BogdanB 2021-11-23 09:10:41 UTC
Also in
Version: 7.2.2.2 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ro-RO (ro_RO); UI: en-US
Calc: threaded

Aslo in
Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 4be0ae19065b1b50870bc0b2a28189ad39c96a8a
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ro-RO (ro_RO); UI: en-US
Calc: threaded
Comment 6 Kira Tubo 2023-09-15 22:26:18 UTC
Reproduced in current daily master build

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9a37652b79001bf5208841b9221dee851b9b6d0f
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 2023-09-15 23:43:00 UTC
Regression already analyzed in Bug 134970. Bibisected using win64-7.1.

Regression introduced by: https://git.libreoffice.org/core/+/86b1b062cfc2768a971bb842de1c16f8646d4b4b


gerrit.libreoffice.org / core / 86b1b062cfc2768a971bb842de1c16f8646d4b4b
commit 86b1b062cfc2768a971bb842de1c16f8646d4b4b	[log]
author	Heiko Tietze <tietze.heiko@gmail.com>	Mon Jun 15 16:52:58 2020 +0200
committer	Stephan Bergmann <sbergman@redhat.com>	Wed Jun 17 12:35:56 2020 +0200
tree 546700822f701ce7422ef3f4e331965ac08450ab
parent b982be12281f2eaf63cb9d18a5b3362502c3a1dc [diff]
Comment 8 Heiko Tietze 2023-09-17 07:03:29 UTC
(In reply to Kira Tubo from comment #7)
> Regression introduced by:
> https://git.libreoffice.org/core/+/86b1b062cfc2768a971bb842de1c16f8646d4b4b

It's not a regression as Caolan pointed out with comment 4. The Stylist has a context, eg. text, frame, table (which are somewhat mixed with the different attributes) and so far we do not list a "shape style" requested in bug 89369 for example.