bugPSPP - Bugs: bug #58733, edit in data sheet with value...

 
 

bug #58733: edit in data sheet with value label view edits the label name / Copy Paste does not work

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Wed 08 Jul 2020 02:54:59 PM UTC
   
 
Category:  Graphical User Interface Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 12 Jul 2020 07:16:49 PM UTC, comment #1: 

I fixed this with commit

http://git.savannah.gnu.org/cgit/pspp.git/commit/?id=36c0d2ad88eb077c1cf411f7ba7061a8e65688fe

Now value labels are interpreted and the the corresponding data is stored. This works for pasting data with value labels and it works when you edit the cell content via the editable. If you enter the text of an existing value label, then the correct data is stored.

If the valuelabel view is active, the copy action stores the value labels in the clipboard. Pasting into a variable which has these labels result in correct data. Pasting in variables which do not have these labels result in empty data.

Friedrich Beckmann <beckmanf>
Group Member
Wed 08 Jul 2020 02:54:59 PM UTC, original submission:  

When the data sheet view has numerical data with value labels and the value label view is activated, then editing a cell with a label will edit the label name and not the numerical data. Only relevant when value label view is active. To reproduce:

  1. Create a variable "a"
  2. Add two value labels {5 = "donald", 7 = "trump")
  3. Switch to data view
  4. Add data 1, 3, 5, 7, 9 , 10
  5. Switch on value label view => labels are displayed
  6. Click in row 4 with the value 7 ("trump")
  7. Click again


=> Result: The editable starts with the word "trump"
=> Expected: The editable should start with the numerical value 7.00 or edit should not be possible at all.

Copy and Paste with the value label view active does not work either. To reproduce:

  1. Select Column 1, Row 2 and 3 (values 3 and 5)
  2. Click in row 5 with value 9
  3. Paste


=> Result: The value 9 in row 5 is replaced with 3, value 10 in row 6 is empty
=> Expected: 9 replaced with 3 (already correct) and 10 replaced with "donald"

Friedrich Beckmann <beckmanf>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by beckmanf (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-07-12 beckmanf StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code