Bug 3814

Summary: end of mouse drag or text selection erroneously activates links
Product: Claws Mail (GTK 2) Reporter: Robert <thewildbeast>
Component: Plugins/FancyAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 3.14.1   
Hardware: PC   
OS: Linux   

Description Robert 2017-04-21 22:53:11 UTC
Steps to reproduce:
1. optionally: begin holding down alt or control
2. start dragging a link at least outside of it's own bounds-box
3. press any key (or release modifier)
4. press escape to cancel the drag

Expected:
* the dragged link should pop back in place, without further action

Actual:
* the dragged link pops back in place, but
* claws 'activates' the link in the default web browser
* ...sometimes *TWICE*.

I might guess that claws/fancy is reacting to it's own cancelled drag-and-drop event, but the behavior is a bit weird... especially the double-opening-when-trying-to-cancel effect.
Comment 1 users 2017-04-22 01:19:02 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2017-04-22 01:19:02.632313343 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=12831f0f8f2555230f84893083cb14467eaf21b7
Merge: d9d8a5d ab84747
Author: Colin Leroy <colin@colino.net>
Date:   Sat Apr 22 01:19:02 2017 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=ab847472955f979cb63bf0a9b576383e51ef5094
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sat Apr 22 01:15:30 2017 +0200

    Fancy: simplify open-or-not decision to x,y matching or not
    
    Fixes bug #3814:  end of mouse drag or text selection erroneously
    activates links