Ctrl+Backspace does not work as expected #77

Closed
psistorm opened this Issue Jul 1, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@psistorm

psistorm commented Jul 1, 2016

When typing something into the Keypirinha bar and wanting to remove the last typed word I often try to do this via Ctrl + Backspace and always wonder why it displays a cryptic icon instead of deleting the last word. This works in all windows input fields the same way, either Google Chrome search bar, Windows Start Menu search bar and more. I think it would make sense here too to quickly repair typos.

In Windows it also deletes words like "word:otherword" completely. Maybe it makes sense in Keypirinha to delete only the word until ":" so there would remain "word:". On the other hand everything until the previous Space or Tab could be removed. So "word[tab]otherword" would lead to "word[tab]" or "word otherword" to "word "

I hope it's clear what I wanted to express. For me it would make using it even a lot better :)

@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Jul 1, 2016

Member

It makes sense.

I would tend to expect Ctrl+Backspace to stick to the Windows convention here, without trying to be smart about the separators (i.e. only using blank characters as separators). Mainly because KP is meant to be generic so it must not assume anything about the nature of the content of the edit box.

Member

polyvertex commented Jul 1, 2016

It makes sense.

I would tend to expect Ctrl+Backspace to stick to the Windows convention here, without trying to be smart about the separators (i.e. only using blank characters as separators). Mainly because KP is meant to be generic so it must not assume anything about the nature of the content of the edit box.

@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Jul 1, 2016

Member

Keypirinha integrates an unmodified Edit Control that comes with the Common Controls library shipped with Windows (comctl32.dll), so the behavior you observe is not implemented in Keypirinha per se.

So that made me wondering about this square character and why it is inserted. FYI, it is a DEL character (code 0x7F) and after some reading, it appears this behavior is a bug introduced in Windows 7 (i.e. the comctl32.dll version that is shipped with it).

Well, now I have to manually override the faulty implementation of a system library. Great.

Member

polyvertex commented Jul 1, 2016

Keypirinha integrates an unmodified Edit Control that comes with the Common Controls library shipped with Windows (comctl32.dll), so the behavior you observe is not implemented in Keypirinha per se.

So that made me wondering about this square character and why it is inserted. FYI, it is a DEL character (code 0x7F) and after some reading, it appears this behavior is a bug introduced in Windows 7 (i.e. the comctl32.dll version that is shipped with it).

Well, now I have to manually override the faulty implementation of a system library. Great.

@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Jul 3, 2016

Member

Available in 2.7

Member

polyvertex commented Jul 3, 2016

Available in 2.7

@polyvertex polyvertex closed this Jul 3, 2016

@polyvertex polyvertex removed the status/done label Aug 23, 2016

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