Bug 138106 - Forms: List Box: Source Cell Range - Doesn't allow horizontal range e.g. C14:F14
Summary: Forms: List Box: Source Cell Range - Doesn't allow horizontal range e.g. C14...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2020-11-09 23:45 UTC by Jax
Modified: 2023-08-14 03:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file (7.06 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-11-10 17:51 UTC, m_a_riosv
Details
Image of example (47.50 KB, image/jpeg)
2020-11-11 21:54 UTC, Jax
Details
Example File (10.09 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-11-11 21:54 UTC, Jax
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jax 2020-11-09 23:45:42 UTC
I wish to refer to a horizontal range and use as the 'Source Cell Range' for a 'List Box' when making a form.

The list box only shows the first item in the array.

Is there a rationale or is this a bug?

I've tried a workaround using Transpose but have hit a wall of awkward...
Comment 1 Martin Srdoš 2020-11-10 15:17:58 UTC
(In reply to Jax from comment #0)
> I wish to refer to a horizontal range and use as the 'Source Cell Range' for
> a 'List Box' when making a form.
> 
> The list box only shows the first item in the array.
> 
> Is there a rationale or is this a bug?
> 
> I've tried a workaround using Transpose but have hit a wall of awkward...

Hello Jax,
could you describe step by step what exactly you are doing? Also describe how to arrive at the box list that contains only the first item.
Comment 2 m_a_riosv 2020-11-10 17:51:16 UTC
Created attachment 167178 [details]
Sample file

Works fine for me.
Version: 6.4.7.2 (x64)
Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5
CPU threads: 4; OS: Windows 10.0 Build 20180; UI render: GL; VCL: win; 
Locale: es-ES (es_ES); UI-Language: en-US
Calc: CL
Comment 3 m_a_riosv 2020-11-10 17:52:03 UTC
Sorry I did a validation cell not a list box.
Comment 4 raal 2020-11-11 07:55:05 UTC
Hello,

Thank you for filing the bug. Please send us a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO', so please do change it back to 'UNCONFIRMED' once you have attached a document.
(Please note that the attachment will be public, remove any sensitive information before attaching it.)
How can I eliminate confidential data from a sample document?
https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F

Please answer question in comment 1. 
Thank you
Comment 5 Jax 2020-11-11 21:52:28 UTC
Thanks all,

Attached is an image of the sheet and also a sample file.

Instructions to replicate:

1. Create new sheet with a horizontal series of cell entries (see attached)
    e.g. C3=Hourly  D3=Daily  E3=Weekly
2. Enter Form Design Mode
3. Insert > Form COntrol > List Box  Then draw the box on the sheet
4. Right Click on the List Box and select Control Properties
5. Choose Data tab
6. Enter a cell address in 'Linked Cell'
    e.g. G13
7. In Source Cell Range, enter the horizontal range
    e.g. C3:E3
8. Leave Form Design Mode
9. Select the List Box and I only see Hourly as an option
Comment 6 Jax 2020-11-11 21:54:17 UTC
Created attachment 167216 [details]
Image of example
Comment 7 Jax 2020-11-11 21:54:55 UTC
Created attachment 167217 [details]
Example File
Comment 8 Jax 2020-11-11 21:59:02 UTC
(In reply to m.a.riosv from comment #3)
> Sorry I did a validation cell not a list box.

Ooh, Validation Cell... that's actually what I'm after... nevertheless, the bug stands.  Thanks m.a.riosv
Comment 9 QA Administrators 2020-11-12 04:54:26 UTC Comment hidden (obsolete)
Comment 10 Buovjaga 2021-07-27 13:54:04 UTC
Repro with document

NixOS
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 67e47070a7580a17804adce812cc2f98bfe7b51f
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 11 Buovjaga 2021-08-13 18:46:40 UTC
Already behaves like this in 3.5.0, so assuming inherited.
Comment 12 QA Administrators 2023-08-14 03:13:36 UTC
Dear Jax,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug