Created attachment 90664 [details]
mr_IN oowriter rendering issue.
Description of problem:
When user enters marathi input in search box in libre office applications like oowriter, oocalc, the rendering of the same is improper.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.select input language as marathi.
3.enter marathi input in search box
4.observe the rendering of marathi input.
marathi input rendering is improper.
marathi input rendering should be proper.
This issue is observed in all indic locales. Hence updating the summary accordingly.
Created attachment 108447 [details]
Screenshot of finding marathi text
I observe no problem.
Please test with latest stable and provide a sample document so I can test.
Created attachment 108503 [details]
mr_IN rendering in oowriter
Tested with following build at Fedora 21 using mr_IN locale. (VM environment)
बिल्ड ID: 18.104.22.168-5.fc21
Still observing the same issue. Please see attached latest screen-shot.
There is nothing specific about the input in mr_IN used here but some random input of 8-10 characters in the search text field. For e.g. ीावनूलेूीलेगवूीेूवै.
Copying these characters as it is would work fine. However if you add some more characters at succeeding places or select the whole string, the issue can be seen clearly.
(In reply to bbarve from comment #3)
> There is nothing specific about the input in mr_IN used here but some random
> input of 8-10 characters in the search text field. For e.g.
> Copying these characters as it is would work fine. However if you add some
> more characters at succeeding places or select the whole string, the issue
> can be seen clearly.
Tried again with the characters you provided and it's fine. Maybe this is a Linux-only issue? Can you try on some Windows machine?
Not reproducible for me with LO 22.214.171.124.0+ built at home under Ubuntu 15.10 x86-64. As the reporter did, I used Lohit Devanagari font to do my tests.
Best regards. JBF
please give an update of this bug status using latest LibO 126.96.36.199
if bug is still there revert status to UNCONFIRMED
if bug is gone change it to RESOLVED WORKSFORME
status NEEINFO until then
Dear Bug Submitter,
This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.
For more information about our NEEDINFO policy please read the
wiki located here:
If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
Thank you for helping us make LibreOffice even better for everyone!
Checked again with f25-
[bbarve@dhcp223-127 ~]$ rpm -qa libreoffice-core
Following were the repro steps-
1. Launch oowriter
2. input following text in mr_IN in search bar - 'वाढदिवसाच्या हार्दिक शुभेच्छा'
3. select the last word i.e 'शुभेच्छा' by double-clicking it.
4. Observe the rest of the words in the search bar.
The rendering of the Marathi characters is affected as long as they are selected.
The rendering should be proper.
The issue is clearly reproducible. Please refer attached screenshots.
Created attachment 134526 [details]
Created attachment 134527 [details]
reproducible under Win7 x64 using LibO 188.8.131.52.alpha0+
Build ID: d7a2fd3e8262b8897ad06f01f25f46330e050e0c
CPU threads: 8; OS: Windows 6.1; UI render: GL;
TinderBox: Win-x86@42, Branch:master, Time: 2017-07-20_08:26:15
Locale: it-IT (it_IT); Calc: group
status -> NEW
hardware -> All
Created attachment 138155 [details]
Incorrect rendering of devanagari text in Find box
Verified on Devuan Jessie
Build ID: 92a7159f7e4af62137622921e809f8546db437e5
CPU threads: 2; OS: Linux 3.16; UI render: default; VCL: gtk2;
Locale: en-US (en_IN); Calc: group
Issue seems to happen with Short I vowel sign ि , which combines with consonant preceding it. Though certain other sequences also dont render properly - like the second word in search box (Browser written in Hindi)
Search box contains following text.
कंप्यूटिंग ब्राउज़र उद्धारक समर्थन हिंदी
This is not just about the search box. This happens with all the text boxes in LibreOffice. SO something to do with the selection overlays in general.
Created attachment 139946 [details]
Hindi text sample for previous image attached
Hindi text sample for previous image attached by me.
So, we looked at this in a local LibreOffice Hackathon and have found the relevant piece of code responsible for this. The selection offsets for consonants with a negative vowel offset are not being calculated correctly. Just dumping the notes here, so that even if we are not able to make it by the end of the hackathon, I or somebody else can pick it up sometime later.
I was testing this for Hindi word: प्रसारित which consists of 8 characters.
When this is selected in searchbox, the second last character is not selected.
The code is in Edit::ImplRepaint() in vcl/source/control/edit.cxx
Look for this loop:
// selection is highlighted
for(sal_Int32 i = 0; i < nLen; ++i)
tools::Rectangle aRect(aPos, Size(10, nTH));
aRect.Left() = pDX[2 * i] + mnXOffset + ImplGetExtraXOffset();
aRect.Right() = pDX[2 * i + 1] + mnXOffset + ImplGetExtraXOffset();
SAL_DEBUG("i : " << i << ", rect: " << aRect);
The loop gives following output:
debug:2909:2909: i : 0, rect: 7x17@(2,4)
debug:2909:2909: i : 1, rect: 0x17@(9,4)
debug:2909:2909: i : 2, rect: 0x17@(9,4)
debug:2909:2909: i : 3, rect: 10x17@(9,4)
debug:2909:2909: i : 4, rect: 3x17@(19,4)
debug:2909:2909: i : 5, rect: 3x17@(22,4)
debug:2909:2909: i : 6, rect: 0x17@(25,4)
debug:2909:2909: i : 7, rect: 8x17@(32,4)
As one can see, there's a rectangle of 0x17 for i = 6. And there's a gap from 25 to 32. If we explicitly set it such that there's no gap, things work as expected.
Surely this is not the right solution but atleast something.
Character U+093F Devanagari Vowel Sign I is where it breaks.
In visual order the glyph for this character shows before the consonant it is placed after.
हिंदी ह ि ं द ी
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
Reproduced. (But only when the text in search bar is selected)
Version: 184.108.40.206 (x64) / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 1; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US