[Bug] NUM9 and NUM3 act like PgUp, PgDn, regardless of NumLock status.
NUM9 and NUM3 should be 3, 9 if the NumLock is enabled. On Windows, didn't check other platforms.
same here, pasting instead of creating new issue
typing numpad 6 is replaced by last sent message
other numpad keys do other mysterious things
this is unrelated to whether numlock is on/off
OS: Pop!_OS 22.04 LTS x86_64
Kernel: Linux 6.12.10-76061203-generc
Halloy version: 2025.7
14567 work for me with numlock on, but 2 and 8 are seemingly noops (probably because ↑ and ↓ don't really do anything in Halloy) and 9 and 3 act as described in the title.
OS: Gentoo (Gnome Wayland Desktop)
Kernel: 6.17.4
Halloy version: 2025.9
i'll add another voice
findings
- when numlock is on and you use the numpad
- can be used to corrently produce
0.1456+7/*- -
2389behave as with if no numlock - can't reproduce
6explained here^1. - unlike previous poster, up/down arrow i think are bound to a feature with default settings: at the very least it will cycle through the previously entered prompts, unless nothing has been entered. step to reprocude at the very end[^3].
- can be used to corrently produce
- numpad with numlock off:
- it behaves as expected
- bonus: shift + insert ignored
- is a paste clipboard (ctrl + v) action in windows and most unixlike stuff
i don't write, nor read, rust. hadn't heard of iced-rs before this, so did not do a deep dive.
to me it feels like several defaults or assumptions have been made on most common use of keyboards which could have resulted using alternate actions for several keys[^2].
https://github.com/iced-rs/iced/issues/2277 mentions:
You should use the text field of the KeyPressed variant for any kind of user input.
which is were i ended my narrow dive. anyone familiar with rust & halloy's codebase should be able to to quickly know if that's relevant or not.
thanks for writing halloy btw!
setup
versions, kb settings and hw
- halloy 2025.11
- windows 11 x86_64 25h2 build 26200.7019
- kb layout set to "belgian(period) azerty"
- system language: en_us
- likely not relevant, but for completeness quircks of this layout in footnote[^2].
- keyboard
- topre realforce1 we20b0 rev.a
- 105 key - iso layout
config without irc server info
theme = "midnight"
[preview]
enabled = false
[buffer.backlog_separator]
hide_when_all_read = true
[^2]: azerty quircks
azerty be has a different layout compared to azerty fr
azerty be-nl & be-fr are cosmetic
instead of caps lock, azerty has shift lock
alt-gr and alongside it dead keys are in use
https://en.wikipedia.org/wiki/AZERTY#Differences_between_the_Belgian_and_French_layouts has good overview.
[^3]: reproduced with: start client, connect to server, enter channel.
1- type anything, do not press enter, if you now use 8 on the numpad (numlock status makes no diff) - nothing will happen
2- type anything, press enter, just repeat
3- type anything, do not press enter, if you now use 8 on the numpad (numlock status makes no diff) - but pressing 8 will now show what you typed at step 2