I had a look at the code and I may have a lead. The url is automatically shortened with a copy-paste when the function URLShorten.Shorten is called without checking the settings "shorten-urls".
Strangely I couldn't find where it was called from, at least not from client.py or gwui.py (the only place I found where this function is called and anyway the setting is checked there). The not-so-beautiful solution I found was to recheck the setting again in the function URLShorten.Shorten (cf my patch) ** Patch added: "shorten-url.patch" https://bugs.launchpad.net/gwibber/+bug/896639/+attachment/2933461/+files/shorten-url.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gwibber in Ubuntu. https://bugs.launchpad.net/bugs/896639 Title: pasted URL always shortened even when turned off Status in Gwibber: Confirmed Status in “gwibber” package in Ubuntu: Triaged Bug description: Gwibber always shortens pasted URL's, even when "automatically shorten pasted URLs is turned off". ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: gwibber 3.2.1-0ubuntu1.3 ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6 Uname: Linux 3.0.0-13-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.23-0ubuntu4 Architecture: amd64 Date: Sat Nov 26 18:49:26 2011 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) SourcePackage: gwibber UpgradeStatus: Upgraded to oneiric on 2011-11-23 (3 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/gwibber/+bug/896639/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp