Bug 120210 - meet issue in open some excel files with hiding everything but the working area in a worksheet
Summary: meet issue in open some excel files with hiding everything but the working ar...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.4.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-30 09:51 UTC by Wind Li
Modified: 2019-06-08 03:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
hide cols (9.94 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2018-10-08 19:56 UTC, Wind Li
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wind Li 2018-09-30 09:51:21 UTC
Description:
nCol should be checked in sc/source/core/data/document.cxx ScDocument::GetNote

 ScPostIt* ScDocument::GetNote(SCCOL nCol, SCROW nRow, SCTAB nTab)
 {
-    if (ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()))
+    if (ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && nCol < static_cast<SCCOL>(maTabs[nTab]->aCol.size()))
         return maTabs[nTab]->aCol[nCol].GetCellNote(nRow);
     else
         return nullptr;

Way to hide everything but the working area in an Excel worksheet:
https://www.techrepublic.com/blog/microsoft-office/hide-everything-but-the-working-area-in-an-excel-worksheet/


Steps to Reproduce:
1. open excel files with hiding everything but the working area in a libreoffice oline 

Actual Results:
failed to open

Expected Results:
open correct


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 raal 2018-10-06 03:58:10 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
Thank you
Comment 2 Wind Li 2018-10-08 19:56:55 UTC
Created attachment 145498 [details]
hide cols
Comment 3 raal 2018-10-08 21:08:46 UTC
I can not reproduce with Version: 6.2.0.0.alpha0+
Build ID: e9c1cbce903d325b1e19602d72765511589f5bf2
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3;
Comment 4 Xisco Faulí 2018-10-10 15:46:14 UTC
> Actual Results:
> failed to open

Could you please elaborate?
I've opened the file with Excel 2010 and LibreOffice 6.2 side by side and they look identical at first glance...

Setting to NEEDINFO until more info is provided...
Comment 5 QA Administrators 2019-05-08 18:23:39 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-06-08 03:03:01 UTC
Dear Wind Li,

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