tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Drafts keep reappearing in topic groups on other devices

Open Inurosen opened this issue 1 year ago • 31 comments

Steps to reproduce

  1. Write a message in a topic group.
  2. Wait for it to become draft/
  3. Send the message.
  4. After some time open Telegram on other device.
  5. There will be the latest draft in topic's chat box. The sent message is visible in conversation.
  6. Delete the draft.
  7. After some time open Telegram on third device.
  8. There will be the same draft. The sent message is visible in conversation

Expected behaviour

Drafts of sent messages in topics don't reappear.

Actual behaviour

Drafts of sent messages in topics reappear on all devices connected to senders account.

Operating system

Any

Version of Telegram Desktop

4.8.1

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

Inurosen avatar Apr 27 '23 11:04 Inurosen

i think this must be server bug.

Aokromes avatar Apr 27 '23 12:04 Aokromes

I experienced this when I started a group message in Telegram web and left it unsent it would keep showing up on another machine in Telegram Desktop. Get rid of your draft/unsent messages on other devices and your issue may go away.

bastiaand avatar Apr 28 '23 15:04 bastiaand

Noticed server recently began aggressively pushing old drafts onto client's throat

Younes-L avatar Apr 29 '23 13:04 Younes-L

Noticed server recently began aggressively pushing old drafts onto client's throat

That may be true, but if you have a draft/unsent message in TG web it will appear every ? seconds in your TG desktop session. Just get rid of the draft/unsent message regardless of where it is and the problem should go away.

Fun stuff.

bastiaand avatar Apr 29 '23 15:04 bastiaand

If "getting rid of draft/unsent" is not just deleting the draft on all devices, this didn't worked for me. What worked was ending all sessions from connected devices, then, I checked if the draft was still reappearing on my phone, I confirmed it wasn't, then, I connected my pc, and the draft really stopped appearing.

samgrrehder avatar May 16 '23 12:05 samgrrehder

I have the same issue in the telegram on windows and android devices. I'm sending a message, but Telegram prompts me to edit the sent message as a draft.

sempamavin avatar Jun 08 '23 12:06 sempamavin

Same here. Hateful problem.

taifu avatar Jun 21 '23 19:06 taifu

https://github.com/telegramdesktop/tdesktop/issues/2229

At least 7 year old problem, I deleted the message on all active devices but it still was updating with this annoyance every 10 sec Send the message, it gets back, try to leave another, smaller one, it gets back and deletes legitimate stuff, not even "delete all cloud draft" worked until I removed all the devices

Just give me the option to not use cloud draft, if I want to send a message across platforms, I can use the "saved messages tab" or simply rewrite the stuff, if you can't do it right, give me the option to not have your broken feature

gabiiel avatar Jul 19 '23 01:07 gabiiel

Here's how I fixed it. I was using TG on my Android phone, and TG web in Chrome browser on a Linux machine. What appears to have been the problem was having multiple open pages with TG Web on the browser. After I closed all the open TG Web instances, except for only one, then I could delete the draft message and it finally went away for good. I left the Android TG app open when I was closing TG Web sessions, so it appears to not matter if the app is still connected while using the web app, it's only a problem if there are multiple TG web pages open. The problem may happened with another type of browser such as FireFox but I've not tested it to find out.

RobT2012 avatar Jul 19 '23 19:07 RobT2012

Yeah. Even faster way to stop is this:

I have 2 devices: chrome and mobile.

  1. Go to your mobile, FORCE STOP your Telegram.
  2. Go to your PC and delete the message
  3. Paste something quick and delete it
  4. It helped me

vilmaera avatar Jul 21 '23 08:07 vilmaera

I can confirm that the recurring "draft" message is reproducible by opening more than one instance of TG connected to the same account. Some posts will end up popping up as draft posts long after they were committed or deleted, there's no way to remove the draft messages except by closing all instances of TG except for one, and deleting the draft on the remaining open TG instance. My best guess is that which posts end up becoming recurring drafts depends on how long they were left open before committing them or deleting them. The ones of short duration (less than a minute maybe) probably are fine, but the ones left unfinished for a few minutes seem to become recurring drafts.

RobT2012 avatar Jul 21 '23 21:07 RobT2012

Same thing for me. Draft won delete.. I will try some of your suggestions.

