Bug 505543

Summary: can't post when instance has big character limit
Product: [Applications] Tokodon Reporter: Mikołaj Kwiatkowski <legal>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: 25.04.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: video showing me trying to post "meow" but not being able to

Description Mikołaj Kwiatkowski 2025-06-12 19:13:46 UTC
Created attachment 182235 [details]
video showing me trying to post "meow" but not being able to

recently, i decided to have fun with my mastodon instance and tried setting the character limit to numbers i thought they won't let me set, and i ended up with a 18446744073709552000 character limit
but this made me unable to post using tokodon.
the character indicator thing says "-(number of characters i used)/0 characters", and the post button is disabled

hopefully this can be fixed since it's really fun to have a character limit that big

instance is https://meow.rent, invite link (to join without having to wait for review is https://meow.rent/invite/6kNcwMoY
Comment 1 Joshua Goins 2025-06-13 12:24:31 UTC
This is probably the strangest bug report we've ever gotten...

Curiously Mastodon shows the correct character limit, but it never goes down. Tokodon should definitely allow posting in this situation, I guess our integer under/overflows