<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - The selectionChanged event of the com.sun.star.awt.grid.XGridSelectionListener interface does not work with mouse clicks."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=119427">119427</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>The selectionChanged event of the com.sun.star.awt.grid.XGridSelectionListener interface does not work with mouse clicks.
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.1.0.3 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>BASIC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>silvioteston@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>