gksudo should use AIGLX to produce perfect fade effects

Bug #76932 reported by Trouilliez vincent
10
Affects Status Importance Assigned to Milestone
gksu (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: sudo

The fade in/out effects produced by gksudo are, and have always been since Warty, absolutely ugly. Slow, choppy, you can see the effect being drawn block by block. Looks very cheap :-/
Since we now have AIGLX by default, and are even starting to consider super mega fancy complicated stuff like compiz, I think it's only logical/consistent for gksudo to take advantage of AIGLX as well, so it can produce perfect fade effect, that are fast, glitch free. perfectly smooth, not choppy or anything that looks cheap/crap.

Despite the numerous, and fancy, effect that compiz is capable of, using only of few kilobytes of code (that still amazes me!), hopefully it should not be impossible to implement fade effects that "just work".

Obviously not all computers have drivers that support AIGLX, and and even those that do, may change video card, or decide to turn 3D support on and off for various reasons, so support AIGLX should not be set in stone when installing Ubuntu on the machine, but rather detected on th efly at run time, every time gksudo is invoked.

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

Obviously this is a featur erequest not a bug per se, but I am not allowed to change the "importance" field apparently...

Changed in sudo:
status: Unconfirmed → Confirmed
Revision history for this message
Adrien Cunin (adri2000) wrote :

Set package to gksu and importance to wishlist.
Please don't confirm your own bugs.

Changed in sudo:
importance: Undecided → Wishlist
status: Confirmed → Unconfirmed
Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

> Set package to gksu and importance to wishlist.

You don't understand... I have just said that I CANNOT set the importance field, Launchpad doesn't allow me to do it. I guess only authorized people like you, are allowed to modify this field.

Revision history for this message
Adrien Cunin (adri2000) wrote :

The "set" I used was a past participle, to say what changes I had made to the bug.
I know you cannot change the importance.

Revision history for this message
Fredrik (fredrk) wrote :

Good suggestion!

That would also eliminate the problem I have that Beryl dies on gksudo.

Revision history for this message
VF (vfiend) wrote :

Launchpad doesn't understand the upstream bug tracker, but the upstream bug is at: http://savannah.nongnu.org/bugs/?18754

Changed in gksu:
status: Unconfirmed → Confirmed
Revision history for this message
David Prieto (frandavid100-gmail) wrote :

I was about to file a bug like this, but Trouilliez stated it much better than I would have.

In a way, I consider it a bug and not a feature request, since if desktop-effects is activated GKSU doesn't dim the screen properly -and compiz by default is planned for Gutsy-. By the way, is the way the logout menu dims the screen related to this? Could we make them notice when Compiz is enabled and make it dim the screen, instead of their own systems?

Revision history for this message
David Prieto (frandavid100-gmail) wrote :

According to #XGL, gtk has a function for determining if Composite is available so it shouldn't bee too hard to patch gksu to do what I was commenting above.

Revision history for this message
Michael Vogt (mvo) wrote :

There is a svn branch at:
http://svn.debian.org/wsvn/gksu/libgksu/branches/composited/?rev=0&sc=0

that can be used as a starting point.

Revision history for this message
David Prieto (frandavid100-gmail) wrote :

This feature has been implemented in Gutsy, more or less. Gksu does in fact use composite when available now, but the effect is not a "fade" one, but kind of a "maximise" effect where a dark layer spreads until it covers the whole screen. It looks quite weird so I don't think it is intentional.

Revision history for this message
Fredrik (fredrk) wrote :

It looks much better in Gutsy (almost perfect for me)

Revision history for this message
MrHaroldA (mrharolda) wrote :

Well, here it looks like total cr#p...

The fade in is ok, but fading out never happens, the screen freezes for 5-20 seconds, 100% CPU load and then it suddenly shows the gksudo'd application.

Is there any way to disable the complete useless fade in/out?

-H-

Revision history for this message
Alexandre Campo (alexandre-campo) wrote :

Hi, I have exactly the same problem and no idea why this suddenly appears : was fine (crappy but working) in dapper / edgy / feisty, and produces same as Harold (see previous post) with Gutsy.
One easy workaround is to launch gksu-properties and disable the grab of other windows. However I would call that a bug, given that this application is not properly working in grab mode.

Revision history for this message
Andrea Gamba (andrea-gamba) wrote :

I think the problem is problem at the origin of the following bug:

https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/152264

which is quite annoying (see the screenshot).

Revision history for this message
Andrea Gamba (andrea-gamba) wrote :

However, the workaround proposed in the previous comment works for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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