← Back to team overview

desktop-packages team mailing list archive

[Bug 892476] Re: [Upstream] Regular expression "\n" in replace field inputs "\n" instead of paragraph break

 

** Summary changed:

- "\n" in replace field of Calc's search and replace is treated as text
+ [Upstream] Regular expression "\n" in replace field inputs "\n" instead of paragraph break

** Bug watch added: freedesktop.org Bugzilla #43107
   https://bugs.freedesktop.org/show_bug.cgi?id=43107

** Changed in: df-libreoffice
 Remote watch: freedesktop.org Bugzilla #43086 => freedesktop.org Bugzilla #43107

** Description changed:

- In Calc's search and replace feature, entering "\n" in the replace
- fields is treated as regular text.
+ 1) lsb_release -rd
+ Description:    Ubuntu 11.10
+ Release:    11.10
  
- It would be useful to use "\n" for new line in Calc.
+ 2) apt-cache policy libreoffice-calc
+ libreoffice-calc:
+   Installed: 1:3.4.4-0ubuntu1~ppa1
+   Candidate: 1:3.4.4-0ubuntu1~ppa1
+   Version table:
+  *** 1:3.4.4-0ubuntu1~ppa1 0
+         500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ oneiric/main i386
+ Packages
+         100 /var/lib/dpkg/status
+      1:3.4.3-3ubuntu2 0
+         500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
  
- This is in LibreOffice Calc 3.4.4 from oneiric proposed.
+ 3) What is expected to happen in LibreOffice Calc is when one of the cells
+ contains a line break -> Edit -> Find and Replace... -> in the "Search for"
+ drop down \n -> in the "Replace with" drop down \n -> Regular expression button
+ checked is the line break is replaced with a paragraph break as noted in
+ http://help.libreoffice.org/Common/List_of_Regular_Expressions
+ 
+ 4) What happens instead is the line break is replaced with the
+ characters \n
  
  ProblemType: BugDistroRelease: Ubuntu 11.10
  Package: libreoffice-calc 1:3.4.3-3ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Sat Nov 19 13:02:28 2011
  EcryptfsInUse: YesInstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)SourcePackage: libreoffice
  UpgradeStatus: Upgraded to oneiric on 2011-10-16 (34 days ago)

** Changed in: libreoffice (Ubuntu)
   Importance: Undecided => Medium

** Changed in: libreoffice (Ubuntu)
       Status: New => Triaged

** Tags added: xubuntu

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/892476

Title:
  [Upstream] Regular expression "\n" in replace field inputs "\n"
  instead of paragraph break

Status in LibreOffice Productivity Suite:
  Unknown
Status in “libreoffice” package in Ubuntu:
  Triaged

Bug description:
  1) lsb_release -rd
  Description:    Ubuntu 11.10
  Release:    11.10

  2) apt-cache policy libreoffice-calc
  libreoffice-calc:
    Installed: 1:3.4.4-0ubuntu1~ppa1
    Candidate: 1:3.4.4-0ubuntu1~ppa1
    Version table:
   *** 1:3.4.4-0ubuntu1~ppa1 0
          500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ oneiric/main i386
  Packages
          100 /var/lib/dpkg/status
       1:3.4.3-3ubuntu2 0
          500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages

  3) What is expected to happen in LibreOffice Calc is when one of the cells
  contains a line break -> Edit -> Find and Replace... -> in the "Search for"
  drop down \n -> in the "Replace with" drop down \n -> Regular expression button
  checked is the line break is replaced with a paragraph break as noted in
  http://help.libreoffice.org/Common/List_of_Regular_Expressions

  4) What happens instead is the line break is replaced with the
  characters \n

  ProblemType: BugDistroRelease: Ubuntu 11.10
  Package: libreoffice-calc 1:3.4.3-3ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Sat Nov 19 13:02:28 2011
  EcryptfsInUse: YesInstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)SourcePackage: libreoffice
  UpgradeStatus: Upgraded to oneiric on 2011-10-16 (34 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/892476/+subscriptions


References