robotframework / RIDE

Test data editor for Robot Framework
Apache License 2.0
958 stars 378 forks source link

Focus change when moving keyword up or down #2844

Open JFoederer opened 1 month ago

JFoederer commented 1 month ago

Consider a resource file with multiple keywords. You want to move one of the keywords to a new location using the shortcut keys CTRL+UP or CTRL+DOWN from the tree view.

When moving up a keyword in the resource file, while the grid editor is open, everything works as expected. You can move the keyword up multiple positions until it arrives at the preferred spot.

When moving down a keyword in the resource file, while the grid editor is open, you will see that the editor view gets a refresh every time you move the keyword down one step. In this case you can continue to move the keyword down.

When moving a keyword up or down in the resource file, while the text editor is open, the focus shifts to the text editor and your next key press will move the cursor in the text editor, instead of moving the keyword down the second step.

RIDE v2.1dev64 on Windows and Linux

HelioGuilherme66 commented 1 month ago

@JFoederer I tried my best to find a fix for this issue, but did not. However, I found that this exists, since at least v2.0.8.1.

Because these are actions that the user can understand how to repeat by clicking the keyword to move, and I did not found a solution to fix, I will mark this as won't fix.

By the way, the Move Up can be done by using Ctrl-Up repeatedly in a short time interval, but not the Ctrl-Down.

JFoederer commented 1 month ago

Thanks for the effort Helio. I see you added the _helpwanted tag. Can you write down what difficulties you ran into? That will help people that want to help to decide whether they think they have the right knowledge to do so.