Bug 162703 - Cursor leaves trace in certain input fields when moving with arrow keys (kf5/kf6)
Summary: Cursor leaves trace in certain input fields when moving with arrow keys (kf5/...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: lowest trivial
Assignee: Not Assigned
URL:
Whiteboard: target:26.8.0
Keywords:
Depends on:
Blocks: KDE, KF5 Qt6
  Show dependency treegraph
 
Reported: 2024-08-30 05:38 UTC by Buovjaga
Modified: 2026-01-15 14:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Buovjaga 2024-08-30 05:38:02 UTC
Use kf5 or kf6 UI.

1. Open Writer
2. Insert - Field - More Fields (Ctrl+F2)
3. Variables - User Field
4. Type something to the Value field
5. Move back with the left arrow key

The cursor leaves traces into the field.

Already seen in master of linux-64-6.4 repo (oldest crashes when opening the dialog).

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 044980edc41544dd5973d5aa57f134d4bfe6d0e7
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 30 August 2024
Comment 1 Michael Weghorn 2024-08-30 05:50:40 UTC
I can reproduce with both, kf5 and qt6

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 044980edc41544dd5973d5aa57f134d4bfe6d0e7
CPU threads: 32; OS: Linux 6.10; UI render: default; VCL: qt6 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 2 Michael Weghorn 2026-01-14 13:03:42 UTC
That's one of the issues that will be solved by using native Qt widgets. Pending Gerrit change series up to https://gerrit.libreoffice.org/c/core/+/197272 switches the dialog in question to native Qt widgets when env variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 is set.
Comment 3 Commit Notification 2026-01-15 00:35:42 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/99e1b47caec8fed5d29ffee7d5f178f8e47155e8

tdf#130857 tdf#162703 tdf#162704 qt weld: Support sw "Field" dialog

It will be available in 26.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.
Comment 4 Buovjaga 2026-01-15 14:30:46 UTC
No traces anymore with SAL_VCL_QT_USE_WELDED_WIDGETS=1

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: d0265596672d78ad6f3980ff6fb900535aefd11f
CPU threads: 8; OS: Linux 6.18; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded