https://bugs.kde.org/show_bug.cgi?id=466945

            Bug ID: 466945
           Summary: Automatic selection of decimal separator doesn't work
                    for pasted data
    Classification: Applications
           Product: LabPlot2
           Version: latest
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: frontend
          Assignee: alexander.se...@web.de
          Reporter: dirk.nieme...@siemens.com
  Target Milestone: ---

Created attachment 157045
  --> https://bugs.kde.org/attachment.cgi?id=157045&action=edit
Text for clipboard

SUMMARY
***
The automatic detection of the decimal separator doesn't work in my use cases.


STEPS TO REPRODUCE
With a clean installation (nightly build 126) without any changes to the
configuration: 
1.  Open the attached file in a text editor (the data comes from copy & paste
from a 3rd party tool. Mark the entire content, copy to clipboard.
2.  Run Labplot, create a spreadsheet in Project.
3.  CTRL-V the data into the table. 

OBSERVED RESULT

The columns are detected as "Text". If you try to change the type of a col (or
both) to "Float" the content is deleted: Changing back the type to "Text"
doesn't bring back the values, they are truely deleted.

Workaround: Settings / Configure Labplot - set Decimal separator manually to
the one used in the clipboard (or file) content. In this case switch between
formats "Text" and "Float" will not delete the rows.

EXPECTED RESULT

Automatic recognition of "." (dot) as decimal separator. No deletion of values
when switching between (invalid?) formats.

SOFTWARE/OS VERSIONS
Windows: 10 20H2 (yes, 20!)
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to