Hi,

some more details:

On Sun, Jun 15, 2008 at 01:37:31AM +0200, Axel Beckert wrote:
> If I configure this in the ~/.config/lxpanel/default/panels/panel
> configuration file

This file is used when I use lxpanel together with the ratpoison
window manager and the Xclients scripts. But the bug appears also, if
I choose LXDE at GDM. Then the path to the file is
~/.config/lxpanel/LXDE/panels/panel

> manually, it works (panel is tinted), but only as long as I change
> nothing in the lxpanel configuration interactively. As soon as the
> config gets rewritten, the setting "alpha" is reset to 0 again.

It's worse: If I do this, the system tray component vanishs (from the
panel, not from its configuration) and the menu empties itself.

Initially I thought I broke those two things independently, but when I
setup my lxpanel from scratch, menu and system tray worked fine until
the moment I logged out, edited the above mentioned config file, set
alpha to 127 and logged in again.

Attached the two config files before and after the change.
panel.before is the default config as written by lxpanel just with
background set to transparency.

Interestingly, if change alpha back to 0, the menu content and the
system tray don't come back, although the config file is the same
again. (I diffed it!) If I remove the whole ~/.config/lxpanel/
directory, menu and system tray are back again.

The menu also comes back again, if I interactively remove the menu
from the list of plugins and add it immediately again. But this does
not work for the system tray.

Very strange, this bug...

                Regards, Axel
-- 
/~\                                    | Axel Beckert
\ /  Plain Text Ribbon Campaign        | [EMAIL PROTECTED]     (Mail)
 X   Say No to HTML in E-Mail and News | [EMAIL PROTECTED]    (Mail+Jabber)
/ \                                    | http://noone.org/abe/    (Web)
# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
    edge=bottom
    allign=left
    margin=0
    widthtype=percent
    width=100
    height=26
    transparent=1
    tintcolor=#000000
    alpha=0
    setdocktype=1
    setpartialstrut=1
    usefontcolor=1
    fontcolor=#ffffff
    background=0
    backgroundfile=/usr/share/lxpanel/images/background.png
}

Plugin {
    type = space
    Config {
        Size=2
    }
}

Plugin {
    type = menu
    Config {
        image=/usr/share/lxpanel/images/my-computer.png
        system {
        }
        separator {
        }
        item {
            command=run
        }
        separator {
        }
        item {
            image=gnome-logout
            command=logout
        }
    }
}

Plugin {
    type = launchbar
    Config {
        Button {
            id=pcmanfm.desktop
        }
        Button {
            id=lxde-x-terminal-emulator.desktop
        }
        Button {
            id=lxde-x-www-browser.desktop
        }
    }
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = wincmd
    Config {
        Button1=iconify
        Button2=shade
    }
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = pager
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = taskbar
    expand=1
    Config {
        tooltips=1
        IconsOnly=0
        AcceptSkipPager=1
        ShowIconified=1
        ShowMapped=1
        ShowAllDesks=0
        UseMouseWheel=1
        UseUrgencyHint=1
        FlatButton=0
        MaxTaskWidth=150
        spacing=1
    }
}

Plugin {
    type = netstat
}

Plugin {
    type = cpu
}

Plugin {
    type = tray
}

Plugin {
    type = dclock
    Config {
        ClockFmt=%R
        TooltipFmt=%A %x
        BoldFont=0
    }
}

# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
    edge=bottom
    allign=left
    margin=0
    widthtype=percent
    width=100
    height=26
    transparent=1
    tintcolor=#000000
    alpha=127
    setdocktype=1
    setpartialstrut=1
    usefontcolor=1
    fontcolor=#ffffff
    background=0
    backgroundfile=/usr/share/lxpanel/images/background.png
}

Plugin {
    type = space
    Config {
        Size=2
    }
}

Plugin {
    type = menu
    Config {
        image=/usr/share/lxpanel/images/my-computer.png
        system {
        }
        separator {
        }
        item {
            command=run
        }
        separator {
        }
        item {
            image=gnome-logout
            command=logout
        }
    }
}

Plugin {
    type = launchbar
    Config {
        Button {
            id=pcmanfm.desktop
        }
        Button {
            id=lxde-x-terminal-emulator.desktop
        }
        Button {
            id=lxde-x-www-browser.desktop
        }
    }
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = wincmd
    Config {
        Button1=iconify
        Button2=shade
    }
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = pager
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = taskbar
    expand=1
    Config {
        tooltips=1
        IconsOnly=0
        AcceptSkipPager=1
        ShowIconified=1
        ShowMapped=1
        ShowAllDesks=0
        UseMouseWheel=1
        UseUrgencyHint=1
        FlatButton=0
        MaxTaskWidth=150
        spacing=1
    }
}

Plugin {
    type = netstat
}

Plugin {
    type = cpu
}

Plugin {
    type = tray
}

Plugin {
    type = dclock
    Config {
        ClockFmt=%R
        TooltipFmt=%A %x
        BoldFont=0
    }
}

Reply via email to