[Libreoffice-bugs] [Bug 119427] New: The selectionChanged event of the com.sun.star.awt.grid.XGridSelectionListener interface does not work with mouse clicks.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 22 18:27:54 UTC 2018


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

            Bug ID: 119427
           Summary: The selectionChanged event of the
                    com.sun.star.awt.grid.XGridSelectionListener interface
                    does not work with mouse clicks.
           Product: LibreOffice
           Version: 6.1.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: silvioteston at gmail.com

Description:
I'm using the listener with the model
com.sun.star.awt.grid.UnoControlGridModel. My macro is written in BASIC. With
version 6.1.0.3 the selectionChanged of
com.sun.star.awt.grid.XGridSelectionListener is not invoked when the user
selects a row. Pressing up or down arrow keys the row selected changes and the
event selectionChanged is invoked. When the user changes the selection using
the left mouse click the event is not invoked.
With LO version 6.0.6 (stable version) the event is properly invoked. The
problem was first seen in version 6.1.0.3.

Steps to Reproduce:
1.Create a new dialog and add a com.sun.star.awt.grid.UnoControlGridModel
2.Add a listener com.sun.star.awt.grid.XGridSelectionListener to the grid
control 
3.Add a routine to treat selectionChanged() event
4. Fill the grid with some rows
5. Run the macro and show the dialog
6. Select rows using mouse. The event is not invoked.
7. Using up or down arrow keys the envent is invoked.

Actual Results:
Event selectionChanged() is not responding to mouse clicks.

Expected Results:
The event selectionChanged should be invoked every time a selection has
changed, but it doesn't.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
When the user changes the selection with a mouse click, the event
selectionChanged should be called.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180822/3f5ac746/attachment.html>


More information about the Libreoffice-bugs mailing list