PM Previewing Eats Attachment on 2nd/3rd Preview

Started by Simon, August 24, 2025, 11:56:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Simon

  • Start composing a private message to another forumer here.
  • Attach a file: Click Browse, pick a file from disk, and wait for it to have uploaded successfully.
  • Click Preview.
  • Click Preview a second time.
  • Click Preview a third time.

Expected: The attachment is still ready to be sent. It should be listed below the composed message text, and its checkbox (where you pick which attachments you want to send) should be checked.

Observed instead: The attachment is gone.

  • In the first preview (= after step 3), it's ready to be sent, as expected.
  • In the second preview (= after step 4), it's still listed, but its checkbox is off. This unchecking is the bug, because we won't send an unchecked attachment.
  • In the third preview, the attachment isn't even listed anymore under the text. And again we won't send the attachment now. This is technically correct because step 4 unchecked the attachment.

Now I had to send a second PM and look like a dunce who announces attachments and then fails to attach them. :-P I compose bottom up: Attach first, then type the text, then type the subject line, then add the recipients. It's near-impossible to forget it this way, and I investigated and found this repro. Happy Simon.

-- Simon

kaywhyn

Yes, I've noticed and posted about this problem in the SMF 2.1 Upgrade topic, in these two posts:

https://www.lemmingsforums.net/index.php?topic=6856.msg105291#msg105291

and

https://www.lemmingsforums.net/index.php?topic=6856.msg105886#msg105886.

This I've observed ever since the Forums software upgrade took place. It's still a problem a year later.

namida apparently also made a topic on it too:

https://www.lemmingsforums.net/index.php?topic=7122.0

Simon

Ah, I had only found namida's [BUG] PM attachments sometimes failing to send, but not your investigation in the 2.1 update topic.

You've already reduced this to the double/triple previewing. Good work.

Yeah, the checkmark UI is strange in the first place (instead of, e.g., pushbutton to delete one attachment), it's bugged, and it's unresolved a year later.

-- Simon