After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711217 - links open when selected
links open when selected
Status: RESOLVED FIXED
Product: polari
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Polari maintainers
Polari maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-31 15:55 UTC by William Jon McCann
Modified: 2013-11-01 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
chatView: Improve URL handling (2.41 KB, patch)
2013-11-01 16:18 UTC, Florian Müllner
committed Details | Review

Description William Jon McCann 2013-10-31 15:55:10 UTC
If I select text that contains a link it opens in the browser.
Comment 1 Florian Müllner 2013-11-01 16:18:13 UTC
Created attachment 258745 [details] [review]
chatView: Improve URL handling

Our handling of URL clicks currently interacts badly with GtkTextView's
text selections. To sanitize the behavior, make sure that:
  - selections cannot be started from within a URL
  - URLs are only activated on full clicks (both PRESS and RELEASE)
Comment 2 Florian Müllner 2013-11-01 16:18:54 UTC
Attachment 258745 [details] pushed as 2631829 - chatView: Improve URL handling