** Description changed:

+ SRU TEST CASE:
+ 1. Launch the current Ubuntu Software Center in Precise.
+ 2. Search for the "Darwinia" package and view the details view for it.
+ 3. Verify that the description text contains the error "Infectionand" near 
the end.
+ 4. Close Ubuntu Software Center.
+ 5. Update to the version of software-center in precise-proposed.
+ 6. Launch Ubuntu Software Center again and again navigate to "Darwinia".
+ 7. Verify that the text now correctly reads "Infection and".
+ 
+ SRU REGRESSION POTENTIAL:
+ Very low, but if there is a regression it would likely show as an error in 
description text layout or content.
+ 
  This happens with software-center 5.0.1.4 as shipped with Ubuntu 11.10.
  I have created a test package to make it easy to reproduce this. In the test 
package's control file the description is defined as follows:
  
  ---
  Description: A test package
-  The goal is to test that multi-line descriptions are handled correctly,
-  especially with regards to sentences that span more than two lines and how
-  spaces and line wrapping is handled.
+  The goal is to test that multi-line descriptions are handled correctly,
+  especially with regards to sentences that span more than two lines and how
+  spaces and line wrapping is handled.
  ---
  
  'dpkg --info' shows the description exactly as it was in the control
  file. However in software-center the description is shown as:
  
  ---
  The goal is to test that multi-line descriptions are handled correctly, 
especially with regards to sentences that span more than two lines and 
howspaces and line wrapping is handled.
  ---
  
  Notice how the last word of line two got concatenated with first one of
  line three, resulting in 'howspaces', thus causing users to report
  typos.
  
  I'm attaching testpkg.tar.bz2. It contains:
-  * testpkg_1.0-1_all.deb which is the test package I mentionned above.
-  * testpkg, a directory containing the source for building the above package. 
To rebuild the package, simply do:
-     cd testpkg
-     fakeroot ./build
+  * testpkg_1.0-1_all.deb which is the test package I mentionned above.
+  * testpkg, a directory containing the source for building the above package. 
To rebuild the package, simply do:
+     cd testpkg
+     fakeroot ./build

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

Title:
  software-center mishandles multi-line descriptions

Status in “software-center” package in Ubuntu:
  In Progress
Status in “software-center” source package in Precise:
  In Progress

Bug description:
  SRU TEST CASE:
  1. Launch the current Ubuntu Software Center in Precise.
  2. Search for the "Darwinia" package and view the details view for it.
  3. Verify that the description text contains the error "Infectionand" near 
the end.
  4. Close Ubuntu Software Center.
  5. Update to the version of software-center in precise-proposed.
  6. Launch Ubuntu Software Center again and again navigate to "Darwinia".
  7. Verify that the text now correctly reads "Infection and".

  SRU REGRESSION POTENTIAL:
  Very low, but if there is a regression it would likely show as an error in 
description text layout or content.

  This happens with software-center 5.0.1.4 as shipped with Ubuntu 11.10.
  I have created a test package to make it easy to reproduce this. In the test 
package's control file the description is defined as follows:

  ---
  Description: A test package
   The goal is to test that multi-line descriptions are handled correctly,
   especially with regards to sentences that span more than two lines and how
   spaces and line wrapping is handled.
  ---

  'dpkg --info' shows the description exactly as it was in the control
  file. However in software-center the description is shown as:

  ---
  The goal is to test that multi-line descriptions are handled correctly, 
especially with regards to sentences that span more than two lines and 
howspaces and line wrapping is handled.
  ---

  Notice how the last word of line two got concatenated with first one
  of line three, resulting in 'howspaces', thus causing users to report
  typos.

  I'm attaching testpkg.tar.bz2. It contains:
   * testpkg_1.0-1_all.deb which is the test package I mentionned above.
   * testpkg, a directory containing the source for building the above package. 
To rebuild the package, simply do:
      cd testpkg
      fakeroot ./build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/983831/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to