Bug 541092 - DOT Graph View - No double-click / single+single-click distinction
Summary: DOT Graph View - No double-click / single+single-click distinction
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF DOT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2018-11-13 10:19 EST by Ed Willink CLA
Modified: 2019-03-07 11:00 EST (History)
1 user (show)

See Also:


Attachments
screencast reproducing the problem (622.74 KB, image/gif)
2019-03-07 11:00 EST, Tamas Miklossy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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