Bug 541092

Summary: DOT Graph View - No double-click / single+single-click distinction
Product: [Tools] GEF Reporter: Ed Willink <ed>
Component: GEF DOTAssignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: miklossy
Version: unspecifiedKeywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
screencast reproducing the problem none

Description Ed Willink CLA 2018-11-13 10:19:39 EST
Normally in the Package Explorer clicks separated by perhaps a second or more are treated as multiple single clicks. However the linkage to the DOT View treats two single clicks as a double-click causing a DOT editor to start up erroneously.

Also if the GraphViz View is visible, selecting a different *.dot file, it redisplay multiple times, suggesting that something is messing with the platform selection.
Comment 1 Tamas Miklossy CLA 2019-03-07 10:59:29 EST
Hello Ed,

thanks for the bug report! I was able to reproduce the problem using the following steps:

1. Create the a.dot file with the following content:
  graph {
    a
  }

2. Create the b.dot file with the following content:
  graph {
    b
  }

3. Open the a.dot file with the DOT Editor.

4. Open the DOT Graph View and activate 'Link with Selection' toggle button.

5. In the Project Explorer, select the b.dot file with a single click 

6. In the Project Explorer, select the a.dot file with a single click 

Result: the DOT Editor opens on the a.dot file (see also screencast in attachment)
Comment 2 Tamas Miklossy CLA 2019-03-07 11:00:15 EST
Created attachment 277798 [details]
screencast reproducing the problem