xfrun + dbus integration

Stefan Stuhr xfce4devlist at sstuhr.dk
Sun Jul 16 20:39:08 CEST 2006


søn, 16 07 2006 kl. 03:28 -0700, skrev Brian J. Tarricone:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi all,
> 
> I finally got around to implementing all that dbus stuff in xfrun we
> talked about months ago.  If it doesn't pass muster, we can always
> disable it for 4.4.0 final.  In the meantime, please give it a lot of
> testing.
> 
> 'xfrun4 --daemon' starts the daemon.  'xfrun4' instructs the daemon to
> pop up a dialog.  'xfrun4 --quit' instructs the daemon to quit.
> 
> If you don't have dbus support, you'll get the normal old
> single-instance dialog, which is probably slightly slower now, but
> that's the breaks.  Don't complain unless you've benchmarked and want to
> provide patches to speed it up.
> 
> [...]

It seems to work very well.

It does have a focus issue, however:
     1. Run the daemon if it's not running: xfrun4 --daemon
     2. Run the client, so that the run dialog opens.
     3. Press the Cancel button. The Cancel button gets the focus, and
        the dialog closes.
     4. Run the client again.

The result is that the Cancel button still has the focus. The focus
should be moved to the entry before the dialog is showed.

> 	-brian

Stefan




More information about the Xfce4-dev mailing list