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

Alex Thurgood <ipla...@yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #9 from Alex Thurgood <ipla...@yahoo.co.uk> ---
(In reply to Lionel Elie Mamane from comment #8)
> Created attachment 121885 [details]
> test case
> 
> It is easier to see/test with dropdown=false, so I did that.
> 
> I added a button "show lstBox selected". Select rows with mouse, click on
> button.
> Select rows with CTRL-A, click button. You'll see the issue. You need to
> enable macros.

Ah thanks. My testing on master dbgutil
Version: 5.2.0.0.alpha0+
Build ID: 569bbec54030ab4e7f45aa9e832cac3aa36430a3
CPU Threads: 2; OS Version: -; UI Render: default; 
LocaleĀ : fr-FR (fr.UTF-8)

OSX 10.11.2

When the form opened, I selected four different values, using the Cmd-left
mouse button click combination to do so. The values I selected were One, Three,
Five and Six.

When I clicked the macro button, I see several messages in sequence (after
pressing OK each time) :

First message : "There are 4 items selected"
Second message : SelectedItems(0) is '0'
Third message : SelectedItems(1) is '2'
Fourth message : SelectedItems(2) is '4'
Fifth message : SelectedItems(3) is '5'
Sixth message :There are 4 values selected

So, all of this appears to be correct, as the count for the array starts from
value index 0.

The subsequent messages retrieve the value of the corresponding array index,
and return the values I had selected in the GUI. So far so good.

Now, I went back to the listbox and selected the first entry, then pressed
Cmd-A (select all), and then pressed the macro button :

First message : there are 1 items selected
Second message : SelectedItems(0) is '0'
Third message : SelectedValues(0) is 'One'


No other values are shown.

Confirming.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to