RTFText problem

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Contact:

RTFText problem

Post by Neurox66 » Wed Feb 12, 2014 4:00 pm

Hi,
now I'm translating my iPhone app to Android but I've a problem.
I use RTF data, if I set the rtf code into text field in Android, this text non appear.
I've replicated the error:
Create a new stack
put a text field named "fieldRTF" into card
put a button into card
this code is for the button:

Code: Select all

on mouseUp
   put "{\rtf1\mac {\fonttbl{\f0\fnil \fcharset77 Lucida Grande;}{\f1\fnil \fcharset77 Arial;}}{\colortbl;\red0\green0\blue0;\red55\green118\blue214;\red0\green0\blue0;}\pard \qc \b \f0 \fs34 \cf2 Porte aperte alla CDS System}" into tRTFtext
   set the RTFtext of field "fieldRTF" to tRTFtext
end mouseUp
The RTF text is displayed with iPhone but not displayed in Android.

Any hints?

Thanks,
Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it

Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Contact:

Re: RTFText problem

Post by Neurox66 » Fri Feb 21, 2014 5:45 pm

Hi,
The issue has been posted as a bug report, which has been confirmed.
I'll provide updates here.

Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: RTFText problem

Post by MaxV » Mon Feb 24, 2014 5:23 pm

the htmlText property works well on android
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Contact:

Re: RTFText problem

Post by Neurox66 » Tue Feb 25, 2014 7:53 am

Thanks MaxV for the news,
but I want use the RTFText function :)
Yesterday I've the tested my code with simulator (AVD 2.2, 4.0.3, 4.2.2, 4.3, 4.4.2) and
real hardware (Devo Evodroid 7.1, Samsung Galaxi Tab 3, Lenovo Yoga and Mediacom Smart Pad 7)
and nothing see of the RTFText

Regards,
Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it

MWCoastMedia
Posts: 32
Joined: Fri Jan 16, 2015 5:31 pm

Re: RTFText problem

Post by MWCoastMedia » Wed Jul 01, 2015 2:37 pm

*bump*

I'm having the same problem in 7.0.5 and 7.0.6.

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: RTFText problem

Post by LCNeil » Wed Jul 01, 2015 2:44 pm

Hi all,

A fix for this issue is underway and should be available soon. More information on it can be found here-

http://quality.runrev.com/show_bug.cgi?id=11803

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-

Post Reply