Bug 136317 - SIDEBAR - PAGE TAB: Columns setting remains blank after setting to "2 columns with different size" (predefined pattern) in Page Style Columns
Summary: SIDEBAR - PAGE TAB: Columns setting remains blank after setting to "2 columns...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Sidebar-Page
  Show dependency treegraph
 
Reported: 2020-08-31 07:40 UTC by sawakaze
Modified: 2024-08-30 05:53 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
ScreenCast (691.11 KB, video/x-matroska)
2020-08-31 07:44 UTC, sawakaze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sawakaze 2020-08-31 07:40:36 UTC
Description:
after following step, on sidebar, Page > Styles > Columns value to blank. 


Steps to Reproduce:
1. open writer
2. menu > format > Page Style
-> open page style window
3. press Columns tab
4. on Settings, select predefined "2 columns with different size" icon.
i.e. "2 columns with different size(left > right)
5. apply and OK
-> document is divided to two columns.
6. open sidebar and page > Styles


Actual Results:
Page > Styles value is blank

Expected Results:
At least, this value is not blank.
I seem if "2 columns with different size(left > right)", Columns value on sidebar is "left".



Reproducible: Always


User Profile Reset: No



Additional Info:
I confirm this version 

Version: 7.1.0.0.alpha0+
Build ID: 977a97f3148c0aece0a54304aae81ec44ced07e0
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-08-30_05:36:32
Calc: threaded
Comment 1 sawakaze 2020-08-31 07:44:44 UTC
Created attachment 164905 [details]
ScreenCast

if my description is uncleared, please see screencast
Comment 2 Dieter 2020-08-31 16:01:48 UTC
I confirm the behaviour with

Version: 7.0.1.2 (x64)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded

Steps to reproduce
...
6. Open sidebar => Page tab => Styles
Comment 3 QA Administrators 2022-09-03 03:39:30 UTC Comment hidden (obsolete)
Comment 4 Dieter 2022-09-04 10:16:01 UTC
Still present in

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4060230ca5124f7bdd658f2aa5ee5527375edb86
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

It seems to be the same for some (all) other settings: Changes in pages style dialog have no effect on settings in sidebar.
Comment 5 Buovjaga 2024-08-27 20:50:32 UTC
Investigated a bit.

With bibisect repo linux-64-6.0, the state before 420452e56c2f18b85e6a59dbba80c06d96e28abd (tdf#67670 Change default column spacing to 0.5cm) was "Left". After the commit, it stays as "1 Column".

The blankness started in 7.0 with 4a0d34fc4ec875d14d09156f7b4b3a51fb2f5e30
weld PageStylesPanel

Note that it's important to use exactly the "2 columns with different size" preset.

Let's add both Heiko and Caolán as they are the respective authors of the commits. Kind of strange why Heiko's commit would have such an effect.
Comment 6 Heiko Tietze 2024-08-30 05:53:27 UTC
Can confirm that reverting the column spacing to zero brings back the right selection. But we should not revert this modification. Rather add the 0.5cm to the comparison that should somehow happen in mpPageColumnItem.reset( static_cast<SfxInt16Item*>(pState->Clone()) ); at PageStylesPanel::NotifyItemUpdate(). Unfortunately this pointer blob magic is beyond my skills.