Merge lp:~pitti/xubuntu-artwork/fix-345269 into lp:~xubuntu-art/xubuntu-artwork/trunk

Proposed by Martin Pitt
Status: Merged
Merged at revision: 13
Proposed branch: lp:~pitti/xubuntu-artwork/fix-345269
Merge into: lp:~xubuntu-art/xubuntu-artwork/trunk
Diff against target: None lines
To merge this branch: bzr merge lp:~pitti/xubuntu-artwork/fix-345269
To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Fix display corruption, see https://bugs.launchpad.net/ubuntu/jaunty/+source/xubuntu-artwork/+bug/345269

It's probably much less severe than the recent regression for ubuntu/kubuntu, but it should be fixed anyway. I already uploaded the package.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2009-03-18 20:22:54 +0000
3+++ debian/changelog 2009-03-19 21:42:43 +0000
4@@ -1,3 +1,12 @@
5+xubuntu-artwork (0.23) jaunty; urgency=low
6+
7+ * usplash-theme-xubuntu.c, t_animate_step_16: Use the correct image's
8+ width for calculating the number of pulsating steps. Previously, this
9+ triggered integer, and thus buffer overflows, which caused screen
10+ corruption and sometimes complete corruption of the VTs. (LP: #345269)
11+
12+ -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 19 Mar 2009 22:42:34 +0100
13+
14 xubuntu-artwork (0.22) jaunty; urgency=low
15
16 * debian/control:
17
18=== modified file 'usplash/usplash-theme-xubuntu.c'
19--- usplash/usplash-theme-xubuntu.c 2009-03-15 14:03:15 +0000
20+++ usplash/usplash-theme-xubuntu.c 2009-03-19 21:42:30 +0000
21@@ -364,7 +364,7 @@
22 static int step_width = 2;
23 static int num_steps = 0;
24 int x1;
25- num_steps = (pixmap_throbber_fore.width - pulse_width)/2;
26+ num_steps = (pixmap_throbber_fore_16.width - pulse_width)/2;
27
28 if (pulsating) {
29 t_draw_progressbar_16(theme, 0);
30@@ -372,7 +372,7 @@
31 if(pulsate_step < num_steps/2+1)
32 x1 = 2 * step_width * pulsate_step;
33 else
34- x1 = pixmap_throbber_fore.width - pulse_width - 2 * step_width * (pulsate_step - num_steps/2+1);
35+ x1 = pixmap_throbber_fore_16.width - pulse_width - 2 * step_width * (pulsate_step - num_steps/2+1);
36
37 usplash_put_part(theme->progressbar_x + x1, theme->progressbar_y, pulse_width,
38 pixmap_throbber_fore_16.height, &pixmap_throbber_fore_16, x1, 0);

Subscribers

People subscribed via source and target branches