Set Root Window as Pixmap with RetainPermanent [$150]

Bug #1083452 reported by Danielle Foré
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Greeter
Fix Released
Wishlist
Akshay Shekher

Bug Description

From Robert Ancell:

"When the greeter quits (i.e. closes the X connection) all the resources of that client are removed (i.e. X windows). So what happens is the root window reverts to its default background.

What Unity Greeter (and GDM) does is to set the root window to be a Pixmap (an X primitive) that shows the background of the user. So you have to mark the X connection that has the Pixmap as "RetainPermanent" so its resources stick around. You have to be careful not to leave anything else around except the pixmap (and I think the session has to explicitly destroy the pixmap so that isn't leaked).

Why not just keep the greeter there? It was my original attempt,
however the window manager starting up and just generally everything
changing this can interact badly with your greeter application.
There's some code for indicating to the greeter when to close, and
this can still be connected up. Perhaps you can get [Gala] to
handle this better, but I'd recommend you set the background and quit
the greeter as it gets messy anyway."

Supposedly the vala code for this already exists in Unity Greeter, so we can just steal it ;D

Related branches

description: updated
Cody Garver (codygarver)
Changed in pantheon-greeter:
status: New → Confirmed
Revision history for this message
Danielle Foré (danrabbit) wrote : Re: Set Root Window as Pixmap with RetainPermanent [$100]
summary: - Set Root Window as Pixmap with RetainPermanent
+ Set Root Window as Pixmap with RetainPermanent [$100]
tags: added: bounty
tags: added: smooth-login
Changed in pantheon-greeter:
assignee: nobody → Akshay Shekher (voldyman)
Cody Garver (codygarver)
Changed in pantheon-greeter:
status: Confirmed → In Progress
summary: - Set Root Window as Pixmap with RetainPermanent [$100]
+ Set Root Window as Pixmap with RetainPermanent [$150]
RabbitBot (rabbitbot-a)
Changed in pantheon-greeter:
status: In Progress → Fix Committed
Changed in pantheon-greeter:
milestone: none → freya-0.3.1
Cody Garver (codygarver)
Changed in pantheon-greeter:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.