You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/01/10 18:57:05 UTC

[Bug 124008] New: listbox entry's are selected automatically on mouse over instead of mouse click

https://issues.apache.org/ooo/show_bug.cgi?id=124008

            Bug ID: 124008
        Issue Type: DEFECT
           Summary: listbox entry's are selected automatically on mouse
                    over instead of mouse click
           Product: Calc
           Version: 4.1.0-dev
          Hardware: PC
                OS: Windows 7
            Status: CONFIRMED
          Severity: major
          Priority: P3
         Component: editing
          Assignee: issues@openoffice.apache.org
          Reporter: oliver.brinzing@gmx.de
                CC: issues@openoffice.apache.org

Created attachment 82253
  --> https://issues.apache.org/ooo/attachment.cgi?id=82253&action=edit
listbox demo file

steps to reprodice:
- open attached spreadsheet document and try to select a value

not repoducible with aoo401 -> regression

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

--- Comment #5 from Armin Le Grand <Ar...@me.com> ---
Seems to be triggered by the new ListBox::ImplListItemSelectHdl added with
r1541847 by steve_y, that is the integration of the IAccessible2 branch. That
new handler is called from ImplListBoxWindow::MouseMove newly with
IAccessible2.
Tis happens for all ListBoxes now, just checked quickly with adding some text
to the example in a cell, select it and use the FontStyle Listbox, but in that
case does not already change while hovering.
Looks as if the FormControl needs to be more careful to detect changes with the
new handler added, taking a look.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

Andre <aw...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |awf.aoo@googlemail.com

--- Comment #4 from Andre <aw...@googlemail.com> ---
Moving the mouse over the drop down control of the list box leads to selection
changes in that control.  These are notified as events and forwarded via
VCLXListBox::ProcessWindowEvent(), UnoControlModel::setFastPropertyValue(),
OBoundControlModel::onValuePropertyChange(), OCellValueBinding::setValue().
Maybe anywhere in this chain the notification of events has changed to treat
changes in the drop down the same as changes in the text box.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

Steve Yin <st...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ACCEPTED

--- Comment #11 from Steve Yin <st...@gmail.com> ---
Use VCLEVENT_DROPDOWN_SELECT to handle accessible focus event.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

brinzing <ol...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |regression
                 CC|                            |oliver.brinzing@gmx.de

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

Steve Yin <st...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ACCEPTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Steve Yin <st...@gmail.com> ---
UT passed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

--- Comment #6 from Armin Le Grand <Ar...@me.com> ---
@Andre: Yes, it has changed, IAccessibility2 has added a new handler (see
comment 5), probably to read the entry hovered over to the user. If any user of
that control already reacts on any change (I guess there is a possibility to
check the kind of change, hopefully) it may now behave as seen. Therefore this
is a potentially dangerous change. I will now check for the FormControl which
is used here...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

--- Comment #10 from Armin Le Grand <Ar...@me.com> ---
+1 for 'VCL_DROPDOWN_SELECT'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

eberlein <pe...@refofd.verwalt-berlin.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pet.ebe@refofd.verwalt-berl
                   |                            |in.de

--- Comment #2 from eberlein <pe...@refofd.verwalt-berlin.de> ---
can confirm with Rev. 1556251 (WindowsXP SP3)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

--- Comment #12 from SVN Robot <sv...@dev.null.org> ---
"steve_y" committed SVN revision 1562022 into trunk:
Bug 124008 - listbox entry's are selected automatically on mouse over
instead...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

Steve Yin <st...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steve.yin.aoo@gmail.com

--- Comment #9 from Steve Yin <st...@gmail.com> ---
Confirmed this issue is led by feature and exists in Symphony. The previous
testing work is not sufficient.

@Armin and Andre: Thanks for both of your quick investigations and suggestions.
I will take care of this issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

--- Comment #8 from Andre <aw...@googlemail.com> ---
May I suggest something like VCL_DROPDOWN_SELECT?  The mouse hover leads to a
selection change, just not of the list box control itself.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Armin.Le.Grand@me.com

--- Comment #3 from Armin Le Grand <Ar...@me.com> ---
Hovering with the mouse over the selected, dropped-down listbox changes the
entry in calc already, producing real changes and undo actions. Indeed in 401
this only happened on selecting an entry with the mouse by clicking. On the
first view this looks easier as interaction, as if someone tried to make this
nicer for the user, but there are those UNDOs created, thus probably an error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

--- Comment #7 from Armin Le Grand <Ar...@me.com> ---
I would say that it is not okay to use VCLEVENT_LISTBOX_SELECT in the new IA2
handlers to notify mouse hoovering; I suggest that something new like
VCLEVENT_LISTBOX_PRESELECT or VCLEVENT_LISTBOX_HOVVERCHANGE should be used and
the IA2 usages should react on that new flag. Everything else is dangerous and
may change the ListBox (or ComboBox, same change there) behaviour in the UI...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124008] listbox entry's are selected automatically on mouse over instead of mouse click

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124008

--- Comment #1 from brinzing <ol...@gmx.de> ---
reproduced on win7 64bit oo 4.1.0dev Rev. 1559272

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.