Links with <br /> suffix, window draw speed

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
Sirius
Latté
Posts: 55
Joined: Mon Jan 24, 2005 7:34 pm
Location: Lost in my own mind...

Links with <br /> suffix, window draw speed

Post by Sirius »

Many times when i click or drag a link from a chat window to a browser, Adium seems to add the suffix <br /> to the link. I'm assuming this end tag is due to the html/java nature of adium (as far as i know), but this is certainly a bug that the <br /> shows up as part of a link.

A few questions I also have regarding this:
1. Isn't the end tag </br> rather than <br />?
2. Why bother having the end tag anyway? It's optional isn't it?

Also regarding the underlying code for adium, is there any way that we can reduce the time it takes to draw? It is slightly annoying that when a chat window pops up or when someone sends a message, it takes around 2 seconds for the window to re/draw, and a further 2 to 30 seconds until i can interact with the window (make it active to see the message, or type to reply).
This gets particularly bad during high activity within adium, such as 3-4 IMs cocurrently, a group chat, multiple people changing status and mail notifications and/or error dialogs popping up, all at the same time. It often ends up that adium gets the spinning beach ball for anywhere from 10 seconds to 2+ minutes. It eventually gets frustrating when whatever i say is only sent after the topic had (long ago) moved on, which then means i have to send an explanation for the out-of-place message.

Not to be rude or anything, since i know my computer is pretty damn slow by today's standards (400mhz imac :roll: ), but can we make it so we see less spinning beach balls and more screen updates? Many thanks, much appreciated.
PS I'm not aware of any minimum requirements for Adium other than Mac OS X, so correct me if i'm wrong.
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

In all fairness you are eking out OS X and to ladle a bunch of graphical tasks onto the processor, since you don't have sufficient GPU support, will always bog you down. The only real solution in your case would be to disable WebKit, to disable animations and notifications and run with only minimal settings. It's not a flaw in Adium, it's your hardware.

No real GPU support + low CPU availability + likely low to medium RAM (note OS X requires 128 MB to run comfortably) = low performance.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

I haven't seen the <br /> problem.. what protocol? Where are the links (message window, profile, etc)?

And yeah, I have to echo what Brian said about performance... though we are continuously working to improve Adium's responsiveness on -any- system.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
User avatar
TheSilverFox06
Grandé
Posts: 770
Joined: Fri Dec 03, 2004 10:16 pm
Location: St. Paul, MN

Post by TheSilverFox06 »

bgannin wrote:note OS X requires 128 MB to run comfortably)
Actually, OS X requires 128 MB to run AT ALL. Most systems with the minimum amount of RAM run quite choppy. If you ask me, running "comfortably" would require at least 256 MB, if not 512 MB
simply258
Harmless
Posts: 2
Joined: Tue Feb 08, 2005 10:16 pm

Post by simply258 »

I have the same problem .. when i click a link it open in the browser with that br tag at the end of it .. on msn .. i think i noticed it happens when someone's hit Shift-Return after the link so that the cursor is on a new line within that same message
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

"<br />" is the XHTML way of saying "<br>" in HTML

I never saw "</br>" before
Blog | X(tras)
Communists code without classes.
tovaac
Harmless
Posts: 1
Joined: Thu Feb 10, 2005 8:19 am

Post by tovaac »

I see these extra <br /> characters quite a lot, and I may be wrong, but I think they only appear if the link is followed by a new
line. The links are fine when they are on a single line.

For example:

Code: Select all

http://www.abc.net.au/children/bananas/default.htm

I saw those on television once. Did YOU?
would add the extra <br /> tag (on MSN, don't know about the other services)
User avatar
nanovivid
Frappa
Posts: 137
Joined: Fri Dec 03, 2004 10:13 pm

Post by nanovivid »

zaudragon wrote:"<br />" is the XHTML way of saying "<br>" in HTML

I never saw "</br>" before
<br /> is XML shorthand for <br></br>. Everyone writes it as <br /> because the other way looks silly. ;)
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

<br> is the way HTML Transitional likes it.

HTML has no "<br />" tag!
Blog | X(tras)
Communists code without classes.
kewpid
Harmless
Posts: 1
Joined: Mon Dec 13, 2004 12:49 pm
Location: Sydney
Contact:

Post by kewpid »

XHTML does have the <br /> tag however :)
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

I said that in the beginning, but you're right.

There is a "<br />" tag in XHTML
Blog | X(tras)
Communists code without classes.
nitrox
Frappa
Posts: 160
Joined: Sat Dec 04, 2004 10:38 am
Location: Kansas of Cities
Contact:

Post by nitrox »

.... <br /> is the xHTML link break command. HTML 4.x and prior is just <br> and there is no closing tag. that being why there is a " /" in xHTML. new rules require that ALL tags close including img, link, etc.

just to clear it all up :)
evands is my hero
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

It's because XHTML is just an XML wrapper for HTML.

XHTML uses the same tag format as XML.
Blog | X(tras)
Communists code without classes.
User avatar
Catfish_Man
Cocoaforge Admin
Posts: 1203
Joined: Thu Dec 02, 2004 6:30 am
Location: Portland, Oregon
Contact:

Post by Catfish_Man »

...and if people don't close their tags in XHTML I will hunt them down and kill them in the night...



:P
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

Or at least not display right :P

And not be "valid!"
Blog | X(tras)
Communists code without classes.
Post Reply