Bug 438092 - Some Hindi words are not displaying in a proper format.
Summary: Some Hindi words are not displaying in a proper format.
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Calendar (show other bugs)
Version: 5.21.5
Platform: Arch Linux Other
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-04 17:06 UTC by BlueAce
Modified: 2022-12-21 14:05 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BlueAce 2021-06-04 17:06:07 UTC
Hindi language is not properly displaying for few words in calendar. The problem is concurring while displaying "Hindi Matras". Please check the screen-shot link given below for more information:
https://i.imgur.com/1r0LDGQ.png

The word June is appearing as ज ून* , which is not a correct Hindi format. It should be written as जून

* - (Using white-space to explain the bug).

I have also raised the same issue in Garuda Linux Forum 
https://forum.garudalinux.org/t/topic/9150
They said it is a bug in KDE and I should report this bug to KDE Community. 


STEPS TO REPRODUCE
1. Just change the language of "date & time" to Hindi from settings. 
 

OBSERVED RESULT: ज ून*

EXPECTED RESULT जून


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Garuda Linux
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-06-09 16:17:56 UTC
Translation issue I guess.
Comment 2 Albert Astals Cid 2021-06-09 19:24:11 UTC
I doubt this is a translation issue given that running this

#include <QCoreApplication>
#include <QDate>
#include <QDebug>

int main(int argc, char **argv)
{
    QCoreApplication a(argc, argv);

    QDate d = QDate::currentDate();

    QLocale l(QLocale::Hindi);
    qDebug() << l.toString(d);
    qDebug() << l.standaloneMonthName(6, QLocale::LongFormat);
    qDebug() << l.standaloneMonthName(6, QLocale::ShortFormat);
    qDebug() << l.standaloneMonthName(6, QLocale::NarrowFormat);
}

gives the correct answers.

I would more bet something in plasma is not doing the correct thing.

If someone tells me how i can run the calendar widget standalone for easier debuggning i can try helping figuring out what's wrong.
Comment 3 Nate Graham 2021-06-09 19:38:28 UTC
Thanks Albert! Try this:

plasmawindowed --reverse org.kde.plasma.digitalclock

And then click on the clock text in the window that appears.
Comment 4 BlueAce 2021-06-13 16:54:22 UTC
(In reply to Nate Graham from comment #1)
> Translation issue I guess.

It's not a translation error as mentioned in the above comment by @Albert_astals_cid. 
Please check the screen shot link once again
https://i.imgur.com/1r0LDGQ.png

It looks like a writing mistake made by a 2 or 3 year old kid instead of translation error.
Both highlighted words in the screenshot should appear same. The word highlighted on the right hand side is correct. The issue is with the word on left hand side,

ज + ऊ = जू (true)
ज + ऊ = ज ु (false)
Comment 5 Nate Graham 2021-08-07 17:05:00 UTC
I see that you are actually using the 3rd-party Event Calendar widget. Does the issue reproduce with Plasma's own built-in Calendar or Digital Clock widgets?
Comment 6 BlueAce 2021-08-21 07:05:04 UTC
@Nate Graham, sorry for the late reply. When I checked the Latte Dock settings to re-arrange the widgets, I hovered over time and it shows 'Event Calendar'. So I assuming that the widget's  name is 'Event Calendar'. Please check the screenshot link given below for more information.
https://i.imgur.com/sp4TrBh.png
Comment 7 BlueAce 2021-08-21 07:12:10 UTC
I meant I hovered my mouse cursor on time. [Sorry for the typo]
Comment 8 BlueAce 2021-08-21 07:17:08 UTC
I have also recently updated my system by `sudo pacman -Syu` but the issue still remains.
Comment 9 BlueAce 2021-08-26 14:47:32 UTC
I have contacted [Garuda Linux Forum](https://forum.garudalinux.org/) and they said it is default KDE Date & Time Widget. There is no usage of any 3rd party software/widget.

Note: I haven't done any changes to widget. It came preinstalled with Garuda KDE  
(Dr460nized) Linux.
https://garudalinux.org/downloads.html

The problem is occuring with these months
Feb / फ़रवरी - https://i.imgur.com/3NdZMDI.png
Mar / मार्च - https://i.imgur.com/iFbXR2C.png
Jun / जून - https://i.imgur.com/iI45vwV.png
Jul / जुलाई - https://i.imgur.com/J6KYem1.png
Sep / सितंबर - https://i.imgur.com/y3GiXYY.png
Dec / दिसंबर - https://imgur.com/6iNRl7S
Comment 10 Bug Janitor Service 2021-09-10 04:36:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 BlueAce 2021-09-13 09:19:00 UTC
(In reply to Bug Janitor Service from comment #10)
> Dear Bug Submitter,
> 
> This bug has been in NEEDSINFO status with no change for at least
> 15 days. Please provide the requested information as soon as
> possible and set the bug status as REPORTED. Due to regular bug
> tracker maintenance, if the bug is still in NEEDSINFO status with
> no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
> due to lack of needed information.
> 
> For more information about our bug triaging procedures please read the
> wiki located here:
> https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging
> 
> If you have already provided the requested information, please
> mark the bug as REPORTED so that the KDE team knows that the bug is
> ready to be confirmed.
> 
> Thank you for helping us make KDE software even better for everyone!

Really? Didn't I already told everything about the problem?
Comment 12 BlueAce 2021-09-13 09:34:34 UTC
Ok I will try to explain it again.

> Is there any issue with the translation?
No, there isn't any issue with translation. Translation is fine. The problem is calander is not displaying the `Devnagri` Script in certain parts.

> Is there any third party software used?
No. There is no usage of any third party software. It's default KDE calendar widget (Confirmed by Garuda Linux Team).

> What is cause of Problem?
Not certain,  but I think it is related to unicode. Are you sure that 'code' for calendar widget is 'utf-8' encoded. If it is, then please test/debug:
 - Why devnagri script is not displaying properly? 

------------------------------------------------------------------------------
Is this information still not enough?
What do you really want to know? Do you want me to debug the widget myself?
Please clarify.
Comment 13 BlueAce 2021-09-13 09:36:49 UTC
(In reply to BlueAce from comment #12)
> Ok I will try to explain it again.
> 
> > Is there any issue with the translation?
> No, there isn't any issue with translation. Translation is fine. The problem
> is calander is not displaying the `Devnagri` Script in certain parts.
> 
> > Is there any third party software used?
> No. There is no usage of any third party software. It's default KDE calendar
> widget (Confirmed by Garuda Linux Team).
> 
> > What is cause of Problem?
> Not certain,  but I think it is related to unicode. Are you sure that 'code'
> for calendar widget is 'utf-8' encoded. If it is, then please test/debug:
>  - Why devnagri script is not displaying properly? 
> 
> -----------------------------------------------------------------------------
> -
> Is this information still not enough?
> What do you really want to know? Do you want me to debug the widget myself?
> Please clarify.

No, there isn't any issue with translation. Translation is fine. The problem
> is calander is not displaying the `Devnagri` Script correctly in certain parts.