cplussharp / graph-studio-next

GraphStudioNext is a tool for developers to build and test DirectShow Graphs
355 stars 94 forks source link

Navigate between filters and pins using keyboard #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to have this feature in the program:

Navigate between filters using arrow keys
Navigate between pins on the current filter or filters connected to current pin 
using shift-arrow keys

Keyboard or menu operations can then operate on the current selected filter or 
pin (e.g. delete/properties/shift-f10 for context menu) without requiring mouse 
interaction

The feature is important for me because:

Faster to edit the graph using keyboard

The feature is important for other users because:

Faster to edit the graph using keyboard

Original issue reported on code.google.com by mike.cop...@gmail.com on 28 Apr 2014 at 8:27

GoogleCodeExporter commented 9 years ago
Updated by r324 :

Update issue #217 : Keyboard navigation between filters
Up/Down/Left/Right keys navigate the selected filter to the next filter in that 
direction
Keyboard shortcuts added for:
Properties - Enter or Alt-Enter
Context menu - Menu key or Ahift F10
Existing keyboard shortucts work on selected filter(s) - 
Delete - Del
Duplicate - Ctrl+D

Original comment by mike.cop...@gmail.com on 28 Apr 2014 at 11:48

GoogleCodeExporter commented 9 years ago
Updated by r325 :

Update issue #217 : Minor fixes to mouse clicking selection behaviour to make 
it consistent with keyboard navigation

Original comment by mike.cop...@gmail.com on 29 Apr 2014 at 12:24

GoogleCodeExporter commented 9 years ago
Updated by r326 and r327

Update issue #217 : Navigate between selected pins with Shift + arrow keys
Navigate between connected filters with Shift + left/right
Navigate between filters by direction with arrow keys
Draw selection markers on selected pins
Draw connection line arrow at centre of connection lines to make selection 
markers more visible on input pins
Highlight pin connection if either of connected pins selected
Removed cached current_filter, current_pin state in DisplayView and use 
currently selected pin or filter
Preserve selected pins and filters when filters refreshed
Fix context menu bug added in r324
Select newly inserted filters
Don't deselect pins after disconnection

Original comment by mike.cop...@gmail.com on 1 May 2014 at 5:13

GoogleCodeExporter commented 9 years ago
I hope the moving of the connection line arrow to the middle of the line isn't 
too radical but if so I'm happy to investigate alternatives.

Being able to distinguish clearly which end of a connection line is selected is 
very useful for navigation. Hoping to add more features which can operate on 
the current pin.

Original comment by mike.cop...@gmail.com on 1 May 2014 at 10:47

GoogleCodeExporter commented 9 years ago
Nice feature. The arrow in the middle is also OK.

Original comment by cgraef...@gmail.com on 1 May 2014 at 10:50

GoogleCodeExporter commented 9 years ago
Still left to do on this feature:

Scroll the view to keep the new selected pin or filter visible.

Limit the positioning of context menus or property windows to make sure they're 
not shown off screen.

Original comment by mike.cop...@gmail.com on 1 May 2014 at 11:07

GoogleCodeExporter commented 9 years ago
Pin selection and connection line drawing are also a bit scrappy visually. Any 
suggestions?

Original comment by mike.cop...@gmail.com on 1 May 2014 at 11:18

GoogleCodeExporter commented 9 years ago
Fixed by r333 : 

Fix issue #217 : Scroll selected filter into view when using keyboard 
navigation or inserting new Filter

Original comment by mike.cop...@gmail.com on 2 May 2014 at 3:34