To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58312





------- Additional comments from [email protected] Tue Jul 14 10:11:33 
+0000 2009 -------
The problem is caused by calling mpSubEdit->GrabFocus() in ComboBox::PreNotify()
when processing EVENT_MOUSEBUTTONDOWN on mpImplLB. This causes EVENT_LOSEFOCUS
to be emitted on mpImplLB, which in turn ends in reformatting the whole control
box (through MetricBox::Notify()). Because, at this stage, the click hasn't been
processed yet, the item selected in the listbox is still the original one, thus
the listbox is scrolled to get it to view. Thus, when the click is finally
processed, the view of the listbox has already been set to differenent range.

dtardon->pl: It seems to me the best thing is to move the problematic code from
ComboBox::PreNotify() to ComboBox::Notify(). Do you agree, or could there be any
hidden consequences that I haven't spotted?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to