Issue 3285 - Ambiguous selection in calc forms
Summary: Ambiguous selection in calc forms
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: 641
Hardware: PC All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
: 3431 (view as issue list)
Depends on:
Reported: 2002-03-01 14:47 UTC by schulten
Modified: 2017-05-20 11:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description schulten 2002-03-01 14:47:13 UTC
After clicking a button in a calc form and showing a msgbox, the focus is 
ambiguous. Keypresses that produce a character go the previously selected 
cell, although the cell is not highlighted. The Enter Key goes to the 
button and the button is highlighted.
Comment 1 peter.junge 2002-03-01 15:30:29 UTC
Hi Dietrich,
as far as I tried it the cell is highlighted after submitting the MsgBox.
Only when the cell was entered before clicking the button I see the
effect you describe. But this seems to be a problem of the cursor
because nobody told him to blink again ;-).
If I'm right please change the summary. If I'm wrong please tell me
were I misunderstood you.
Best regards, Peter
Comment 2 schulten 2002-03-02 13:41:32 UTC
I create a new sheet document, put a button on table1, then I embed 
the following sub into the document and hook the button event "Beim 
Auslösen" to it:

sub sagwas
	msgbox "Ich sage was"
end sub

Next, I switch off Form Design Mode in order to get the form test 
mode, put the cell cursor to A1 and do not write anything, but click 
the inserted button.

After hitting OK in the MsgBox, the button is highlighted, i.e. it 
has a dotted box to show that it takes key presses.
Besides, the cell cursor is still in A1.

I enter the text "Hello" which appears in A1 and hit Return on the 
keyboard. I would expect that Hello is saved into the cell and that 
the cell cursor goes one cell downward. Instead, the msgbox pops up. 
That means, that the focus is ambiguous: key presses that produce 
text go to the cell, Return goes to the button.

Now clearer?
Comment 3 frank 2002-03-04 08:18:46 UTC
Hi Peter,

As you are in contact with Dietrich I assign it to you.

Comment 4 peter.junge 2002-03-04 11:03:39 UTC
Hi Dietrich,
yes now it's clear. Basically we're dealing with two issues. 1st that
the cursor doesn't restart blinking. This is already tracked internally.
2nd I claim you're issue as reproduceble. I think the focus is ambiguous.
PJ->NN: I think after the first input that goes into the cell any
other  following input should be handled there. The focus for 'ENTER'
has to be taken away from the button. I.e Writer is OK.
Regards, Peter
Comment 5 peter.junge 2002-03-11 10:28:02 UTC
*** Issue 3431 has been marked as a duplicate of this issue. ***
Comment 6 niklas.nebel 2003-04-09 16:00:39 UTC
accepting (for 2.0)
Comment 7 niklas.nebel 2003-09-11 15:31:39 UTC
This should have target "later".
Comment 8 oc 2003-09-22 10:45:16 UTC
According to the roadmap
( this issue was retargeted to
OOo Later.
Comment 9 Marcus 2017-05-20 11:13:19 UTC
Reset assigne to the default "".