only shorten urls if there is not enough space

Bug #424321 reported by Alexander Sack
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Gwibber
Confirmed
Low
Unassigned

Bug Description

most probably prefer to have not-shorted url if there is enough space available.

at best gwibber would shorten url as-you-type, meaning, once you type and there is not enough space it would shorten the first url, then the second, etc.

To prevent acquiring shortened urls even though they are not needed in the end (user might remove text before sending), gwibber could replace urls with a placeholder as you type and get a real shorted URL only when actually sending the message.

Of course this would require some info about how long shorted urls are for a given url shortening service, but i think that shouldnt be a big problem.

Alexander Sack (asac)
Changed in gwibber:
assignee: nobody → Ken VanDine (ken-vandine)
Revision history for this message
Ryan Paul (segphault) wrote :

I think that Twitter itself will shorten virtually all long URLs itself even if there is space for the full URL in the message text. It's probably a good idea to experiment with that before somebody implements this feature.

http://getsatisfaction.com/twitter/topics/why_does_twitter_automatically_shorten_url

Revision history for this message
Fernando Miguel (fernandomiguel) wrote : Re: [Bug 424321] Re: only shorten urls if there is not enough space

Olá Ryan e a todos.

On Friday 04 September 2009 18:41:18 Ryan Paul wrote:
> I think that Twitter itself will shorten virtually all long URLs itself
> even if there is space for the full URL in the message text.

Not everyone uses Twitter.

--
Hi, I'm BUGabundo, and I am Ubuntu (whyubuntu.com)
(``-_-´´) http://LinuxNoDEI.BUGabundo.net && Ubuntu LoCoTeam Portugal http://ubuntu-pt.org
Linux user #443786 GPG key 1024D/A1784EBB

Revision history for this message
Dean Sas (dsas) wrote : Re: [Bug 424321] [NEW] only shorten urls if there is not enough space

On Fri, Sep 4, 2009 at 14:16, Alexander Sack <email address hidden> wrote:
> To prevent acquiring shortened urls even though they are not needed in
> the end (user might remove text before sending), gwibber could replace
> urls with a placeholder as you type and get a real shorted URL only when
> actually sending the message.

That also helps with the very small but noticeable input blocking that
occurs while a shorted URL is being fetched.

Revision history for this message
Juan Simón (simonbcn) wrote :

This suggestion is good, I agree!

Omer Akram (om26er)
Changed in gwibber:
importance: Undecided → Low
status: New → Confirmed
Changed in gwibber:
assignee: Ken VanDine (ken-vandine) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.