Feature Requests item #1154026, was opened at 2005-03-01 01:43
Message generated for change (Comment added) made by lschiere
You can respond by visiting: 

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: win32
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Tom Stroman (tstroman)
Assigned to: Daniel Atallah (datallah)
Summary: Warn when posting large clipboard contents.

Initial Comment:
System: Gaim 1.1.4, Windows XP SP2, Athlon XP 2000+,
1GB PC133

This is a pretty avoidable problem, but I discovered
that attempting to paste several megabytes of text into
a conversation causes the program to jump to 100% CPU
usage and lock up for at least an extended period of
time. It's possible that after a few minutes it might
have finished "thinking" but overall it would be useful
if gaim could determine in advance whether the
clipboard contents are too large to be sent as an IM
anyway and prompt for paste confirmation before proceeding.


Comment By: Luke Schierer (lschiere)
Date: 2007-04-20 11:00

Logged In: YES 
Originator: NO

As we are closing this tracker, please submit any feature request that is
still valid to http://developer.pidgin.im.  Thanks. 


Comment By: Daniel Beardsmore (uilleann)
Date: 2005-03-10 03:55

Logged In: YES 

One would assume -- hope, at least -- that gaim is aware of
each protocol's various message length limitations. For
example, ICQ OSCAR uses (and I'm trying to remember here
from my Macintosh ICQ days) approximately 1024 characters
maximum for online users, and 512 characters maximum for
offline users (stored on their server). IRC has a limit of
40 words or something, it's been even longer since I read
that detail in the RFC :)

If you follow the behaviour of Mac AIM, I think it tells you
to piss off if you try pasting more physical text than can
be sent at once (different I think to the limited once it
has generated all the HTML and calculated the length of
that). Mac ICQ simply chops off the end of what you're
pasting to fit in the message length. Which is actually
really annoying as it makes it so hard to send a long piece
of text as several messages, you have to work out where it
cut it off, and go back and copy it again starting from the
unsent part.

But I would imagine that, for a message that's too long,
gaim would automatically split it across multiple messages
(the split performed humanly, i.e. don't chop words in
half). If it's going to need, say, 10 messages or more, ask
the user if they really want to send that much text, tell
them it will need x messages. A meg of pasted text might
need a LOT of messages, that would alert them. Thing is, I'd
imagine this check would be done on send, not on paste, so
you'd still get a crash first :(

As an aside, Mac ICQ also displays a cute little progress
bar (wrong widget for the job, but hey...) in conversation
windows, showing you the percentage of available message
space used, so you know how much more you can type. It would
be cool to see that in gaim, especially for IRC, as I tend
to have very involved conversations using long sentences and
have no idea where IRC is going to truncate the message :)
But that's probably more a plugin-based improvement...


Comment By: Daniel Atallah (datallah)
Date: 2005-03-09 21:26

Logged In: YES 

I'm inclined to call this a feature request because it seems
like more of a user error than a gaim bug.  That and I can't
think of any non hackish way to do anything about it.


Comment By: Daniel Beardsmore (uilleann)
Date: 2005-03-02 18:38

Logged In: YES 

(*awards the original posting Score 4: Funny*)

I assume you are pasting in this content by *accident* :) Of
course, computers should try to be tolerant to innocent
mistakes. Firefox for example does not always copy something
I asked it to copy (grr!) so that could easily result in
previous clipboard text being pasted into gaim.

It's more funny if you paste it into an IRC channel by
mistake though :)


You can respond by visiting: 

This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
Gaim-features mailing list

Reply via email to