Adium

Opened 14 years ago

Closed 13 years ago

#5493 closed defect (fixed)

inline images get cached on the sender side, even if file is updated

Reported by: adium Owned by: evands
Milestone: Adium X 1.1 Component: Service/AIM
Version: Severity: minor
Keywords: inline image cached sender Cc: piotr.banasik@…
Patch Status:

Description

Here is a scenario ..

  1. take a screenshot (Picture 1.png) on your desktop
  2. drag this file into a chat with someone .. great both of you see the image ..
  3. delete the image on your desktop
  4. take another screenshot (it'll once again be called Picture 1.png)
  5. drag this file into the chat again .. and here is where it gets messy ..
    • you as the sender see the FIRST image inline
    • the receiver sees the new image

if this is repeated without deleting the first screenshot, and sending Picture 2.png .. it works great .. so it looks like something gets cached on the sender side

(please assign an appropriate component to this as I've no idea where it may be)

Attachments (2)

Picture 2.png (49.4 KB) - added by Piotr Banasik 13 years ago.
my side, has first send, second send, and the drag of the image to the chat
TEMP-Image_18_18.png (57.0 KB) - added by Piotr Banasik 13 years ago.
receiving end (seems fine)

Download all attachments as: .zip

Change History (14)

comment:1 Changed 14 years ago by Chris Forsythe

Owner: changed from nobody to Eric Richie

Repro needed.

comment:2 Changed 14 years ago by Chris Forsythe

Milestone: Needs feedback from users

comment:3 Changed 14 years ago by Piotr Banasik

I'm confirming that this still seems to be around in b20 .. just fyi

comment:4 Changed 14 years ago by Eric Richie

Milestone: Needs feedback from users
Version: 1.0b111.0b20

comment:5 Changed 14 years ago by Eric Richie

Keywords: TicketTaskForce added

comment:6 Changed 13 years ago by Chris Forsythe

Milestone: Needs feedback from users
Patch Status: None

Does this still occur in 1.0.2?

Changed 13 years ago by Piotr Banasik

Attachment: Picture 2.png added

my side, has first send, second send, and the drag of the image to the chat

Changed 13 years ago by Piotr Banasik

Attachment: TEMP-Image_18_18.png added

receiving end (seems fine)

comment:7 Changed 13 years ago by Piotr Banasik

attached screenshots of the problem to get a better idea

yes its still a bug in 1.0.2

comment:8 Changed 13 years ago by Jordan

Component: NoneAIM
Keywords: inline image cached sender added; TicketTaskForce removed
Milestone: Needs feedback from usersNeeds Feedback - Received
Version: 1.0b201.0.2

comment:9 Changed 13 years ago by Eric Richie

Milestone: Needs Feedback - ReceivedAdium X 1.1
Version: 1.0.21.0.4

Just had this myself and the above steps are the same. When you initially drag the image to the message it's correct, however upon send it shows the first version. It has definitely been changed and saved several times in between and the icon in the finder has updated as well. Setting to 1.1 for now but this isn't a blocker by any means.

comment:10 Changed 13 years ago by Eric Richie

Owner: Eric Richie deleted

Taking my name off of this so someone knows to take a look at it.

comment:11 Changed 13 years ago by Evan Schoenberg

Owner: set to Evan Schoenberg
pending: 0
Status: newassigned

comment:12 Changed 13 years ago by Evan Schoenberg

Resolution: fixed
Status: assignedclosed

(In [20011]) Save outgoing images for logging (which isn't actually used for that purpose with the XML format yet). When encoding HTML for an image which is saved to disk, include a unique query string such that any WebKit view which displays the HTML will load the image freshly from disk instead of potentially using a cache which might not be correct if the image has changed since last use. Fixes #5493

Note: See TracTickets for help on using tickets.