[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Changed in: xfwm4 Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
This bug was fixed in the package xfwm4 - 4.11.1-2ubuntu1 --- xfwm4 (4.11.1-2ubuntu1) trusty; urgency=medium * Drop all existing ubuntu changes, fixed in debian * Add -DMONITOR_ROOT_PIXMAP to CPPFLAGS for xubuntu seamless greeter to desktop transition. LP: #1232804 -- Jackson DoakSat, 01 Mar 2014 19:27:21 +1100 ** Changed in: xfwm4 (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Branch linked: lp:ubuntu/trusty-proposed/xfwm4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Branch linked: lp:~noskcaj/ubuntu/trusty/xfwm4/merge -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Changed in: xfwm4 (Ubuntu) Status: New => In Progress ** Changed in: xfwm4 (Ubuntu) Assignee: (unassigned) => Jackson Doak (noskcaj) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
Please add the PPA https://launchpad.net/~unit193/+archive/xfce and test that the xfwm4 half works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Also affects: xfwm4 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Package changed: xfwm4 (Ubuntu) => xfwm4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Changed in: xfwm4 (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Changed in: lightdm-gtk-greeter Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Branch unlinked: lp:~a-j-buxton/lightdm-gtk-greeter/experimental ** Branch linked: lp:~a-j-buxton/lightdm-gtk-greeter/background-fixes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Branch unlinked: lp:~thad-fisch/lightdm-gtk-greeter/root-window -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Changed in: lightdm-gtk-greeter Assignee: (unassigned) => Alistair Buxton (a-j-buxton) ** Changed in: lightdm-gtk-greeter Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Changed in: lightdm-gtk-greeter Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
I just linked a branch which contains half of the fix for this (the other half needs to be implemented in xfwm4). This also fixes the greeter from leaking X11 resources all over the place. ** Branch linked: lp:~a-j-buxton/lightdm-gtk-greeter/experimental -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
A couple more URLs: http://search.cpan.org/~kryde/X11-Protocol- Other-28/lib/X11/Protocol/XSetRoot.pm - The XSETROOT style, which xfwm4 seems to try to use. http://www.eterm.org/docs/view.php?doc=ref#trans - the ESETROOT method, which xfdesktop appears to try to use. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
So after massive amounts of investigation this is what I came up with: 1. lightdm-gtk-greeter uses RetainPermanent pixmaps to set the background. What this means is that it opens a second connection to the X server, allocates the pixmap as RetainPermanent, pushes it into the root window, and then closes the connection. Usually when a client disconnects all resources get deallocated, but RetainPermanent prevents this, so the pixmap stays. This is a widely used technique, but lightdm-gtk-greeter does not implement it in the standard way. usually when you do this you also set atoms pointing at the pixmap so that other programs can later change or deallocate those pixmaps - otherwise they just get leaked. lightdm-gtk- greeter does not do this. It should. 2. Xfwm4 starts up in compositing mode. All the composited windows are drawn into a buffer, then the buffer is drawn to the root window. This means that even if there's no windows on screen, the buffer will still draw over whatever pixmap is in the root window. At startup, Xfwm4 fills it's buffer with solid grey, so that's what you see. Xfwm4 has code to read out the root pixmap set using RetainPermanent, but again, it seems to be a none standard implementation which uses wrong atom names to get the pixmap addresses. This should also be fixed. Also this code is usually disabled as it is used in "monitoring" mode, when xfwm4 will constantly check if the root pixmap changed and copy the new one to it's composite buffer. We don't need to do that because xfdesktop handles our background. We only need to copy once, at startup, to fill the gap. References: http://mail.xfce.org/pipermail/xfce4-dev/2013-November/030529.html - my post on xfce-dev mailing list asking about the xfwm4 code. https://github.com/mate-desktop/mate-desktop/pull/46 - a pull request fixing pretty much all the same problems in MATE. https://mail.gnome.org/archives/wm-spec-list/2002-January/msg1.html - a very old thread where the background atoms and how they should be used is discussed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
https://github.com/ali1234/xfwm4/commit/b7baa7aa60cdb80759e0872d0ab5a7cb59ec5c10 This patch combined with the xsetroot patch for lightdm (above) fixes the issue, but isn't ideal, as it doesn't address the leaking pixmaps and non-standard atom use. It's along the general lines of what we need to do though. Specifically my patch enables the root pixmap copy only at startup, and not the rest of the monitoring code. The monitoring code is what makes xfdesktop crash, because when it uses RetainPermanent, but does not create the pixmap with a dummy X11 connection like it should. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Branch linked: lp:~thad-fisch/lightdm-gtk-greeter/root-window -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Branch unlinked: lp:~thad-fisch/lightdm-gtk-greeter/root-window -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Branch linked: lp:~thad-fisch/lightdm-gtk-greeter/root-window -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1232804] Re: Improve "login greeter -> desktop" transition in Xubuntu
** Summary changed: - [compositing] improve login greeter -> desktop transition + Improve "login greeter -> desktop" transition in Xubuntu ** Attachment removed: "xsetroot.patch (lightdm-gtk-greeter)" https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1232804/+attachment/3894131/+files/xsetroot.patch ** Patch added: "xsetroot.patch (lightdm-gtk-greeter)" https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1232804/+attachment/3899352/+files/xsetroot.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1232804 Title: Improve "login greeter -> desktop" transition in Xubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1232804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs