Hi,��

that is interesting issue. I have here a notebook with Numpad where I can reproduce it. Pharo is getting information from SDL2 and there nothing really seems to tell us that the incomming event is PgDown or similar key.

If I log incomming events in OSSDL2BackendWindow>>#visitKeyDownEvent:, I'm getting these values:

Num 3
a SDL_KeyDownEventan Array(835757 a SDL_Keysym#(4096 91 1073741915) 768 1 1)
Num PgDown
a SDL_KeyDownEventan Array(860624 a SDL_Keysym#(0 91 1073741915) 768 1 1)
PgDown
a SDL_KeyDownEventan Array(886723 a SDL_Keysym#(0 78 1073741902) 768 1 1)

(ignore the first number, the values in SDL_Keysym are mod, scancode, sym)

So the information about the key event only differs in the Num Lock modifier. It is way too low-level. I see now the only solution - to the the ugly manual conversion, You may try to install the attached *.st file (drag it on Pharo window and then choose to install).

I will open an issue.

Cheers,
-- Pavel



��t 5. 1. 2023 v��17:18 odes��latel Aik-Siong Koh <askoh@askoh.com> napsal:
Thanks for help.
I have an OMEN 17" notebook.
The keyboard has NumPad with Num Lock.
Superimposed on the numbers are Home, End, PgUp, etc.
When Num Lock is on, 1,2,3,4... works everywhere in Windows and apps.
When Num Lock is off, Home, End, PgUp, etc. work in Windows and every app except in Pharo (9, 10 or 11).
������ In Pharo, pressing the Home key does nothing at all.

FYI. Above the Numpad are two keys: (HOME / PG UP) and (END / PG DN)
They work in Pharo with the FN key to get HOME and END.

I hope this helps.

Aik-Siong Koh


Pavel Krivanek wrote:
Hi, in Schmidt, we use Pharo 11 on Windows and Home and End keys work for us. Tested in the code editor and Calypso lists. Do you miss it in some special context, or does it not work for you at all? Do you use some different input methods? Or keyboard layouts are the boring European ones.

-- Pavel

st 4. 1. 2023 v��16:09 odes��latel Aik-Siong Koh <askoh@askoh.com> napsal:
I do use Pharo Launcher.
I really miss Home and End keys in Pharo right now.
Are there very few users of Pharo in Windows?
Aik-Siong

Esteban Lorenzano wrote:
yes, but for windows the recommended way is to use the pharo launcher installer : https://files.pharo.org/pharo-launcher/windows
or, if you want to download the standalone VM: http://files.pharo.org/get-files/100/pharo-vm-Windows-x86_64-stable.zip
Esteban

On Jan 4 2023, at 3:25 pm, Aik-Siong Koh <askoh@askoh.com> wrote:
��
Does Windows get as good support as Linux or Mac?
I am waiting for the Home and End key to work on Windows.
Thanks,
Aik-Siong Koh

Esteban Lorenzano wrote:
��
Hi,

I updated linux OBS builds to get it up to date with distro changes :

Added:
  • Fedora 37
  • Ubuntu 22.10
  • OpenSUSE Leap 15.3
  • OpenSUSE Leap 15.4
Fixed:
  • Arch (Manjaro)
  • OpenSUSE Tumbleweed
Removed (Obsoletes):
  • OpenSUSE Leap 15.1
  • OpenSUSE Leap 15.2
  • Fedora 32
  • Fedora 33
Enjoy,
Esteban