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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/896639 Title: pasted URL always shortened even when turned off To manage notifications about this bug go to: https://bugs.launchpad.net/gwibber/+bug/896639/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs