I modified the test so it can be ran without having a bzr branch of
ubuntu-release-upgrader.

** Description changed:

- When running update-manager -d to upgrade from precise to quantal on two
- different machines I would be prompted to view the diffs between two
- files.  However the window that appears is not resizeable and it only
- shows two lines which is completely unusable.  See attached screenshot
- for an example
+ = Test Case =
  
- ProblemType: Bug
- DistroRelease: Ubuntu 12.10
+ 1) Download new-test.py from this bug
+ 2) sudo cp new-test.py /usr/lib/python3/dist-packages/
+ 3) cd /usr/lib/python3/dist-packages
+ 4) python3 new-test.py
+ 5) observe a conf file prompt with a 2 line diff window when expanded which 
is not resizable
+ 6) Ctrl-C in the terminal you launched python3 new-test.py
+ 7) do not submit the crash report you receive
+ 
+ 1) install the updated package from -proposed
+ 2) cd /usr/lib/python3/dist-packages
+ 3) python3 new-test.py
+ 4) observe a conf file prompt with a multi-line diff window when expanded 
which is resizable
+ 
+ 
+ When running update-manager -d to upgrade from precise to quantal on two 
different machines I would be prompted to view the diffs between two files.  
However the window that appears is not resizeable and it only shows two lines 
which is completely unusable.  See attached screenshot for an example
+ 
+ ProblemType: BugDistroRelease: Ubuntu 12.10
  Package: update-manager 1:0.174.3
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu3
  Aptdaemon:
-  
+ 
  Architecture: amd64
  Date: Thu Oct 11 20:33:51 2012
  GsettingsChanges:
-  b'com.ubuntu.update-manager' b'first-run' b'false'
-  b'com.ubuntu.update-manager' b'launch-time' b'1349900623'
-  b'com.ubuntu.update-manager' b'show-details' b'true'
-  b'com.ubuntu.update-manager' b'window-height' b'922'
-  b'com.ubuntu.update-manager' b'window-width' b'964'
- PackageArchitecture: all
- SourcePackage: update-manager
+  b'com.ubuntu.update-manager' b'first-run' b'false'
+  b'com.ubuntu.update-manager' b'launch-time' b'1349900623'
+  b'com.ubuntu.update-manager' b'show-details' b'true'
+  b'com.ubuntu.update-manager' b'window-height' b'922'
+  b'com.ubuntu.update-manager' b'window-width' b'964'
+ PackageArchitecture: allSourcePackage: update-manager
  UpgradeStatus: Upgraded to quantal on 2012-10-12 (0 days ago)

** Attachment added: "new-test.py"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1065806/+attachment/3409182/+files/new-test.py

** Description changed:

+ = Impact =
+ 
+ When upgrading from precise to quantal if you receive a dialog about a
+ customized configuration file the window that displays the differences
+ only shows 2 lines so you need to scroll in it to see the differences
+ and the window is not resizable which makes it quite hard to review the
+ changes.
+ 
  = Test Case =
  
  1) Download new-test.py from this bug
  2) sudo cp new-test.py /usr/lib/python3/dist-packages/
  3) cd /usr/lib/python3/dist-packages
  4) python3 new-test.py
  5) observe a conf file prompt with a 2 line diff window when expanded which 
is not resizable
  6) Ctrl-C in the terminal you launched python3 new-test.py
  7) do not submit the crash report you receive
  
  1) install the updated package from -proposed
  2) cd /usr/lib/python3/dist-packages
  3) python3 new-test.py
  4) observe a conf file prompt with a multi-line diff window when expanded 
which is resizable
  
- 
- When running update-manager -d to upgrade from precise to quantal on two 
different machines I would be prompted to view the diffs between two files.  
However the window that appears is not resizeable and it only shows two lines 
which is completely unusable.  See attached screenshot for an example
+ When running update-manager -d to upgrade from precise to quantal on two
+ different machines I would be prompted to view the diffs between two
+ files.  However the window that appears is not resizeable and it only
+ shows two lines which is completely unusable.  See attached screenshot
+ for an example
  
  ProblemType: BugDistroRelease: Ubuntu 12.10
  Package: update-manager 1:0.174.3
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu3
  Aptdaemon:
  
  Architecture: amd64
  Date: Thu Oct 11 20:33:51 2012
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'launch-time' b'1349900623'
   b'com.ubuntu.update-manager' b'show-details' b'true'
   b'com.ubuntu.update-manager' b'window-height' b'922'
   b'com.ubuntu.update-manager' b'window-width' b'964'
  PackageArchitecture: allSourcePackage: update-manager
  UpgradeStatus: Upgraded to quantal on 2012-10-12 (0 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1065806

Title:
  diff window is too small on upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1065806/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to