FixedFont attribute in TextEditor broken or?

Discuss GUI programming with the MUI Royale plugin here
marko
Posts: 56
Joined: Wed Dec 15, 2010 5:19 pm
Contact:

FixedFont attribute in TextEditor broken or?

Post by marko »

The FixedFont attribute in TextEditor doesn't seem to work, I have like this:

Code: Select all

<texteditor id="myte" WrapMode="nowrap" FixedFont="true" ScrollBar="true" contents="enter text" cyclechain="1"/>
Or am I doing it wrong? :)
AmigaOS 4.1 on Sam440ep-flex@800MHz
http://www.m4rko.com/amiga
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: FixedFont attribute in TextEditor broken or?

Post by airsoftsoftwair »

Doesn't work here either. You have to report this to the TextEditor.mcc team. Tell them MUIA_TextEditor_FixedFont is not working.
marko
Posts: 56
Joined: Wed Dec 15, 2010 5:19 pm
Contact:

Re: FixedFont attribute in TextEditor broken or?

Post by marko »

Ok, I'll report to them, good that the bug got confirmed through.

Thanks for the fast reply :)
AmigaOS 4.1 on Sam440ep-flex@800MHz
http://www.m4rko.com/amiga
marko
Posts: 56
Joined: Wed Dec 15, 2010 5:19 pm
Contact:

Re: FixedFont attribute in TextEditor broken or?

Post by marko »

You have to report this to the TextEditor.mcc team. Tell them MUIA_TextEditor_FixedFont is not working.
Done, I made a Ticket on their TextEditor tracker just now.
AmigaOS 4.1 on Sam440ep-flex@800MHz
http://www.m4rko.com/amiga
User avatar
tboeckel
Posts: 38
Joined: Fri Jun 06, 2014 6:17 am
Location: Germany

Re: FixedFont attribute in TextEditor broken or?

Post by tboeckel »

@marko

If TE.mcc ticket #111 was opened by you then it is missing the absolute minimum required information. You just stated "it doesn't work", nothing else. No version, no operating system, no code snippet, nothing. This is not how bug reports are going to result in a fix for the problem. And you opened the ticket anonymously which makes it impossible for us to ask any further questions, because you will get no notification.

I cannot tell how Hollywood converts its own object description to a bunch of attributes for the NewObject() call, so it is hard to tell where the problem is located exactly. YAM is the proof that the attribute is working. You can switch all read/write instances of TE.mcc to fixed fonts and this is definitely working. But it cannot be changed on the fly for an already existing object. MUIA_TextEditor_FixedFont can be set at object creation time only.
marko
Posts: 56
Joined: Wed Dec 15, 2010 5:19 pm
Contact:

Re: FixedFont attribute in TextEditor broken or?

Post by marko »

@tboeckel

Hi, yes ticket #111 was opened by me. Yes I know, sorry I forgot to provide some info as well, I was little tired at that moment haha ;)

But I did reply to that message and it is currently marked as "Post awaiting moderation." as seen here: http://sourceforge.net/p/texteditor-mcc/bugs/111/

Luckily, I got my reptly still stored (in a TextEditor on my Win box ;) )

Anonymous wrote 1 day ago:
Oh sorry, I relize that now ;)

TextEditor 15.43 (18.12.2013) on AmigaOS 4.1 Update 6.

But I found a more recent version on OS4Depot now, and installed it to:

TextEditor 15.45 (05.04.2014)

But still no FixedFont.

/Marko Seppänen
AmigaOS 4.1 on Sam440ep-flex@800MHz
http://www.m4rko.com/amiga
marko
Posts: 56
Joined: Wed Dec 15, 2010 5:19 pm
Contact:

Re: FixedFont attribute in TextEditor broken or?

Post by marko »

@tboeckel
And you opened the ticket anonymously which makes it impossible for us to ask any further questions, because you will get no notification.
I don't usually hang on SourceForge and I did not want to open "yet another account to keep track on among loads of them".

But then it hit me, I DO actually have an account there, so I created a NON-anonymous second ticket #112, "No Horizontal ScrollBar when autowrapping is OFF".

Here:
http://sourceforge.net/p/texteditor-mcc/bugs/112/
AmigaOS 4.1 on Sam440ep-flex@800MHz
http://www.m4rko.com/amiga
marko
Posts: 56
Joined: Wed Dec 15, 2010 5:19 pm
Contact:

Re: FixedFont attribute in TextEditor broken or?

Post by marko »

@Andreas
I cannot tell how Hollywood converts its own object description to a bunch of attributes for the NewObject() call, so it is hard to tell where the problem is located exactly.
I believe this is something for Andreas to meditate on :)

@tboeckel
You can switch all read/write instances of TE.mcc to fixed fonts and this is definitely working. But it cannot be changed on the fly for an already existing object. MUIA_TextEditor_FixedFont can be set at object creation time only.
Ok, I can try to do that...

*testing*

Yes, "switch all read/write instances of TE.mcc to fixed fonts" works, I managed to get fixed font in the TextEditor now :D Thanks for the tip :)

However, I can say that the FixedFont attribute in TE doesn't seem to have effect, I can set it to false and get Fixed font when Area Font is set to Fixed. If that is Hollywood or MUI TextEditor itself to fault I don't know...
But I got fixed font in the Editor now anyway :)
AmigaOS 4.1 on Sam440ep-flex@800MHz
http://www.m4rko.com/amiga
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: FixedFont attribute in TextEditor broken or?

Post by airsoftsoftwair »

I still can't get this to work but I've prepared a little demo program for tboeckel. So let's see what comes out of this.
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: FixedFont attribute in TextEditor broken or?

Post by airsoftsoftwair »

Working now here. You have to make sure that you configure a fixed font in the TextEditor.mcc MUI prefs because there is *no* default one and also no fallback to MUI's fixed font! So you have to explicitly configure a fixed font in the TextEditor.mcc prefs or it's not going to work.
Post Reply