[upstream] Calc Input bar error looses last character of pasted content

Bug #347453 reported by davidpbrown on 2009-03-23
4
Affects Status Importance Assigned to Milestone
LibreOffice
Confirmed
Low
OpenOffice
Confirmed
Unknown
libreoffice (Ubuntu)
Medium
Unassigned
openoffice.org (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: openoffice.org

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

3) What is expected to happen is if one copies a cell containing:
test

and paste it into the 'input line' bar, just test is pasted.

4) What happens instead is that a space is appended to the end of test. If one backspaces or deletes the space, the last character is deleted.

WORKAROUND: Paste into the desired cell directly, not the input line.

Original Reporter Comments: This seen in OOo 3.0.1 Build:9379

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: ndas_core nvidia
Package: openoffice.org-core 1:3.0.1-7ubuntu1~intrepid1
ProcEnviron:
 PATH=/usr/lib/openoffice/program:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: openoffice.org
Uname: Linux 2.6.27-11-generic i686
UnreportableReason: This is not a genuine Ubuntu package

davidpbrown (davidpbrown) wrote :
Chris Cheney (ccheney) on 2009-03-23
Changed in openoffice.org (Ubuntu):
importance: Undecided → Low
status: New → Triaged
davidpbrown (davidpbrown) wrote :

Delete works ok.. that is delete forward of the cursor. It's more accurately Backspace - deleting the character behind the cursor, that triggers this.

Chris Cheney (ccheney) on 2009-03-23
summary: - Openoffice Calc Input bar error looses last character of pasted content
+ [upstream] Calc Input bar error looses last character of pasted content
Changed in openoffice:
status: Unknown → Confirmed
Chris Cheney (ccheney) on 2010-05-13
tags: added: intrepid

davidpbrown, I performed the same test and noticed a one character space was inserted into the input line after the content. After hitting enter, then checking the cell, the space did not persist. Does this work for you?

lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

apt-cache policy libreoffice-calc
libreoffice-calc:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

Changed in libreoffice (Ubuntu):
status: New → Incomplete

Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/347453

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

3) What is expected to happen is if one copies a cell containing "test", and paste it into the 'input line' bar, just test is pasted.

4) What happens instead is that a space is appended to the end of test. If one backspaces or deletes the space, the last character is deleted.

davidpbrown (davidpbrown) wrote :

Yes. This is obvious a very old bug now and exiting the cell that additional space is properly removed but perhaps it shouldn't be introduced.

It seems the added whitespace isn't actually there but just the appearance of it. So, if you now press backspace to delete that whitespace, it is the last character of the content that's removed.

Example, pasting "test" content value from another cell, you see what appears to be a space suffix, but deleting that space deletes the last character non-obviously. You see "test" as expected in the input bar with the suffix space removed but in the cell you see the reality "tes". That truncated result then is the stored value when you exit the cell.

davidpbrown, good catch on deleting the space removes the last character! Since this bug has enough information provided for a developer to begin work, I'm going to mark it as Triaged and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
description: updated
tags: added: lo33
Changed in df-libreoffice:
importance: Unknown → Low
status: Unknown → Confirmed

It is the same on Windows. Reproduced also in 3.4.0.

Kohei, can you please check this?

in LibO 3.3.3 and 3.4.1 it seems to be ok. Please test it.

Reproduced in LO Calc 3.3.3.

lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

apt-cache policy libreoffice-calc
libreoffice-calc:
  Installed: 1:3.3.3-1ubuntu1
  Candidate: 1:3.3.3-1ubuntu1
  Version table:
 *** 1:3.3.3-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

Changed in openoffice.org (Ubuntu):
status: Triaged → Won't Fix

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

tags: added: xenial
description: updated
tags: added: bionic
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.