question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scope select all (ctrl+a) to UI element in focus

See original GitHub issue

Prerequisites

Description

Even when the cursor shows up in a particular UI element, such as a text field in the Data Access View or Histogram, pressing ctrl+a selects all nodes and transactions in the graph. Properly scoping the select all function to just the element in focus would make it faster to copy/paste data into and out of Constellation.

Steps to Reproduce

  1. Create a new graph with a few nodes and transactions
  2. Open Data Access View
  3. Place the cursor in any string plugin parameter and type a few characters
  4. Press ctrl+a

Expected behaviour: Ctrl+a only highlights everything in the current scope (in this case, the string parameter)

Actual behaviour: Ctrl+a highlights everything in the current scope as well as everything in the graph

Reproduces how often: 100%

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
aldebaran30701commented, May 28, 2021

#342 is a close relation to this.

1reaction
arcturus2commented, Mar 16, 2021

@sol695510 have you tried VisualGraphTopComponent, JavaFxTopComponent and SwingTopComponent ? The VisualGraphTopComponent is the Top Component for the analytic graph and the other 2 Top Components are used by the various views.

I am not a fan of adding the KeyListener to the GraphNode though but if you are doing it a test then that is fine. The GraphNode is the bridge between NetBeans and the Constellation frameworks and I’d like to keep that as lean as possible. Let me know how you go.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Select all" (Ctrl/Cmd + a) Scope in html5 - Stack Overflow
How can I change it so that when I'm focusing on a div with some text, and I press Ctrl / Cmd +...
Read more >
Element Scope - UiPath Documentation Portal
ElementScope A container that enables you to attach to an existing UI element and perform multiple actions within it. Properties Output UiElement -...
Read more >
Detecting Select All on the Web - DEV Community ‍ ‍
On the web, hitting Cmd/Ctrl-A (or triggering "Select All" another way) has two distinct modes of operation. If your focus is inside a ......
Read more >
210 Selection - UI Grid
This grid example uses the ui-grid-selection directive to row selection. ... If multiSelect: true is set then this will allow you to select...
Read more >
Keyboard Navigation | SAP Help Portal
The focus is the user interface element that receives input from the keyboard. ... Select the first required list item and then click...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found