Bug 149186 - Table of contents editor not showing buttons in Dutch UI
Summary: Table of contents editor not showing buttons in Dutch UI
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: All All
: medium normal
Assignee: Julien Nabet
URL:
Whiteboard: target:7.4.0 target:7.3.5
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-19 15:29 UTC by yves.vanhal
Modified: 2022-05-31 14:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot from Dutch version (64.74 KB, image/jpeg)
2022-05-19 15:31 UTC, yves.vanhal
Details
Screenshot from English version (62.88 KB, image/jpeg)
2022-05-19 15:31 UTC, yves.vanhal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yves.vanhal 2022-05-19 15:29:50 UTC
Description:
When I insert a table of contents in Dutch, the buttons to add new elements in the Entries tab are not shown. If I change the user interface language to English the buttons appear.

Steps to Reproduce:
1.Open Writer and change user interface language to Dutch (Netherlands)
2.Insert a table of contents
3.Go to Entries tab to see the result

Actual Results:
Buttons in Entries tab are not shown

Expected Results:
Buttons should be shown


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Resetting user profile makes the tabstop visible, but not clickable
Comment 1 yves.vanhal 2022-05-19 15:31:13 UTC
Created attachment 180230 [details]
Screenshot from Dutch version
Comment 2 yves.vanhal 2022-05-19 15:31:39 UTC
Created attachment 180231 [details]
Screenshot from English version
Comment 3 Rainer Bielefeld Retired 2022-05-20 07:11:53 UTC
REPRODUCIBLE with Server Installation of Version: 7.4.0.0.alpha0+ (x64)  Build ID b871abad383583f02eb49c7e49aeae01f6941072
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: nl-NL  |  Calc: CL  |  Elementary Theme  |  Special devUserProfile based on my normal User Profile
Comment 4 Rainer Bielefeld Retired 2022-05-20 07:15:52 UTC
a) Seems not to depend on Theme, same with Auto Colibre
Comment 5 Rainer Bielefeld Retired 2022-05-20 07:20:27 UTC
b) no obvious DUPs found with Query <https://bugs.documentfoundation.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=DUPs149186&sharer_id=19321>
Comment 6 Rainer Bielefeld Retired 2022-05-20 07:29:51 UTC
c) Already REPRODUCIBLE with Server Installation of Version: Version: 7.2.5.2 (x64)  Build ID 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: nl-NL  |  Calc: CL  |  Colibre Theme  |  Special devUserProfile
d) Was still ok with Server Installation of Version: 6.0.7.3 (x64) 
Build-ID dc89aa7a9eabfd848af146d5086077aeed2ae4a5; CPU-Threads: 12; BS: Windows 10.0; UI-Render: GL; Gebietsschema: de-DE (de_DE); Calc: CL, Special devUserProfile
Comment 7 Julien Nabet 2022-05-20 16:55:16 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.
The weird thing is I can reproduce this with gen and kf5 renderings but not with gtk3 one.

I don't know if it can be related but I noticed this on console:
warn:vcl.layout:705196:705196:vcl/source/window/layout.cxx:288: nExtraSpace went negative, setting to zero for VclBox: svt/ui/linewindow/box1
warn:vcl.layout:705196:705196:vcl/source/window/layout.cxx:288: nExtraSpace went negative, setting to zero for VclBox: modules/swriter/ui/tocentriespage/box2
warn:vcl.layout:705196:705196:vcl/source/window/layout.cxx:288: nExtraSpace went negative, setting to zero for VclBox: modules/swriter/ui/tocentriespage/box2
Comment 8 Julien Nabet 2022-05-20 17:51:14 UTC
I gave a try with https://gerrit.libreoffice.org/c/core/+/134691
Comment 9 Commit Notification 2022-05-24 07:06:52 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9b02a65d9253fde66f0c27d3e03134fd66d56371

tdf#149186: Table of contents editor not showing buttons in Dutch UI

It will be available in 7.4.0.

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.
Comment 10 Julien Nabet 2022-05-24 07:48:00 UTC
Patch cherry-picked for 7.3 waiting for review here:
https://gerrit.libreoffice.org/c/core/+/134852
Comment 11 Gabor Kelemen (allotropia) 2022-05-24 08:22:36 UTC
Hi Julien

The reproducer steps of bug 147844 (both cases) also generate this message on the console:

vcl/source/window/layout.cxx:288: nExtraSpace went negative, setting to zero for VclBox:

maybe those are caused by similar issues in glade files?
Comment 12 Julien Nabet 2022-05-24 11:11:01 UTC
(In reply to Gabor Kelemen (allotropia) from comment #11)
> Hi Julien
> 
> The reproducer steps of bug 147844 (both cases) also generate this message
> on the console:
> 
> vcl/source/window/layout.cxx:288: nExtraSpace went negative, setting to zero
> for VclBox:
> 
> maybe those are caused by similar issues in glade files?

let's cc Caolán here but it might be (see my comment in https://gerrit.libreoffice.org/c/core/+/134691).
If it's the case, I saw several times this log so could be quite long to tackle all of them.
Comment 13 Commit Notification 2022-05-24 11:57:26 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ec062c472ad58eafbb4392241119d5b53760120c

tdf#149186: Table of contents editor not showing buttons in Dutch UI

It will be available in 7.4.0.

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.
Comment 14 Commit Notification 2022-05-31 14:16:33 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/fffb3bc365be55010fdb4e4a7c5738c6dfdb66f5

tdf#149186: Table of contents editor not showing buttons in Dutch UI

It will be available in 7.3.5.

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.