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

            Bug ID: 101437
           Summary: UI: Keyboard entry and "click references" interact
                    badly in formula input field
           Product: LibreOffice
           Version: 5.2.0.4 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

I just upgraded to 5.2.0.4 from 5.1.x.x and noticed that "click references"
together with manual keyboard entry works differently (and in my opinion worse)
when editing/entering a formula in the input field.  

Previously, I could click a cell, type a few characters, click another cell,
type a few more characters, and so on, with all the "click references" and
typed characters being appended to the formula.  With 5.2.0.4, I sometimes see
"click references" being replaced by what I type afterwards, unless I do
something explicit to avoid it (like clicking an additional time in the input
field or pressing the cursor-right key).  But it doesn't happen consistently
that way!  

Examples:

1. A cell contains the formula "=A1+B2".  I click on the input field to edit
the formula, type "+", click "C3", type "+", click 'D3'.  The result is
"=A1+B2+C3+D3", which is just what I wanted.

2. A cell contains the formula "=A1+B2".  I click on the input field to edit
the formula, type "+", click "C3", type "/", click 'D3'.  I would have wanted
"=A1+B2+C3/D3", but instead get "=A1+B2+/D3" as the "/" replaced the
click-inserted C3.

3. A cell contains the formula "=A1+B2".  I double click on the cell to edit
the formula "in place" (not in the input field).  After moving the cursor to
the end of the formula, I type "+", click "C3", type "/", click 'D3'.  The
result is "=A1+B2+C3/D3", which is what I wanted.

So the behavior is different depending on which characters I type ('+' or '/'),
and also depending on whether the cursor is in the input field or in the cell
itself when I do the typing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to