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

22843-Cannot-select-all-in-windows #2157

Conversation

pavel-krivanek
Copy link
Collaborator

do an image patch for Windows VM inconsistency with other platforms. This OS returns keyCharacters as uppercase

ifFalse: [ self keyCharacter ]
self flag: #hack.
"Hack me. When Ctrl is pressed, the key ascii value is not right and we have to do something ugly"
^(self hasSpecialCTRLKeyValue and: [ (#(MacOSX Windows) includes: Smalltalk os current platformFamily) ])
Copy link
Member

Choose a reason for hiding this comment

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

Smalltalk os platformFamily is enough here. Why the "current" ?

Copy link
Member

Choose a reason for hiding this comment

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

meh, I see it was like that before.
still no need :)

Copy link
Member

Choose a reason for hiding this comment

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

@estebanlm I don't know if you know, but now you can suggest one line changes in reviews to make it easier to contribute.

firefox_2019-01-04_10-18-31

You can use this icon.

src/Morphic-Core/KeyboardEvent.class.st Outdated Show resolved Hide resolved
@jecisc
Copy link
Member

jecisc commented Jan 4, 2019

Except the little cleanup requested, the PR works for me on Windows 7.

Co-Authored-By: pavel-krivanek <pavel.krivanek@gmail.com>
@jecisc
Copy link
Member

jecisc commented Jan 4, 2019

Test failure not related.

@estebanlm estebanlm merged commit 9f77762 into pharo-project:Pharo7.0 Jan 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants