New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Delete current word/line" always triggers in editor pane #476

Closed
Crendgrim opened this Issue Jan 13, 2017 · 7 comments

Comments

Projects
None yet
3 participants
@Crendgrim

Crendgrim commented Jan 13, 2017

If you select an input field that is not the main editor (note search, tag search, add tag dialog) and want to clear the input, the commonly used shortcut is Ctrl+Backspace. This, however, deletes the current word in the opened note (at cursor position in the editor view). The same applies to "delete current line" (Alt+Backspace).

Expected result would be as every other application behaves: Ctrl+Backspace acts on the currently selected input field, not somewhere else.

Also, probably related: When entering something in the "add tag" dialog, a number of matching suggestions is displayed. They cannot be selected by , but only by pressing arrow down.

@philiptruax

This comment has been minimized.

philiptruax commented Jan 13, 2017

This behavior is the same in box linux and Windows 7.

Steps to reproduce.

  1. Click inside the markdown editor between a line of text.
  2. Click inside the tag search or note search
  3. Press Ctrl+Backspace

The text in the editor is deleted.

@pbek

This comment has been minimized.

Owner

pbek commented Jan 13, 2017

Thank you for reporting, I will try to reproduce your issue.

@pbek

This comment has been minimized.

Owner

pbek commented Jan 13, 2017

Currently that is a shortcut that only works in the note edit, you could try to assign an other shortcut...

@pbek

This comment has been minimized.

Owner

pbek commented Feb 5, 2017

17.02.2

  • if the shortcuts for deleting the current line or word isn't used in the
    note text edit now the default shortcuts will be delegated to the widget
    with the focus

@pbek pbek added this to the 17.02.2 milestone Feb 5, 2017

@pbek

This comment has been minimized.

Owner

pbek commented Feb 5, 2017

There now is a new release, could you please test it and report if it works for you?

@Crendgrim

This comment has been minimized.

Crendgrim commented Feb 5, 2017

It now works as expected, thank you!

@Crendgrim Crendgrim closed this Feb 5, 2017

@pbek

This comment has been minimized.

Owner

pbek commented Feb 5, 2017

Thank you for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment