Public bug reported:

The default background (solid purple = 2c001e) is shown first. It's not until 
the background receives another size_allocate that the actual configured 
gsettings background is loaded and displayed.  Here's a excerpt from the 
greeter log, /var/log/lightdm/x-0-greeter.log:
[+1.03s] DEBUG: unity-greeter.vala:350: Showing main window
[+1.03s] DEBUG: New style for time label
[+1.03s] DEBUG: Evaluating bitmask for '%l:%M %p'
[+1.03s] DEBUG: Checking against 2 possible times
[+1.03s] DEBUG: Guessing max time width: 62
[+1.04s] DEBUG: background.vala:315: Regenerating backgrounds
[+1.04s] DEBUG: background.vala:67: Making background 
/usr/share/backgrounds/Winter_Morning_by_Shannon_Lucas.jpg at 
1280x1024,1680x1050
[+1.04s] DEBUG: New style for time label
[+1.04s] DEBUG: Evaluating bitmask for '%l:%M %p'
[+1.04s] DEBUG: Checking against 2 possible times
[+1.04s] DEBUG: Guessing max time width: 62
[+1.05s] DEBUG: unity-greeter.vala:891: Starting main loop
[+1.05s] DEBUG: Read 8 bytes from daemon
[+1.05s] DEBUG: Read 26 bytes from daemon
[+1.05s] DEBUG: Prompt user with 1 message(s)
[+1.08s] DEBUG: unity-greeter.vala:310: starting system-ready sound
[+1.28s] WARNING: Getting layout failed: 
GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 
`com.canonical.dbusmenu' on object at path /com/canonical/indicator/users/menu
[+1.28s] DEBUG: Num devices: '1'

[+1.28s] DEBUG: get_primary_device: got data from object 
/org/freedesktop/UPower/devices/ups_hiddev0
[+1.28s] MESSAGE: Couldn't find primary device
[+1.28s] DEBUG: Num devices: '1'

[+1.28s] DEBUG: menu_add_device: got data from object 
/org/freedesktop/UPower/devices/ups_hiddev0
[+1.28s] DEBUG: icon_policy is: 0 (present==0, charge==1, never==2)
[+1.28s] DEBUG: count_batteries found 0 batteries (0 are charging/discharging)
[+1.28s] DEBUG: should_be_visible: no
[+1.28s] DEBUG: menubar.vala:519: Removing indicator object 0x1e8e648
[+1.28s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+1.28s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+1.28s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+1.28s] WARNING: menubar.vala:531: Indicator object 0x1e8e648 not in menubar
[+1.28s] DEBUG: notify visible signal received
[+1.28s] CRITICAL: ido_calendar_menu_item_set_date: assertion 
`IDO_IS_CALENDAR_MENU_ITEM(menuitem)' failed
[+1.28s] DEBUG: New calendar item
[+1.29s] DEBUG: background.vala:116: Render of background 
/usr/share/backgrounds/Winter_Morning_by_Shannon_Lucas.jpg complete

That's about 0.25 seconds showing the default background.

What should happen is the MainWindow shouldn't show until the configured
background is ready to be rendered.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity-greeter 0.2.7-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic x86_64
ApportVersion: 2.0-0ubuntu5
Architecture: amd64
Date: Thu Apr 12 23:55:23 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120405)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity-greeter
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: unity-greeter (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

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

Title:
  Default background (solid purple) shows first

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/980492/+subscriptions

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

Reply via email to