Bug 1938091 - Kasumi-unicode: Check for only hiragana letters in reading column fails as user can input non-hiragana characters in it.
Summary: Kasumi-unicode: Check for only hiragana letters in reading column fails as us...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kasumi
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-12 07:04 UTC by Bhushan Barve
Modified: 2022-03-03 16:07 UTC (History)
2 users (show)

Fixed In Version: kasumi-2.5-37.fc37 kasumi-2.5-37.fc36 kasumi-2.5-37.fc34 kasumi-2.5-37.fc35
Clone Of:
Environment:
Last Closed: 2022-02-22 04:45:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
kasumi unicode non-hiragana letters (98.63 KB, image/png)
2021-03-12 07:04 UTC, Bhushan Barve
no flags Details

Description Bhushan Barve 2021-03-12 07:04:12 UTC
Created attachment 1762901 [details]
kasumi unicode non-hiragana letters

Description of problem: In the kasumi-unicode dict, there is a message which pops-up if user tries to input non-hiragana characters like kanji or katakana.

However this check is not consistent as user can input other non-hiragana input like English words, letters, numbers etc. This can be done using any mode in Anthy like hiragana or direct input. Attaching screenshot for reference.


Version-Release number of selected component (if applicable):
Fedora 34
kasumi-unicode-2.5.33.fc34

How reproducible:
always

Steps to Reproduce:
1. Run /usr/bin/kasumi-unicode from terminal
2. click on add
3. add a jpn word in any script under first column i.e. words
4. hit tab and enter to input in the second column i.e. reading
5. In hiragana mode, input 'k' and hit enter
6. click on save.

Actual results:
user is ablke to input non-hiragana input in reading column

Expected results:
The check for non-hiragana input should be consistent.

Additional info:

Comment 1 Jens Petersen 2022-02-14 09:39:15 UTC
Thanks for reporting this - I am not sure if it is a bug.

Rather personally I find the names of the columns a bit confusing in English:
maybe the Japanese is better I dunno.

Non-hiragana "sounds" (input strings) do seem to work.
To me output and input would be clearer names for "Spelling" and "Sound"
but that might be oversimpling.

Comment 2 Jens Petersen 2022-02-14 12:01:36 UTC
Okay ya so the Japanese is 単語 (word) and 読み (reading):
that is probably understandable to Japanese speakers anyway.

Maybe we can improve the English wording.

Comment 3 Akira TAGOH 2022-02-15 05:08:25 UTC
Well, The message seems not right. There are some exception in characters allowed in "sounds". ASCII characters is one of them. but one in your steps to reproduce is actually a full-width alphabet characters which isn't allowed there.

Comment 4 Bhushan Barve 2022-02-15 09:39:57 UTC
(In reply to Akira TAGOH from comment #3)
> Well, The message seems not right. There are some exception in characters
> allowed in "sounds". ASCII characters is one of them. but one in your steps
> to reproduce is actually a full-width alphabet characters which isn't
> allowed there.

Yes, the message seems confusing -'Sound must consist of only hiragana characters. You have entered invalid character:日'

Comment 5 Bhushan Barve 2022-02-15 09:49:59 UTC
(In reply to Bhushan Barve from comment #4)
> (In reply to Akira TAGOH from comment #3)
> > Well, The message seems not right. There are some exception in characters
> > allowed in "sounds". ASCII characters is one of them. but one in your steps
> > to reproduce is actually a full-width alphabet characters which isn't
> > allowed there.
> 
> Yes, the message seems confusing -'Sound must consist of only hiragana
> characters. You have entered invalid character:日'

I mean the first part i.e. 'Sound must consist of only hiragana  characters'

Comment 6 Jens Petersen 2022-02-15 11:11:42 UTC
(In reply to Bhushan Barve from comment #5)
> I mean the first part i.e. 'Sound must consist of only hiragana  characters'

Maybe we could just remove that sentence?

Comment 7 Bhushan Barve 2022-02-15 13:15:10 UTC
(In reply to Jens Petersen from comment #6)
> (In reply to Bhushan Barve from comment #5)
> > I mean the first part i.e. 'Sound must consist of only hiragana  characters'
> 
> Maybe we could just remove that sentence?

Sure, would be fine. Good to mention allowed inputs may be in such cases?

Comment 8 Akira TAGOH 2022-02-22 04:21:54 UTC
Let's drop that sentence.

Comment 9 Fedora Update System 2022-02-22 04:44:53 UTC
FEDORA-2022-ea19d44805 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ea19d44805

Comment 10 Fedora Update System 2022-02-22 04:45:43 UTC
FEDORA-2022-ea19d44805 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2022-02-22 06:11:16 UTC
FEDORA-2022-862605a95e has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-862605a95e

Comment 12 Fedora Update System 2022-02-22 06:12:45 UTC
FEDORA-2022-862605a95e has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2022-02-22 06:36:20 UTC
FEDORA-2022-1295e73320 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-1295e73320

Comment 14 Fedora Update System 2022-02-22 06:50:40 UTC
FEDORA-2022-2bdb833733 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2bdb833733

Comment 15 Fedora Update System 2022-02-23 15:50:34 UTC
FEDORA-2022-2bdb833733 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-2bdb833733`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-2bdb833733

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2022-02-23 16:07:44 UTC
FEDORA-2022-1295e73320 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-1295e73320`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-1295e73320

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2022-03-03 15:50:27 UTC
FEDORA-2022-2bdb833733 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2022-03-03 16:07:42 UTC
FEDORA-2022-1295e73320 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.