bugPSPP - Bugs: bug #47251, gtk3 / sheet - partly editing of...

 
 

bug #47251: gtk3 / sheet - partly editing of text in the data sheet is not possible - only all or nothing

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Thu 25 Feb 2016 08:45:48 AM UTC
   
 
Category:  Sheet Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  Future
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 23 Sep 2017 06:17:22 AM UTC, comment #6: 

I think this is fixed now.

John Darrington <jmd>
Group administrator
Fri 15 Sep 2017 08:23:58 AM UTC, comment #5: 

Hi John,

i checked this on MacOS. I run the grid.sps. When I click in the cell once, then the cell is focused and gets a black frame. Typing something in this state replaces the cell content completely. When I do a second click in this state, then the cell becomes editable and I can move the cursor in the cell content. The cursor is also positioned at the correct position in the cell where I clicked. It gets an additional thin blue frame. When I finish editing by typing RETURN, then cell below the edited cell has the new focus.

Doubleclicking a cell will also make it editable.

In Libreoffice the cell only enters the "edit" state with a doubleclick, but in MacOS Numbers, the editing is the same as in psppire. I think thats better.

I found the following problems.

Problem 1:

When the cell is in edit state with the thin blue frame and I click on another application window, i.e. the psppire window is not in focus anymore, then cell becomes empty white. The thick black frame remains, but the cell content is empty white. When I click back to the psppire window, the cell content remains white. Clicking in another cell, redraws the cell content correctly.

The same redraw problem is there when I scroll the sheet, while the cell is in edit mode. As long as the cell remains visible, everything is o.k. but once the cell leaves the visible area and I scroll back, then the cell is empty white with the black focus frame.

Problem 2:

Whenever I edit cell content and finish editing, I get the following message:

(psppire:95546): GLib-GObject-WARNING **: g_object_set_valist: object class 'PsppireDict' has no property named 'size'







Friedrich Beckmann <beckmanf>
Group Member
Fri 15 Sep 2017 05:09:32 AM UTC, comment #4: 

Can you check this with the current HEAD and see if there is any improvement?

John Darrington <jmd>
Group administrator
Mon 07 Mar 2016 03:08:54 PM UTC, comment #3: 

I had a look at this.  There does not seem to be a simple way to fix the problem. 

So I think we wait for a new sheet implementation.

John Darrington <jmd>
Group administrator
Mon 07 Mar 2016 08:36:01 AM UTC, comment #2: 

I compared the behavior in pspp with libreoffice. In libreoffice a single click in the cell will just focus the cell. When you then type something on the keyboard, editing is started. With a double-click on the cell, the editing is started immediately.

In psppire a single click will immediately start editing. I think this is not correct. Maybe a single click should just change the focus.

Friedrich Beckmann <beckmanf>
Group Member
Wed 02 Mar 2016 05:38:01 AM UTC, comment #1: 

I will have a look to see if there is a trivial fix for this.  If there is not I think it should be postponed.

John Darrington <jmd>
Group administrator
Thu 25 Feb 2016 08:45:48 AM UTC, original submission:  

When editing text in the data view it is not possible to move the cursor in already existing text in cells. You can only delete all text by typing characters and start from scratch.

Tested in git version c7a0edf69b4cab48148 on MacOS with gtk 3.18.7

Steps to reproduce the problem

1. Open psppire
2. Enter a number text 123456 in the cell
3. press enter -> This moves the cursor to the cell below ready to edit.
4. Go back to the previous cell via mouse click -> This selects the full number text.
5. Moving the cursor via key arrows to go to some position in the number text does not work. Instead the cursor moves to another cell. Also clicking the already highlighted text to position the cursor does does not work.

Friedrich Beckmann <beckmanf>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #41805:  selecting-row.JPG added by beckmanf (320KiB - image/jpeg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-23 jmd StatusNone Fixed
        Open/ClosedOpen Closed
    2017-09-15 beckmanf Attached File- Added selecting-row.JPG, #41805
    2016-03-20 jmd CategoryGTK3 Sheet
    2016-03-07 jmd ReleaseNone Future

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code