Bug 2131516
Summary: | Sinhala letters shake, wobble and momentarily disappear and reappear when typing, sometimes with wrong cursor positions. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lohan G <lohang> |
Component: | pango | Assignee: | Peng Wu <pwu> |
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 39 | CC: | caillon+fedoraproject, fonts-bugs, gnome-sig, i18n-bugs, lohang, mclasen, mfabian, pnemade, pwu, rhughes, rstrode, sandmann, shawn.p.huang, tagoh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
Lohan G
2022-10-02 04:12:28 UTC
Created attachment 1915512 [details]
Two cursors?
The lines that appear on both sides of the letter, possibly a wrong cursor position or two cursors?
Created attachment 1915848 [details]
Something close to the expected result : ibus-typing-booster + LibreOffice
Shaking/wobbling doesn't occur with ibus-typing-booster; characters don't disappear and reappear. This is the closest to the expected outcome I could get on Fedora 37.
However, the cursor position issue (or two simultaneous cursors) can still be seen when typing in gedit.
I believe this two cursor thing is a pango problem. Created attachment 1915902 [details]
Small test file to show the double cursor problem.
The test file contains:
ම U+0DB8 SINHALA LETTER MAYANNA
ො U+0DDC SINHALA VOWEL SIGN KOMBUVA HAA AELA-PILLA
මො
If this is displayed in gedit and the cursor it positioned after the final character in the 3rd line, one sees a double cursor.
Created attachment 1915903 [details]
Video showing the problem using the test file sinhala-double-cursor-problem-test-text.txt in gedit
gedit sinhala-double-cursor-problem-test-text.txt
Then move the cursor to the end of the text and step backwards.
When the cursor is at the end of the text, double cursor is shown.
Which versions of pango and harfbuzz do you have installed? I currently have mfabian@fedora:~ $ cat /etc/fedora-release Fedora release 37 (Thirty Seven) mfabian@fedora:~ $ rpm -q pango harfbuzz pango-1.50.10-1.fc37.x86_64 harfbuzz-5.2.0-1.fc37.x86_64 mfabian@fedora:~ $ and I cannot reproduce the problem with the double cursor anymore. I can still reproduce it on Fedora 36 with these versions of pango and harfbuzz: $ rpm -q pango harfbuzz pango-1.50.9-1.fc36.x86_64 pango-1.50.9-1.fc36.i686 harfbuzz-4.0.0-2.fc36.x86_64 harfbuzz-4.0.0-2.fc36.i686 (In reply to Mike FABIAN from comment #6) > Which versions of pango and harfbuzz do you have installed? > > I currently have > > mfabian@fedora:~ > $ cat /etc/fedora-release > Fedora release 37 (Thirty Seven) > mfabian@fedora:~ > $ rpm -q pango harfbuzz > pango-1.50.10-1.fc37.x86_64 > harfbuzz-5.2.0-1.fc37.x86_64 > mfabian@fedora:~ > $ > > > and I cannot reproduce the problem with the double cursor anymore. > > I can still reproduce it on Fedora 36 with these versions of pango and > harfbuzz: > > $ rpm -q pango harfbuzz > pango-1.50.9-1.fc36.x86_64 > pango-1.50.9-1.fc36.i686 > harfbuzz-4.0.0-2.fc36.x86_64 > harfbuzz-4.0.0-2.fc36.i686 1) My Fedora 37 beta system has: [lohan@fedora ~]$ cat /etc/fedora-release Fedora release 37 (Thirty Seven) [lohan@fedora ~]$ rpm -q pango harfbuzz pango-1.50.11-1.fc37.x86_64 harfbuzz-5.2.0-1.fc37.x86_64 [lohan@fedora ~]$ It continues to show two cursors in gedit (with both ibus-m17n and ibus-typing-booster). 2) My Fedora 36 system has: [lohan@fedora ~]$ cat /etc/fedora-release Fedora release 36 (Thirty Six) [lohan@fedora ~]$ rpm -q pango harfbuzz pango-1.50.9-1.fc36.x86_64 harfbuzz-4.0.0-2.fc36.x86_64 [lohan@fedora ~]$ The double cursor issue continues in F 36 gedit. (with both ibus-m17n and ibus-typing-booster). I think the double cursor issue is improved in Fedora 37 recently, except for the following text: "ලිවීමේ" input by ",sjSfua" "අකුරු" input by "wlqrq" "අයුරු" input by "whqrq" For Fedora 36, after rebuild and install the harfbuzz 5.2.0 and harfbuzz-icu 5.2.0 package, the testing results is the same as Fedora 37. (In reply to Peng Wu from comment #8) > I think the double cursor issue is improved in Fedora 37 recently, except > for the following text: > > "ලිවීමේ" input by ",sjSfua" This one works for me in Fedora 36 and Fedora 37 > "අකුරු" input by "wlqrq" > "අයුරු" input by "whqrq" These two show the double cursor problem for me > For Fedora 36, after rebuild and install the harfbuzz 5.2.0 and harfbuzz-icu > 5.2.0 package, the testing results is the same as Fedora 37. I also tried that now and for me as well the testing results on Fedora 36 are the same as on Fedora 37 with harfbuzz 5.2.0 I tested Peng Wu’s merge request: https://gitlab.gnome.org/GNOME/pango/-/merge_requests/653 This fixes the problem of the double cursor in "අකුරු" input by "wlqrq" "අයුරු" input by "whqrq" I could find no obvious problems when playing with Arabic text in gedit, so I think this will probably not introduce regressions for Arabic. I have just tested Peng Wu’s latest patch in the merge request https://gitlab.gnome.org/GNOME/pango/-/merge_requests/653 i.e. this one: https://gitlab.gnome.org/GNOME/pango/-/merge_requests/653/diffs?commit_id=25e1fc02b69883909a38d60521f52d250c7f8737 and it also fixes the problem of the double cursor in "අකුරු" input by "wlqrq" "අයුරු" input by "whqrq" and I also could not find any obvious problems when playing with Arabic text in gedit. this will likely be fixed only when patch is merged in upstream. Not sure how much time it will take in upstream. Hence moving the target to fix this bug to rawhide. This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. |