Skip to content

Revision of the logic of copying a word and substring of text from the main panel #593

@voothi

Description

@voothi

Is your feature request related to a problem? Please describe.

Revision of the logic of copying a word and substring of text from the main panel.

Table of Contents:

  1. Proposal for implementing the logic of copying a specific word from the main text panel.
  2. Proposal to change the current logic of copying multiple words from the main text panel.
  • Context.

Content:

1. Proposal for implementing the logic of copying a specific word from the main text panel.

My proposal is to implement copying of one selected word from the main text panel using one of the following options:

  • Hold for a few seconds. Click on the word. It becomes yellow. Hold until the copy is triggered. Similar to how it currently works when selecting multiple words with Shift held down. The timer activation time setting can be moved to general settings.
  • Hold down Shift. Similar to how it currently works when selecting multiple words with Shift held down.
  • Double-click (click or tap) on the word.
  • Combinations of the three options above. Hold with Shift. Double-click with Shift. Although, I would get rid of Shift altogether. I describe the reason below, using my case as an example. Fewer keys - better. Simpler - better. You can use a timer instead of Shift or double-click, in my opinion.

2. Proposal to change the current logic of copying multiple words from the main text panel.

  • Bring it in line with the logic accepted in point 1, for copying a single word.
    Currently, to copy, you need to hold down Shift and select multiple words. Selecting a single word does not copy it. This also applies if you move the selection between multiple words and end the selection on a single word that needs to be copied.

Context:

Solving issue #591, a solution was proposed in the form of selecting multiple words with the Shift key held down.
It works.

The only thing is that I have to hold down an additional key, which is not particularly convenient in my processing.

I can try to explain in more detail.
When working with text, I use a joystick in one hand and a manipulator (mouse or stylus) in the other.
The joystick (8BitDo Zero 2) works in tandem with Key Mapper (JoyKey) and sends key combinations (Commands). For example, the Ctrl+C (Copy) command.
The manipulator is necessary for selecting text.
I would like to use the current key on the joystick, which is programmed to press Ctrl+C. A long press on the button immediately repeats the press of Ctrl+C and opens the dictionary. Yes, I must say that a double press of Ctrl+C opens the GoldenDict-ng dictionary sidebar and performs a search with the current text in the clipboard.

I cannot program an additional Shift press on one key, on one press on the joystick using the Key Mapper application. In this case, I will have to free up a separate key for this combination of presses. In fact, I can probably do it through an intermediate AutoHotKey script, but this complicates the process.

I apologize if the description turned out to be too voluminous and complex to understand. I hope I was able to convey the essence of the problem. Thank you for your attention and assistance.

Describe the solution you'd like

Look above.

Describe alternatives you've considered

Look above.

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions