Bug 495151

Summary: Character Limit counts web links
Product: [Applications] Tokodon Reporter: Michael Baumgartner <Michael-Baumgartner>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: carl, josh
Priority: NOR    
Version: 24.08.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Baumgartner 2024-10-21 17:43:47 UTC
SUMMARY

Each character of a web links post counts for Tokodon, but a web link only counts as one character for Mastodon.

STEPS TO REPRODUCE
1. Click on "+ Post"
2. Insert some web link (e.g. https://bugs.kde.org)

OBSERVED RESULT

The remaining characters reduce by the length of the link (e.g. to 477/500 for "https://bugs.kde.org")

EXPECTED RESULT

The remaining characters reduce by one (499/500)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Manjaro Linux
KDE Plasma Version: 6.1.5 
KDE Frameworks Version:  6.6.0
Qt Version:  6.7.2

ADDITIONAL INFORMATION
Comment 1 Joshua Goins 2024-10-21 17:50:25 UTC
Oof, I thought we handled this already. Thanks for reporting.
Comment 2 Joshua Goins 2024-11-27 21:25:01 UTC
Actually this is correct, links do *not* count as one character on Mastodon. By default they count by 23 characters maximum, but this is configurable by your instance should be reflected in Tokodon. Please re-open if your instance's link character count isn't reflected.