Bug 169710 - Notebookbar "Page Size" dropdown doesn't shown full name of page sizes
Summary: Notebookbar "Page Size" dropdown doesn't shown full name of page sizes
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Michael Weghorn
URL:
Whiteboard: target:26.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-27 14:58 UTC by Michael Weghorn
Modified: 2025-11-28 07:18 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot with gtk3 VCL plugin on Linux (68.29 KB, image/png)
2025-11-27 14:58 UTC, Michael Weghorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weghorn 2025-11-27 14:58:27 UTC
Created attachment 204315 [details]
Screenshot with gtk3 VCL plugin on Linux

# Steps to reproduce

1) start Writer
2) in "View" -> "User Interface", select "Tabbed" and "Apply to Writer"
3) switch to the "Layout" Notebookbar tab
4) click on "Page Size"

# Actual result:

In the popup that opens, "C5 Envelope" isn't fully shown, but only the "C5 Envel..."

# Expected result

The whole text for each item in the table showing page size names and dimensions should be shown.

Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 2be64257b9e9077e6dc13f7057bf6e3ecc8afb45
CPU threads: 32; OS: Linux 6.17; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 2be64257b9e9077e6dc13f7057bf6e3ecc8afb45
CPU threads: 32; OS: Linux 6.17; UI render: default; VCL: qt6 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 1 Michael Weghorn 2025-11-27 14:59:26 UTC
Started looking into this in the context of the tdf#169637 discussion.
Comment 2 Michael Weghorn 2025-11-27 21:39:11 UTC
Pending change to use weld::TreeView for for the page size table inside of that dropdown: https://gerrit.libreoffice.org/c/core/+/194741
Comment 3 Commit Notification 2025-11-28 07:14:13 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/85dc059a3990b41f93be6e163c2c8d2138f9e0e9

tdf#136905 tdf#169710 Use TreeView in PageSizeControl

It will be available in 26.2.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 4 Commit Notification 2025-11-28 07:15:17 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

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

tdf#136905 tdf#169710 sw: Drop now unused ValueSetWithTextControl

It will be available in 26.2.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.