Sign in with
Sign up | Sign in
Your question

Formatting Tag Bugs Galore

Last response: in Forum Feedback
Share
November 9, 2005 12:36:45 PM

Okay, I've found a number of bugs in recursive tags. It seems that if you use a color tag to color text, then use other tags, the text reverts back to black instead of staying colored. The color tag also seems to kill any size set by a size tag. (That's definately not a 24 pt font we're seeing.) Also you can't put a size tag within a size tag. There are probably plenty of other problems too. But suffice it to say that complex formatting is very much not possible right now.

Here's an example:
[code:1:27146bb97e]
Mew Mew style, Mew Mew grace,
Mew Mew power, in your face!

[/code:1:27146bb97e]

Mew Mew style, Mew Mew grace,
Mew Mew power, in your face!
November 9, 2005 12:42:54 PM

This example seems to indicate that the problem may mostly just be in the addition of color and size tags to the system. The standard b, i, u tags seem to work amongst themselves.

[code:1:403fbd97c8]
Yet another recursive tag test.
[/code:1:403fbd97c8]

Yet another recursive tag test.
November 9, 2005 2:46:32 PM

lol way to much time on your hands lol
Related resources
November 9, 2005 2:50:36 PM

Quote:
This example seems to indicate that the problem may mostly just be in the addition of color and size tags to the system. The standard b, i, u tags seem to work amongst themselves.

[code:1:85fdbb0cb5]
Yet another recursive tag test.
[/code:1:85fdbb0cb5]

Yet another recursive tag test.


Thanks, slvr. I guess a bit of lower priority.. I have to see if the problem is in the base phpbb code as well... but you 2nd message helps diagnosing it.
November 9, 2005 3:14:52 PM

Needs to be done - Now work!
November 9, 2005 4:01:24 PM

Quote:
Thanks, slvr. I guess a bit of lower priority.. I have to see if the problem is in the base phpbb code as well... but you 2nd message helps diagnosing it.
No prob. I'm a software engineer by day, so sometimes I just can't stop myself from trying to diagnose stuff. It drives my wife nuts some times. :mrgreen:

And yeah, I can't see this being too high of a priority. Heck, I wouldn't have even realized it if I hadn't tried to do crazy stuff with my autosig, so it's no surprise to me that it's been hiding. It'd be nice to be working one day, but the world won't exactly be crashing down anytime soon from it. Just something to look into when the big things are taken care of. ;) 
November 9, 2005 4:06:28 PM

Great. Being a s/w engineer, you understand the matter of s/w bug prioritization, which is great :wink:

FYI, anyone can look at my current work plan (sticky). Not resting, but have to vanquish bugs one at a time :lol: 
November 9, 2005 4:29:07 PM

Quote:
Testing is for the weak!


Don't tell that to our closed beta testers and new beta testers (you included). Discovering bugs is a skill not shared by all programmers. I have renewed respect for top notch testers.

But if one has programming skills, then that is probably what that person would rather do most.

[edit be steve: oops who did I post for you? I need to check into that :evil:  ]
November 9, 2005 4:41:58 PM

Quote:
Testing is for the weak!


Don't tell that to our closed beta testers and new beta testers (you included). Discovering bugs is a skill not shared by all programmers. I have renewed respect for top notch testers.

But if one has programming skills, then that is probably what that person would rather do most.

[edit be steve: oops who did I post for you? I need to check into that :evil:  ]

I am testing here.
November 9, 2005 4:47:16 PM

:lol:  I always knew that I had split personalities, but this is new even for me! :mrgreen:
November 9, 2005 4:50:33 PM

But I'll be ever so sad if I don't get the text that I actually posted back. :cry: 
November 9, 2005 4:52:45 PM

:? Not really. Like I care what the voices do. :roll:
November 9, 2005 4:54:13 PM

:oops:  Uh oh. I think I've lost it. No more coffee for me today. 8O
November 9, 2005 6:31:41 PM

Okay, I've managed to calm down. And in the process I noticed something else about the color tag.

If you look closely, this text is bigger than this text is.

To me it looks like the color tag doesn't even preserve the existing font information, but instead starts over from scratch. So maybe the b,i,u tags don't hold their color because the color tag is creating its own font variable instead of using a pointer to the existing font? (Or something like that?) This would also explain why the size tag doesn't change anything within colored text, because, again, the colored text is using a seperate new variable and the size tag is changing the size of the existing font variable.
!