Bug 157353 - Drag-and-dropping data source column headings onto spreadsheet does not work
Summary: Drag-and-dropping data source column headings onto spreadsheet does not work
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-20 15:14 UTC by João Pedro Torres
Modified: 2024-05-03 03:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description João Pedro Torres 2023-09-20 15:14:45 UTC
Description:
While studying the use of databases inside Calc spreadsheets, I came across these instructions on the official documentation regarding inserting fields from a database for viewing individual records:

"You can also drag the data source column headings (field names) onto your spreadsheet to create a form for viewing and editing individual records one at a time. Follow these steps:
1) Drag and drop the gray box at the top of the column (containing the field name you wish to use) to where you want the record to appear in the spreadsheet
..."
https://wiki.documentfoundation.org/images/e/e9/CG7511-LinkingCalcData.pdf 
Page 32

The problem is... it doesn't work!
On dragging the box, the mouse cursor changes to the usual "insert" icon, but on dropping on any cell on a spreadsheet, noting happens!

Steps to Reproduce:
1.Ctrl+Shift+F4 to open the data sources panel (View > Data Sources)
2.Expand Bibliography (the default included database), tables and select the "biblio" table
3.From the panel's right side, drag any column header to any cell on the spreadsheet below.

Actual Results:
Nothing happens.

Expected Results:
As per the documentation, the corresponding field from the first record should appear.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: pt-BR (pt_BR); UI: en-US
Calc: CL threaded
Comment 1 ady 2023-09-20 18:52:29 UTC
As a side-note to the report in comment 0 (as it does not advance the report itself in any direction, but it might be of relevance)...

While there might be some misinformation problem in that pdf (version 7.5), I would like to post potential alternate sources of info:

 https://help.libreoffice.org/latest/en-US/text/scalc/guide/webquery.html?DbPAR=CALC

(and the links in that help page)

and some others (less specific, and only for version 7.6):

 https://help.libreoffice.org/7.6/en-US/search?P=data+sources
Comment 2 Buovjaga 2023-10-03 15:15:48 UTC
(In reply to João Pedro Torres from comment #0)
> Steps to Reproduce:
> 1.Ctrl+Shift+F4 to open the data sources panel (View > Data Sources)
> 2.Expand Bibliography (the default included database), tables and select the
> "biblio" table
> 3.From the panel's right side, drag any column header to any cell on the
> spreadsheet below.

Works fine here

Version: 7.6.0.1.0+ (X86_64) / LibreOffice Community
Build ID: 225d2f3a625a63054e05e2b440651f0bf2eef691
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9eb419b0b0f019f5fbc48ff1a11977e8b041edee
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded
Comment 3 ilya.y.komarov 2023-10-03 17:03:19 UTC
I can't reproduce the bug

Version: 24.2.0.0.alpha0+ (x86) / LibreOffice Community
Build ID: 2902ab24ecc5ffbf4907ea83b2028508b9de6364
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-CA (en_CA); UI: en-US
Calc: CL threaded

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-CA (en_CA); UI: en-US
Calc: CL threaded
Comment 4 Stéphane Guillou (stragu) 2023-10-04 18:15:29 UTC
Can't reproduce either on Linux:

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I tested both gtk3 and gen VCL plugin, and I went through the whole 7 steps of instructions from the linked guide, and it all worked as described.

João, did you have that issue starting from a new document? If not, can you please test from scratch, and maybe attach an example document if the issue is specific to your document?

Please also test in safe mode or with a new profile (after backing it up if needed). https://wiki.documentfoundation.org/UserProfile
Comment 5 QA Administrators 2024-04-02 03:12:19 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2024-05-03 03:17:11 UTC
Dear João Pedro Torres,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp