7.0 DP4 continued problems in RTL strings containing tabs

Discussion about LiveCode Global Jam events and activities

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Locked
asayd
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Mon Apr 10, 2006 7:02 pm
Location: Provo, Utah, USA
Contact:

7.0 DP4 continued problems in RTL strings containing tabs

Post by asayd » Fri May 23, 2014 5:11 pm

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
Devin Asay
Learn to code with LiveCode University
https://livecode.com/store/education/

asayd
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Mon Apr 10, 2006 7:02 pm
Location: Provo, Utah, USA
Contact:

Re: 7.0 DP4 continued problems in RTL strings containing tab

Post by asayd » Fri May 23, 2014 5:21 pm

Devin Asay
Learn to code with LiveCode University
https://livecode.com/store/education/

LCfraser
Livecode Staff Member
Livecode Staff Member
Posts: 71
Joined: Thu Nov 28, 2013 11:18 am
Contact:

Re: 7.0 DP4 continued problems in RTL strings containing tab

Post by LCfraser » Fri May 23, 2014 5:35 pm

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

asayd
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Mon Apr 10, 2006 7:02 pm
Location: Provo, Utah, USA
Contact:

Re: 7.0 DP4 continued problems in RTL strings containing tab

Post by asayd » Fri May 23, 2014 5:48 pm

Thanks Frazier,
Do you need details added to the new bug report, or do you know what the issues are?

Devin
Devin Asay
Learn to code with LiveCode University
https://livecode.com/store/education/

LCfraser
Livecode Staff Member
Livecode Staff Member
Posts: 71
Joined: Thu Nov 28, 2013 11:18 am
Contact:

Re: 7.0 DP4 continued problems in RTL strings containing tab

Post by LCfraser » Fri May 23, 2014 5:50 pm

The test stack you supplied should be enough. If not, I'll get back to you for more details.

Locked

Return to “LiveCode Global Jam”