Bug 503012 - SearchField placeholders are not at the right side RTL
Summary: SearchField placeholders are not at the right side RTL
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.13.0
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords: rtl
Depends on:
Blocks:
 
Reported: 2025-04-19 12:14 UTC by easy_lad
Modified: 2025-05-14 02:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.15
Sentry Crash Report:


Attachments
Showing where the placeholder text should've been. (5.31 KB, image/png)
2025-04-19 12:14 UTC, easy_lad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description easy_lad 2025-04-19 12:14:02 UTC
Created attachment 180402 [details]
Showing where the placeholder text should've been.

SUMMARY

"Search…" placeholder in Arabic, is not at the right side RTL. See image attached.


STEPS TO REPRODUCE
1. Switch language to Arabic
2. Open System Settings
3. The search bar palceholder text is not at the right side RTL

OBSERVED RESULT

The search bar palceholder text is not at the right side RTL

EXPECTED RESULT

The search bar palceholder text is at the right side RTL.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Comment 1 easy_lad 2025-04-19 12:20:44 UTC
It looks like the issue is with all placeholders, they are not RTL when using RTL language OS setting.
Comment 2 Nate Graham 2025-04-23 07:40:46 UTC
The entire layout is wrong; that magnifying glass should be on the other side too.
Comment 3 easy_lad 2025-04-23 14:32:58 UTC
(In reply to Nate Graham from comment #2)
> The entire layout is wrong; that magnifying glass should be on the other
> side too.

Yeah, correct :)
Comment 4 Nate Graham 2025-05-08 21:25:12 UTC
Git commit d803ca3583838eb9e4a6854763be45be91925523 by Nate Graham.
Committed on 08/05/2025 at 21:25.
Pushed by ngraham into branch 'master'.

SearchField fix RTL search icon positioning

We're overriding the value of LayoutMirroring.enabled unnecessarily and
incorrectly, causing the icon to always appear on the left regardless of
RTL. Just let it cascade to this component normally.
FIXED-IN: 6.15

M  +0    -1    src/controls/SearchField.qml

https://invent.kde.org/frameworks/kirigami/-/commit/d803ca3583838eb9e4a6854763be45be91925523
Comment 5 Nate Graham 2025-05-08 21:25:20 UTC
Git commit d803ca3583838eb9e4a6854763be45be91925523 by Nate Graham.
Committed on 08/05/2025 at 21:25.
Pushed by ngraham into branch 'master'.

SearchField fix RTL search icon positioning

We're overriding the value of LayoutMirroring.enabled unnecessarily and
incorrectly, causing the icon to always appear on the left regardless of
RTL. Just let it cascade to this component normally.
FIXED-IN: 6.15

M  +0    -1    src/controls/SearchField.qml

https://invent.kde.org/frameworks/kirigami/-/commit/d803ca3583838eb9e4a6854763be45be91925523