First impression: libxfce4menu

Jannis Pohlmann jannis at xfce.org
Wed Mar 28 16:33:52 CEST 2007


On Wed, 28 Mar 2007 15:44:27 +0200, Harold Aling wrote:

> Harold Aling wrote:
> >>> - Some icons are larger than others
> >>>
> >>
> >> Odd that that's new - icon loading is done exactly the same way as
> >> it was before, and, indeed, all icons are loaded using
> >> gdk_pixbuf_new_from_file_at_size() using a global size, so I don't
> >> see how this is possible.
> >>
> > See http://sait.nl/menu2.png -> Screensavers icon (wasn't present
> > in 4.4 menu)
> >
> >>> - Icons are drawn after the text is drawn. This causes the text to
> >>> shift x pixels to the right a fraction of a second later (probably
> >>> more noticeable on slower pc's)
> >>>
> >>
> >> This is not new either.  Icons have been lazy-loaded for a long
> >> time now (4.4.0 does this as well; I don't recall if any releases
> >> in the 4.2 series do too). The original intent was to improve
> >> xfdesktop startup time by reducing the time needed to generate the
> >> initial menu.  If menu popup speed is an issue for you due to the
> >> lazy-loading, I'd suggest not using SVG icons on older hardware.
> >> They take orders of magnitude longer to load and render than PNGs
> >> take.
> > I have a P4-3 GHz with 1,5 GB of RAM, which should be sufficient to
> > render SVG icons. If I notice the delay and the expanding on such a
> > machine, I'd reckon that it might be better to draw the menu with
> > space already reserved for the icons. This will also prevent the
> > overlapping of the menu as shown in http://sait.nl/menu.png ...
> >
> How can I create useful backtraces for libxfce4menu of xfdesktop?
> They tend to crash every time an item is added to the menu...
>
>
> I recompiled them with --enable-debug=full, but I get these '??'s in
> the backtrace...

Make sure you have the latest libxfce4menu (0.1.0svn-r25280) and
xfdesktop (r25325). There were some bugs in libxfce4menu related to
monitoring. Please note that monitoring is still experimental
(xfdesktop currently handles this on its own and it's not supported by
libxfce4menu yet).

  - Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070328/09876c0c/attachment.pgp>


More information about the Xfce4-dev mailing list