Public bug reported:

Binary package hint: ubuntustudio-look

http://www.freedesktop.org/wiki/Software/Plymouth/Scripts

Based on this document and ubuntu-logo plymouth theme, the order of
arguments in progress_callback function are progress at first and
secondly duration (time). But it's duration (time) at first and progress
secondly in ubuntustudio-logo.script.

I change these arguments on lucid and marveric, but the plymouth splash
does not work good. It looks too short to show the splash between it
appears and GDM appears. I change this function below but it's not good.

fun progress_callback (progress, duration)
{
 if (Plymouth.GetMode () == "boot" || "unknown")
 {
  if (progress < 1)
  {
   progress_bar.image = progress_bar.original_image.Scale 
(progress_bar.original_image.GetWidth (progress_bar.original_image) * progress, 
progress_bar.original_image.GetHeight ());
  }
  else
  {
   progress_bar.image = progress_bar.original_image.Scale 
(progress_bar.original_image.GetWidth (progress_bar.original_image), 
progress_bar.original_image.GetHeight ());
  }
 }
 else
 {
  if (progress < 1)
  {
   progress_bar.image = progress_bar.original_image.Scale 
(progress_bar.original_image.GetWidth (progress_bar.original_image) * (1 - 
progress), progress_bar.original_image.GetHeight ());
  }
  else
  {
   progress_bar.image = progress_bar.original_image.Scale (0, 
progress_bar.original_image.GetHeight ());
  }
 }
 
 progress_bar.sprite.SetImage (progress_bar.image);
 return;
}

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: plymouth-theme-ubuntustudio 0.38.3
ProcVersionSignature: Ubuntu 2.6.32-23.37-preempt 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-preempt x86_64
Architecture: amd64
Date: Fri Jun 18 01:54:58 2010
InstallationMedia: Ubuntu-Studio 10.04 "Lucid Lynx" - Alpha amd64 (20100322)
PackageArchitecture: all
ProcEnviron:
 LANG=ja_JP.utf8
 SHELL=/bin/bash
SourcePackage: ubuntustudio-look

** Affects: ubuntustudio-look (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
the wrong order of arguments in progress_callback function of plymouth script
https://bugs.launchpad.net/bugs/595599
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to