duplicate panel config id number bug still present

Brian J. Tarricone bjt23 at cornell.edu
Fri Oct 28 09:18:09 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Jasper,

I noticed that it seems like the bug where some panel items end up with
 the same id number is still there.  A week or so ago I did something
dumb and wiped out my panel config.  So I created a new panel, and I
quickly added all the plugins I wanted:  6 launchers in quick
succession, and some other stuff.  Basically I created the launchers by
quickly double-clicking 6 times, and then configured each one after they
were all created.

Then I noticed that on a panel restart, launchers #2 and #3 were the
same app, as were #6 and #7.  I was rather confused, but didn't really
look into it.

Anyway, the relevant portion of my panels.xml is here:

<items>
    <item name="launcher" id="1130052046"/>
    <item name="launcher" id="1130052047"/>
    <item name="launcher" id="1130052047"/>
    <item name="launcher" id="1130052048"/>
    <item name="launcher" id="1130052049"/>
    <item name="launcher" id="1130052049"/>
    <item name="separator" id="1130052082"/>
    <item name="systray" id="1130052090"/>
    <item name="netload" id="1130052072"/>
    <item name="systemload" id="1130052095"/>
    <item name="weather" id="1130052106"/>
    <item name="pager" id="1130052077"/>
    <item name="clock" id="1130052060"/>
    <item name="mailwatch" id="1130477619"/>
</items>

So it looks like whatever new method you're using to generate unique id
numbers isn't working (timestamp to microsecond precision?).  Why not
just use random numbers?  Yeah, there's a chance of collisions, but the
odds aren't all that high.

	-b

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDYdCx6XyW6VEeAnsRAm/lAJ9ZBU38omBisPiyY18sLEmWNybmLACdGI+S
CnUsNEwDRLbcGDgpRmi3IJE=
=Jpcj
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list