lehonmikko avatar Aug 07 '23 22:08 lehonmikko

drafts is a very annoying feature on telegram. I often open telegram on multiple devices at the same time. And drafts automatically syncs between devices.

thuongnvblockodyssey avatar Sep 11 '23 04:09 thuongnvblockodyssey

drafts aren't annoying, they are usefull, bugged drafts are annoying.

Aokromes avatar Sep 11 '23 09:09 Aokromes

An option to disable cloud drafts on your account would be useful here.

jsphwllng avatar Sep 20 '23 07:09 jsphwllng

I confirm that this problem exists across the web, desktop (windows) and Android versions.

foxmajik avatar Sep 22 '23 17:09 foxmajik

yeah I have this issue as well

JoseHernandez88 avatar Sep 22 '23 18:09 JoseHernandez88

Yep definitely have this problem and it's not going away no matter how many times I delete it. It has completely taken over a group chat. I have telegram on probably a dozen devices that I'm now going to have to disconnect and reconnect and pray to god it goes away

jstafford5380 avatar Oct 02 '23 17:10 jstafford5380

Any update on this?

Wouldn't it be easier to add a settings flag, so we can simply turn off draft saving? I don't see the point of it anyways.

hurtonypeter avatar Nov 14 '23 12:11 hurtonypeter

same here. It's so annoying

eric2788 avatar Nov 23 '23 16:11 eric2788

Drafts are an extremely annoying feature in telegram. Please correct it

nvthuong1996 avatar Dec 18 '23 15:12 nvthuong1996

I've had the same text on every device that I have to erase before sending a new message -- for the last 6 months.

On Mon, Dec 18, 2023 at 8:56 AM nvthuong1996 @.***> wrote:

Drafts are an extremely annoying feature in telegram. Please correct it

— Reply to this email directly, view it on GitHub https://github.com/telegramdesktop/tdesktop/issues/26236#issuecomment-1860887091, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALI4REBF6MMWIT33SNI2RYDYKBRTRAVCNFSM6AAAAAAXNV7GYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRQHA4DOMBZGE . You are receiving this because you commented.Message ID: @.***>

jstafford5380 avatar Dec 30 '23 19:12 jstafford5380

Not sure if this is the same issue, but drafts keep coming back to my input box over and over and over, in non-forum chats and in single topics. Clearing them from desktop doesn't work - the next time you open it the draft will be back. Clearing them from another client won't work, tdesktop will continue to show them when you open it. I've ignored this for a few months, but now I have way too many topics with ghost drafts to ignore the issue :/

RememberTheAir avatar Jan 24 '24 07:01 RememberTheAir

Same shit happens to me. İ got rid off that bug donno how. But it came to my browser again. İ deleted all cloud drafts from settings, but nıthing happened. After that terminated all devices still nothing. Seriosly it is very annoying that all the time before group message u have to delete draft after that u can send message.

tugruul avatar Jan 24 '24 16:01 tugruul

Get rid of your draft/unsent messages on other devices and your issue may go away.

That's not feasible as some of those devices are physically several kilometre apart so it's impossible to delete them all in time before the draft reappears on all devices.

krischik avatar Mar 01 '24 13:03 krischik

I have 2 devices: chrome and mobile.

Doesn't work if you have more then two devices.

krischik avatar Mar 01 '24 13:03 krischik

drafts aren't annoying, they are useful, bugged drafts are annoying.

I rather have no drafts then bugged drafts.

krischik avatar Mar 01 '24 13:03 krischik

Agreed, the only way to fix this is by terminating the other session. But there's a limit to how many times you can add devices, so it's a hacky workaround that doesn't work half of the time.

All I ask for is a toggle to disable drafts.

danslo avatar Mar 01 '24 13:03 danslo

The reason why I'm here: Drafts have become even more aggressive.

They now delete what you have typed and replace it with a version of the same message from a few minutes ago. Now I have to prepare my message in a text editor and copy paste it and quickly press send.

Of course within seconds the older version of the draft appears again.

Telegram: If you can't get it to work properly remove drafts.

krischik avatar Mar 01 '24 13:03 krischik

myself i don't have seen any unwanted draft for long time

Aokromes avatar Mar 01 '24 13:03 Aokromes