Bug 148385 - Fileopen CSV as fixed width: Textimport doesn't work correct
Summary: Fileopen CSV as fixed width: Textimport doesn't work correct
Status: RESOLVED DUPLICATE of bug 148217
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.6.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-05 08:30 UTC by Rolf
Modified: 2023-01-05 12:21 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Testfile for Textimport (1.20 KB, text/csv)
2022-04-05 11:47 UTC, Rolf
Details
Korrect Text Import (12.80 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-04-11 10:59 UTC, Rolf
Details
wrong Text import (18.66 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-04-11 10:59 UTC, Rolf
Details
Filter attitude (61.27 KB, image/jpeg)
2022-04-11 11:00 UTC, Rolf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf 2022-04-05 08:30:43 UTC
Description:
If I import a text file and set the columns as fixed, they are not adopted as the text filter was set.

Steps to Reproduce:
1.Sheet
2.Sheet out of File
3.Textfile
4.fixd columns wiht hidden columns

Actual Results:
Not the right columns are imported

Expected Results:
Textfile import with more than 2 columns but expected are only 2 columns.


Reproducible: Always


User Profile Reset: No



Additional Info:
Imports some columns that are not defined
Comment 1 Xisco Faulí 2022-04-05 09:03:49 UTC Comment hidden (obsolete)
Comment 2 Rolf 2022-04-05 11:47:16 UTC
Created attachment 179323 [details]
Testfile for Textimport

Try to import this Textfile(Test.csv).

Example Line : 
*$S0002                $L12$F001$T001$B00000212$I001$G00101$R00000600$O01$N.V BASISWINKEL WIPPENSCHALTER ROTOMAT   $H05      $H06    $H07 $H08        $

Attitude :
*$S          = Hidden (ausgeblendet in German) column
0002         = Text column
$L12 till $N = Hidden column
.V BASISWINKEL WIPPENSCHALTER ROTOMAT   = Text column
$H05 till $  = Hidden column
Comment 3 QA Administrators 2022-04-06 03:46:29 UTC Comment hidden (obsolete)
Comment 4 m_a_riosv 2022-04-06 17:51:46 UTC Comment hidden (obsolete)
Comment 5 Rolf 2022-04-07 05:02:48 UTC
(In reply to m.a.riosv from comment #4)
> Maybe I'm wrong, but it not looks as normalized csv file format.
> https://en.wikipedia.org/wiki/Comma-separated_values

I used such a file many times befor, it works, but in the currend Office it doesn't
work.
Comment 6 Rolf 2022-04-07 05:04:42 UTC Comment hidden (obsolete)
Comment 7 m_a_riosv 2022-04-07 16:37:06 UTC Comment hidden (obsolete)
Comment 8 Rolf 2022-04-08 04:38:27 UTC
(In reply to m.a.riosv from comment #7)
> Do you remember the last version working?

I tried 7.06 portable in this version it worked.
Comment 9 Rolf 2022-04-08 08:29:22 UTC
V7.2.6.2 also doesn't work.
Comment 10 QA Administrators 2022-04-09 04:13:18 UTC Comment hidden (obsolete)
Comment 11 m_a_riosv 2022-04-10 19:41:02 UTC
I can't see any difference with
Version: 7.0.5.2 (x64)
Build ID: 64390860c6cd0aca4beafafcfd84613dd9dfb63a
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); Interfaz: es-ES  Calc: CL
Comment 12 Xisco Faulí 2022-04-11 09:26:13 UTC
(In reply to Rolf from comment #8)
> (In reply to m.a.riosv from comment #7)
> > Do you remember the last version working?
> 
> I tried 7.06 portable in this version it worked.

Could you please attach a screenshot of the correct behaviour ?
Comment 13 Rolf 2022-04-11 10:59:04 UTC
Created attachment 179452 [details]
Korrect Text Import

Right Text Import
Comment 14 Rolf 2022-04-11 10:59:36 UTC
Created attachment 179453 [details]
wrong Text import
Comment 15 Rolf 2022-04-11 11:00:59 UTC
Created attachment 179454 [details]
Filter attitude
Comment 16 QA Administrators 2022-04-12 04:38:41 UTC Comment hidden (obsolete)
Comment 17 raal 2022-04-13 16:12:58 UTC
I cannot reproduce with Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: ab8d141967111ca81f4607db3618bb09214e42db
CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo
Comment 18 m_a_riosv 2022-04-13 20:50:12 UTC
Hi @raal, pls what are your options at import to get that?

I can't get it with
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: d34d1db55978bdcff082af1e0f75b18fa6fc94f4
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES Calc: threaded
Comment 19 Rolf 2022-04-14 04:31:34 UTC
(In reply to m.a.riosv from comment #18)
> Hi @raal, pls what are your options at import to get that?
> 
> I can't get it with
> Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: d34d1db55978bdcff082af1e0f75b18fa6fc94f4
> CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL:
> win
> Locale: es-ES (es_ES); UI: es-ES Calc: threaded

Use the files  which I uploaded, the error occurs on 7.3.2.2(X64).
Comment 20 Timur 2022-05-18 14:02:27 UTC
There was a bug from 7.0 to 7.2 but this seems OK with 7.3 and daily master 7.4+.
In Fixed width, just click where you want column. 

https://help.libreoffice.org/7.4/en-US/text/shared/00/00000208.html
"Fixed width
Separates fixed-width data (equal number of characters) into columns. Click on the ruler in the preview window to set the width."
Comment 21 Buovjaga 2023-01-05 12:21:45 UTC

*** This bug has been marked as a duplicate of bug 148217 ***