Bug 502936

Summary: RTL delay spinbox text is not visible fully
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: easy_lad <uneasy_latitude544>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal CC: ahiemstra, kde, kde, nate, noahadvs, notmart, quarro
Priority: NOR Keywords: rtl
Version First Reported In: 6.13.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Text in Delay box is half shown, the above part is not visible.
red line is at the center of label and extending till spinboxes showing the text in spinboxes is not at the center, but rather a bit upward.

Description easy_lad 2025-04-17 15:14:39 UTC
Created attachment 180355 [details]
Text in Delay box is half shown, the above part is not visible.

SUMMARY

The text should be in the middle it is a bit above making it not fully visible, see image attached. It should be showing "ثانية واحدة" as you can see in image attached, it is missing half of the characters above.


STEPS TO REPRODUCE
1. RTL language set
2. Open Spectable
3. See "Delay" / "التّأخير"

OBSERVED RESULT

Text in Delay box is half shown


EXPECTED RESULT

Text in Delay box is fully shown.


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 Nate Graham 2025-04-18 17:30:37 UTC
Does it happen in any other KDE apps with spinboxes too, or only in Spectacle?
Comment 2 easy_lad 2025-04-19 11:57:13 UTC
Created attachment 180401 [details]
red line is at the center of label and extending till spinboxes showing the text in spinboxes is not at the center, but rather a bit upward.
Comment 3 easy_lad 2025-04-19 11:58:24 UTC
(In reply to Nate Graham from comment #1)
> Does it happen in any other KDE apps with spinboxes too, or only in
> Spectacle?

I'm sure it is an issue with spinboxes actually, I added a new attachment, you can see the red line is at the center of label and extending till spinboxes showing the text in spinboxes is not at the center, but rather a bit upward.
Comment 4 Nate Graham 2025-04-22 14:34:07 UTC
Cannot reproduce with `LANGUAGE=ar_AR spectacle`. What font are you using? It may be an issue with the font itself having a baseline that's too high.
Comment 5 easy_lad 2025-04-23 14:43:31 UTC
(In reply to Nate Graham from comment #4)
> Cannot reproduce with `LANGUAGE=ar_AR spectacle`. What font are you using?
> It may be an issue with the font itself having a baseline that's too high.

Noto Sans.
Comment 6 Nate Graham 2025-04-23 15:23:43 UTC
So to be clear, you see it in all Spinboxes in QML software? For example there are a bunch on the Accessibility page in System Settings.

Or do you only see the issue in Spectacle?
Comment 7 easy_lad 2025-04-23 16:09:15 UTC
(In reply to Nate Graham from comment #6)
> So to be clear, you see it in all Spinboxes in QML software? For example
> there are a bunch on the Accessibility page in System Settings.
> 
> Or do you only see the issue in Spectacle?

Yes, in also System Settings spinboxes
Comment 8 Greeniac 2025-09-15 18:17:14 UTC
As far as I know, this is an issue with Fedora and not KDE, because this issue is also in Fedora Workstation.
I created a Fedora discussions page, in which I went in with much more detail, including a fix for this issue.

Link (external site):
discussion.fedoraproject.org/t/buggy-arabic-font-in-fedora-kde/154624