https://bugs.documentfoundation.org/show_bug.cgi?id=143540

--- Comment #20 from Mattia <[email protected]> ---
(In reply to Stéphane Guillou (stragu) from comment #19)
> (In reply to Sébastien P. from comment #18)
> > Could #154623 be a duplicate?
> 
> Bug 154623 was a GTK-specific regression affecting the formula bar, and I
> have verified it as fixed by Caolán. Let's keep these two separate.
> 
> Mattia, md and Sébastien, can you confirm that this does not affect only the
> formula bar, but also uses the wrong decimal separator when editing a cell
> in place?
> Please test in LO 7.5.3.
> 
> Would be also good to see if the issue predates 7.1.

Yes, I always tested editing a cell in place, but I've now verified that the
same happens entering text in the formula bar.

Yet, the analysis made by Caolán in Bug 154623 made me think about what key
value LO sees when I press the decimal on keypad.
I don't know how to verify that in LO, but I've found a small python script
which prints key values pressed within a gtk3 window:
https://riptutorial.com/gtk3/example/16426/simple-binding-to-a-widget-s-key-press-event
Running the python script and pressing the decimal keypad I get:
$ python keyboard.py 
Key press on widget:  <__main__.MyWindow object at 0x7fa495ea5140
(__main__+MyWindow at 0x55bf5ae3c6b0)>
          Modifiers:  <flags GDK_MOD2_MASK of type Gdk.ModifierType>
      Key val, name:  65454 KP_Decimal

Is it correct that it returns "KP_Decimal" instead of "GDK_KEY_KP_Decimal"? Is
there a way to display the gtk key value inside Calc to be sure that it
receives the correct value?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to