Skip to content
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

Improvements #31

Merged
merged 7 commits into from
May 8, 2017
5 changes: 0 additions & 5 deletions cefbrowser/cefkeyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,6 @@ def get_windows_key_code(self, kivycode):
# OnPreKeyEvent info for key events and replacate it here.
# (key codes can also be found on MSDN Virtual-key codes page)

# Must map basic letters, otherwise eg. ctrl+a to select all
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cztomczak Do you remember what this exactly does?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ctrl+a selects all text on a web page - check if it works after that code was removed

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depending on context ctrl+a may select all text in a form

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did not work before (and does not work with this bit of code removed). Maybe it was working some time ago. We never used this feature - so we never tested it - so I sadly have no idea when (I) broke that. But thanks for the clarification.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly you removed some other code and it broke. It works in kivy_.py example in cefpython.

# text won't work. (97-122 kivy <> 65-90 cef)
if 97 <= kivycode <= 122:
cefcode = kivycode - 32

other_keys_map = {
# Escape
"27": 27,
Expand Down