After shortening an URL, Choqok wrongly counts the number of remaining characters, and ends up with a number too big. This means that a status that is displayed as having four characters left will end up not being sent because it actually contains more than 140 characters. This seems to be due to the way Choqok counts the length of an URL, that is different than Twitter's. Example : The following status shows -20 characters left (ie. an excess of 20 characters) before shortening the URL: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ut turpis at diam convallis interdum eu a enim metus. http://example.com/testing/long/url.php" After shortening the URL, Choqok reports 5 characters left: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ut turpis at diam convallis interdum eu a enim metus. bit.ly/1r3uyQT" Sending this tweet, however, fails. This is because, for the same message, Twitter reports an excess of 3 characters, both with or without the shortened URL (since Twitter shortens the URL themselves anyway). From what I can tell, there seems to be two reasons to this: 1- If the option is checked, Choqok doesn't include, and thus doesn't count, the protocol. Twitter does, so "http://" gets counted towards the limit 2- Choqok doesn't take into account that Twitter shortens the URL and counts the number of characters according to the "short_url_length" configuration (see https://dev.twitter.com/docs/tco-link-wrapper/faq). Depending on the shortening service used by Choqok, this can be less or more than what Twitter will count. I realize Choqok is meant to be a generic client, so changes to solve that would need to be tailored for Twitter. For example, the option to remove the "http://" from shortened link should be disabled when using Twitter, and Choqok should consider a link in a tweet to always be a fixed number of characters (pulled from the Twitter API), no matter how long it actually is. If those changes are too specific for Twitter and would break too many other things, it can be ignored. It is a minor annoyance, but it would be nice to see this fixed. Reproducible: Always Steps to Reproduce: 1. Write a long tweet with an URL 2. Shorten the URL before sending the tweet by right-clicking it. Ensure the number of remaining characters after shortening is about 2 or 3. 3. Try sending the tweet. Actual Results: The tweet isn't sent. Expected Results: Choqok should display the number of characters in the same way Twitter does, so that the user is warned that the tweet won't be sent, rather than displaying a wrong character count and failing to send the tweet.
You can disable removing of http:// from URLs, In URL Shortening tab of General configurations. And Choqok is submitting the tweet and don't block it because char limit is exceeded. But yes, it would be better to show the correct number.
*** This bug has been marked as a duplicate of bug 294969 ***