Bug 393064

Summary: Import data headers as comments and larger comment box
Product: [Applications] LabPlot2 Reporter: Justin <jrr45>
Component: generalAssignee: Alexander Semke <alexander.semke>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.4.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 2.6

Description Justin 2018-04-12 19:58:11 UTC
Feature request:
Option to include the header of a (ASCII) file as a comment field for a spreadsheet/matrix.  This would need a larger comment/note box for the spreadsheet/matrix to make things readable.  This would help greatly with keeping files and data organized by more than just the filename.
Comment 1 Alexander Semke 2018-04-13 06:49:48 UTC
(In reply to Justin from comment #0)
> Feature request:
> Option to include the header of a (ASCII) file as a comment field for a
> spreadsheet/matrix.  This would need a larger comment/note box for the
> spreadsheet/matrix to make things readable.  This would help greatly with
> keeping files and data organized by more than just the filename.
How would we recognize what the user wants to have as "header". Would this be simply everything up to the starting row? With or without lines in the header starting with a commenting character?

We can make the size of the comment text boxes resizable, similar to the text field of a text label (plot title, axis title, etc.) where the user can provide a longer (plain, html or latex formatted) text.
Comment 2 Justin 2018-04-24 03:34:49 UTC
(In reply to Alexander Semke from comment #1)
> How would we recognize what the user wants to have as "header". Would this
> be simply everything up to the starting row? With or without lines in the
> header starting with a commenting character?
> 
> We can make the size of the comment text boxes resizable, similar to the
> text field of a text label (plot title, axis title, etc.) where the user can
> provide a longer (plain, html or latex formatted) text.

I would like to include everything that isn't the column names (though that would be okay as well) but I don't have a commenting character in front of my header. I could see this not working for everyone so I could would just add the information by hand if there was space in the comment box.  A resizable box would work well for this and is probably the most important part of this request to me.
Comment 3 Alexander Semke 2018-04-25 19:32:39 UTC
(In reply to Justin from comment #2)
> I would like to include everything that isn't the column names (though that
> would be okay as well) but I don't have a commenting character in front of
> my header. I could see this not working for everyone so I could would just
> add the information by hand if there was space in the comment box.  A
> resizable box would work well for this and is probably the most important
> part of this request to me.
The comment box for spreadsheets is resizable now. Give it a try.
Comment 4 Alexander Semke 2019-01-25 18:23:49 UTC
The comment box is resizable which should fit the purpose here. To automatically add the header is not possible since it's not so clear what the header (commented text, everything that was not read, etc.) is for different use cases.