Page 1 of 1

7.0 DP4 continued problems in RTL strings containing tabs

Posted: Fri May 23, 2014 5:11 pm
by asayd
My earlier bug report http://quality.runrev.com/show_bug.cgi?id=12177 was marked resolved as of DP4. However there are still problems in right-to-left text containing tabs.
See the stack at:
https://www.dropbox.com/s/vav0cb0kwf61z ... g.livecode

If you leave the field unlocked and click the button to enter Arabic text, you'll see the text appear in the field. The tabs appear to space out the text properly. However, try clicking around in the text and drag-selecting text. You may see unexpected behavior, including "phantom" characters appearing at the left end of the line of text. Next, try using the arrow keys to move around in the text. Again, unexpected behavior.

Devin

Re: 7.0 DP4 continued problems in RTL strings containing tab

Posted: Fri May 23, 2014 5:21 pm
by asayd

Re: 7.0 DP4 continued problems in RTL strings containing tab

Posted: Fri May 23, 2014 5:35 pm
by LCfraser
Hi Devin,

I'm not convinced that the problem is exclusive to text with tabs - there are still issues with our RTL text handling generally. As such, we've opened a separate bug report: http://quality.runrev.com/show_bug.cgi?id=12507

For example, the phantom characters are probably due to the selection highlight drawing code not working in certain situations rather than tab handling being incorrect. Cursor movement in RTL and mixed-direction text is a bit broken (the way we currently handle cursors makes deep assumptions about LTR text) and needs a revamp.

I'll re-close the original bug for now as the specific issue of tabs being incompatible with RTL text has been fixed. The other problems are just other things wrong with our RTL support ;)

Regards,
Fraser

Re: 7.0 DP4 continued problems in RTL strings containing tab

Posted: Fri May 23, 2014 5:48 pm
by asayd
Thanks Frazier,
Do you need details added to the new bug report, or do you know what the issues are?

Devin

Re: 7.0 DP4 continued problems in RTL strings containing tab

Posted: Fri May 23, 2014 5:50 pm
by LCfraser
The test stack you supplied should be enough. If not, I'll get back to you for more details.