Bug 168890 - Padding missing in search Options dialog search field
Summary: Padding missing in search Options dialog search field
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Qt6
  Show dependency treegraph
 
Reported: 2025-10-16 11:12 UTC by postix
Modified: 2025-10-21 06:45 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (60.35 KB, image/png)
2025-10-16 11:12 UTC, postix
Details
Screenshot of the Impress "Alt Text" dialog with and without SAL_VCL_QT_USE_WELDED_WIDGETS=1 (26.74 KB, image/png)
2025-10-21 06:40 UTC, Michael Weghorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2025-10-16 11:12:04 UTC
Created attachment 203362 [details]
Screenshot

Text in the search field of the options dialog misses padding. The first character touches the left edge of the search field. A few pixel to the right would make it look much better and easier to read.

Please see the screenshot. 

---

Version: 25.8.1.1 (X86_64) / LibreOffice Community
Build ID: 580(Build:1)
CPU threads: 24; OS: Linux 6.17; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Operating System: openSUSE Tumbleweed 20251013
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series
Comment 1 BogdanB 2025-10-16 19:37:49 UTC
It's ok in linux with gtk3
Version: 25.8.2.2 (X86_64)
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Michael Weghorn 2025-10-21 06:40:10 UTC
Created attachment 203464 [details]
Screenshot of the Impress "Alt Text" dialog with and without SAL_VCL_QT_USE_WELDED_WIDGETS=1
Comment 3 Michael Weghorn 2025-10-21 06:44:44 UTC
(In reply to postix from comment #0)
> Text in the search field of the options dialog misses padding.

Confirmed. This is not specific to the search field, but applies for all such entries/text fields.

Currently, this doesn't use a native QLineEdit, but it's drawn to look like one, and the text drawing happens separately.

Switching to native widgets will solve this (see tdf#130857), but it will probably take some time until that's done.

Attached is a screenshot showing the same behavior for the "Alt Text" dialog in Impress (shown when right-clicking on an image and selecting the "Alt text..." menu entry).

The dialog on the left (without the padding) is when not using native Qt widgets. The dialog on the right shows the behavior with native Qt widgets, i.e. when starting LibreOffice with environment variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 set. The padding is there then.

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 802328a6055106d4bf1ecaba6db1b6cc473b96fd
CPU threads: 32; OS: Linux 6.16; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded