canonical / ubuntu-frame-osk

On-screen keyboard for Ubuntu Frame, based on Squeekboard
GNU General Public License v3.0
4 stars 2 forks source link

Numeric keyboard does not appear for numeric input unless a regular input was already selected #76

Open TheGreenAirplane opened 2 weeks ago

TheGreenAirplane commented 2 weeks ago

I have an input element, , which is supposed to trigger the numpad layout. However, it only shows up if I've had another input already selected. If I select a non-numeric input, the regular keyboard comes up, if I then select the numeric input, I get the numpad.

But if I select the numeric input first, I get the regular keyboard. If I deselect an input, causing the keyboard to hide, and then select a numeric input, I get the regular keyboard again.

The numeric keyboard should show up consistently, every time a numeric input is selected.

I'm running the latest (as of 5 days ago) versions of Ubuntu Server, Ubuntu Frame, Mir Kiosk, and Ubuntu Frame OSK.

Saviq commented 2 weeks ago

Hi @TheGreenAirplane, could you please try the 24/edge channel of ubuntu-frame-osk?

It has a much newer version of the OSK software itself (squeekboard).

TheGreenAirplane commented 2 weeks ago

Hi, thank you for your response. I installed the keyboard via snap: sudo snap install ubuntu-frame-osk

if you could elaborate what exactly is this 24/edge channel, I'll be sure to give it a try.

TheGreenAirplane commented 2 weeks ago

Ok so I asked ChatGpt what is a "24/edge channel" and with its help I was able to install ubuntu-frame-osk from the 24/edge channel. My changes to the layout are still being ignored, but at least now the keyboard is 3 times smaller than it should be. So it's definitely progress, just not in the right direction :)

Saviq commented 2 weeks ago

Yeah, the being smaller is why we've not updated to the newer version (#46)… Thanks for confirming.

I could confirm your problem using url=https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_number. I suspect it's an upstream issue, will try and confirm and report it there.

Nagranie ekranu z 2024-06-18 07-00-35.webm

TheGreenAirplane commented 5 days ago

Hi, is there any update on this? It's causing us issues in production. Apparently if you ask people to type in a number, and don't give them a purely numeric keyboard, they get confused and type in the letter "o" instead of zero. Has this been escalated to Squeekboard devs? Or should I do it? Did you manage to confirm that the problem is with Squeekboard code and not ubuntu-frame-osk?