Created attachment 196301 [details] Screenshot from Windows Use Windows, gen or kf5/kf6. 1. Open Writer, Sidebar Properties 2. Click the button to activate Hyphenation controls Cramped & glitched look, see screenshot.
Confirm with Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 10363c80eb3fd0637d91714fe977de77b43d3aa3 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: x11 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded
likewise on Win10 Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 1b61a0737e3600aadf42f28a15c70aface9ab61e CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
Note that if (on Windows at least) in the SB Properties deck you collapse the Paragraph content panel and reexpand it the spacing is recalculated, spacing then looking correct. But collapse/expand has to be repeated with each launch of the SB
Proposed fix: https://gerrit.libreoffice.org/c/core/+/182321
Created attachment 199578 [details] hyphenation_panel.png: screenshot of the proposed panel See https://gerrit.libreoffice.org/c/core/+/182321
Proposed fix for 25.2: https://gerrit.libreoffice.org/c/core/+/182485
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fe502cd93b70c598fcf9196f7ec1d9169bfe522f tdf#162840 sfx: fix layout of sidebar hyphenation options It will be available in 25.8.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.
Still cramped, the commit doesn't fix it Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 38a4d3f0b095f70deaf1c25617b5f8b378f31626 CPU threads: 8; OS: Linux 6.13; UI render: default; VCL: x11 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded
László Németh committed a patch related to this issue. It has been pushed to "libreoffice-25-2": https://git.libreoffice.org/core/commit/e0c89d0ba3edbe975ce62427cd217f346293b23e tdf#162840 sfx: fix layout of sidebar hyphenation options It will be available in 25.2.2. 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.
(In reply to László Németh from comment #5) > Created attachment 199578 [details] > hyphenation_panel.png: screenshot of the proposed panel > > See https://gerrit.libreoffice.org/c/core/+/182321 I see you are still only testing with gtk3. Please, as the topic implies, test also by running with SAL_USE_VCLPLUGIN=gen or SAL_USE_VCLPLUGIN=kf5 or kf6
UI overlaying (same as in @Buovjaga's attachment 196301 [details]) is still present in: Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 894563ee0e4032019623a97c313af3d833863b1f CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: pl-PL (pl_PL); UI: en-US Calc: CL threaded /daily/master/Win-x86_64@tb77-TDF/2025-03-07_02.42.20/
Created attachment 199683 [details] screen clips of sequence opening the new Hyphenation widgets on SB Properties deck clips of the unresolved appearance issue when opening the new Hyphenation widget button on the Writer Sidebar -> Properties deck. Issue seems to be that the height of the widgets are not being added to the Paragraph content panel when added, so the entire content panel appears compressed into its existing space. Closing and reopening the SB deck with the Hyphenation widgets opened then recalculates the height of the Paragraph content panel. =-testing-= 2025-03-07 TB77 nightly of master Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 894563ee0e4032019623a97c313af3d833863b1f CPU threads: 28; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
(In reply to László Németh from comment #5) > Created attachment 199578 [details] > hyphenation_panel.png: screenshot of the proposed panel > This clip shows the Hyphenation widgets are in their own panel. But the clips in attachment 199683 [details] from the 2025-03-07 nightly on Windows vcl seem to show the widgets *not in a new content panel, but instead being added* into the Paragraph content panel above. Is that maybe more the issue? With the SB deck framework...
*** This bug has been marked as a duplicate of bug 164823 ***
(In reply to Petr Valach from comment #14) > > *** This bug has been marked as a duplicate of bug 164823 *** Duplicate is the wrong status, this already had commits. If you assume work towards bug 164823 will solve the remaining issues, then let's close this as fixed.
OK, thank you. I have reopened it and let it be for now.
Same issues with the Sidebar (SB) Content Panel as in OP, and on on WDM with Win11 as shown in attachment 199683 [details] from comment 12 and comment 13 The Hyphenation widgets are correctly appended in the SB 'Properties' deck to the titled 'Paragraph' "Content panel" (CP) [1], but the CP is NOT being fully recalculated to account for its expanded size. And as noted in related bug 164823, once exposed (even if close open of SB) the Hyphenation widgets can not be collapsed as no control is provided to do so. =-testing-= Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a2741c9e6083016bba82fa9be06e157a18aaaf07 CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded [1] https://wiki.documentfoundation.org/File:LO-HIG_SideeBar-Terminology.png
Maybe the best way to correct this would be to move the new Hyphenation widgets out of the Properties -> Paragraph CP, and put them into a CP of their own? Would not be that questionable to be its own content panel in the Properties deck. Already have Styles, and Character panels in addition to Paragraph. Putting Hyphenation into its own content panel would allow it to expose/collapse as needed without affecting the rest of the Paragraph panel. @László, Jim--opinions?
(In reply to V Stuart Foote from comment #18) > Maybe the best way to correct this would be to move the new Hyphenation > widgets out of the Properties -> Paragraph CP, and put them into a CP of > their own? > > Would not be that questionable to be its own content panel in the Properties > deck. Already have Styles, and Character panels in addition to Paragraph. > > Putting Hyphenation into its own content panel would allow it to > expose/collapse as needed without affecting the rest of the Paragraph panel. > > @László, Jim--opinions? And seems exactly what https://gerrit.libreoffice.org/c/core/+/182321 would do, it needs to be rebased and pushed, likely with backport patch to 25.2 as the 25.2.2 release build remain affected.
(In reply to V Stuart Foote from comment #19) Meanwhile, Jim R. has put up https://gerrit.libreoffice.org/c/core/+/183451 which cleans up the Properties deck in general and corrects the behavior of the Hyphenation widgets as appended to the Paragraph content panel. Which is a better approach? My two-cents would be for Hyphenation into a Content panel of its own (so it can be better suppressed), either way the current Paragraph content panel needs a cleanup.