GTG

Hyperlinks launch too quickly

Bug #514922 reported by Bryce Harrington
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Low
Sebastian Kalinowski
gtg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If you paste in a hyperlink from an external source using the middle mouse button, with the mouse cursor positioned over the space where the hyperlink text will appear, it causes the hyperlink to be activated and loaded in the browser.

Perhaps the hyperlink triggering code needs to be smarter at excluding events from the middle mouse button or something?

It doesn't appear to happen if you are pasting via ctrl+v or the paste command from the context menu. But then, in this case it doesn't automatically create a hyperlink either.

(I think there might be a deeper bug here too, because once I got gtg in a state where it continually launched the url into firefox over and over again endlessly. Unfortunately I don't know how to re-trigger that situation and it only occurred the one instance.)

Revision history for this message
Paul Natsuo Kishimoto (khaeru) wrote :

I also notice that the hyperlink text does not appear in the task when this happens.

Changed in gtg:
status: New → Confirmed
Revision history for this message
Sebastian Kalinowski (prmtl) wrote :

I have created a patch for this bug.
Link will open only if you will click on it with left mouse button (button == 1).

Changed in gtg:
status: Confirmed → In Progress
Changed in gtg:
status: In Progress → Fix Committed
assignee: nobody → Sebastian Kalinowski (prmtl)
importance: Undecided → Low
milestone: none → 0.2.4
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtg - 0.2.3-1ubuntu1

---------------
gtg (0.2.3-1ubuntu1) lucid; urgency=low

  * Cherrypick patches from upcoming 0.2.4 branch:
    - Commit 655: Re-add "schedule for" submenu
      (LP: #522470)
    - Commit 673: Export plugin doesn't hang if no templates are found
      (LP: #531909)
    - Commit 677: Restore hello_world plugin glade file
      (LP: #530256)
    - Commit 678: Fix variable reference in taskbrowser
      (LP: #544233)
    - Commit 683: Fix "schedule for" submenu date handling
      (LP: #549539)
    - Commit 685: Only launch hyperlinks on left click
      (LP: #514922)
 -- Bryce Harrington <email address hidden> Thu, 08 Apr 2010 16:46:53 -0700

Changed in gtg (Ubuntu):
status: New → Fix Released
Changed in gtg:
status: Fix Committed → Fix Released
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.