Adium

Ticket #6472 (closed enhancement: fixed)

Opened 3 years ago

Last modified 7 months ago

Latex plug-in sending bug

Reported by: ArrowDebreu Owned by: nobody
Milestone: Component: Plugin
Version: 1.0.1b Severity: normal
Keywords: Latex sending Plug-in Cc:
Patch Status:

Description

- protocol: icq and msn
- adiumx: 1.0.1b // mac os x 10.4.8
- no console.app output
- language: german
- visual issue:

Bug description:

If someone sends me a latex equation, equation service starts in the background, I get it displayed as a formula. If I send the same to the other person, equation service starts, an empty line is displayed. In the background Adium tries to send an attachment but fails to deliver. In addition, the other guy does not see any offer to accept or reject the file.

Change History

Changed 3 years ago by seedy

Same problem here.... (also in jabber, I think its an protocol-independend problem)

I think it should work like if you write an equation to someone (enclosed in $$) it should be delivered in "source" and your partner's IM Client should worry about how to display it correctly.
So the Problem seems to be, that not only $$ terms in the "message history" are sent to the equation service plugin but also the ones from the typing line, which leads to translating them into pdf, which then adium tries to deliver as file in a direct connection(?), which doesn't work.

--> Equation Service should only be called for $$ terms that appear in the "history" above the typing line...

Changed 3 years ago by jas8522

  • patch_status set to None
  • milestone set to Needs feedback from users

Still a problem in 1.0.2? If it is, please try the latest beta at  http://adiumx.com/beta and check the debug log (Adium menu -> debug window) for any relevant information and attach it here.

Changed 3 years ago by sightless

I have just begun to use the Equation Service and am experiencing this same undesirable behaviour in 1.0.2. (If I have some time I will download the beta and have a try, but not right at the moment.)

It is quite bizarre. I use AIM to test it, as I have two AIM accounts and it works with image IM so the images aren't file transfers all the time. When I type an $$ equation $$, it appears in the sender's window, and when clicked the source appears; it appears in the receiver's window also, after a direct connection is established, but can't be clicked to reveal source. The really strange thing is that the source appears in both logs (sender and receiver), and if the conversation window is closed and reopened the equations appear in the message history and are clickable to reveal source for both (sender and receiver).

Ideally, the behaviour would be to send the source if Adium somehow knew the client could interpret it, but send the images if not, so you could send equations to LaTeX-illiterate contacts. At the moment I'm unsure what it's doing; it tries to send PNGs on MSN, and presumably does send PNGs across AIM, and then I suppose it must be 'disassembling' them to recover the source to store in the logs. Is that plausible? Or is something else going on?

Ben.

Changed 3 years ago by seedy

I've just tested this with 1.0.3. Problem is better in some way, but it still trys to send a png file everytime, but this now works, and it is displayed in the window as: "Offering to send $$y=x2$$.png to" (as picture and as filename when U click on it) (Maybe thats it, what confuses you, Ben, because the filename of the png is the source of the equation, and maybe thats why U can see it in the AIM-logs on the other side )

I also think like Ben, that sending a picture is a good thing, but it should be optional. I could imagine, that finding out if the other side can interpret Latex is a difficult thing, so it should be a configuration option, and the default should be to send the source (cause file transfers often don't work)

Changed 3 years ago by jas8522

  • status changed from new to closed
  • type changed from defect to enhancement
  • resolution set to fixed

I'm not sure how viable that is.. I think it best to close this for now - if someone wishes to take on the feature to do that kind of check, then they can comment and it will be re-opened.

Changed 3 years ago by evands

  • status changed from closed to reopened
  • resolution fixed deleted
  • pending set to 0
  • milestone changed from Needs feedback from users to Good idea for "later"

The behavior's not perfect... I don't think we should close the ticket based on the suggested solutions thus far not being perfect, either.

Changed 22 months ago by djmori

Changed 17 months ago by rgovostes

  • status changed from reopened to closed
  • resolution set to fixed

I don't think this is relevant anymore.

Changed 17 months ago by evands

It's not, since the plugin acts as display-only now. That's kinda suboptimal, too... too bad we can't send both image and text in a reliable way :\

Changed 7 months ago by Robby

  • milestone Good idea for "later" deleted

Milestone obsolete

Note: See TracTickets for help on using tickets.