-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Package: awesome Version: 3.4.15-1+b1 Severity: normal
Dear maintainer, Since I installed Awesome I've noticed that some entries in the Debian menu don't show up in the default configuration. When mousing over the parent of such entries a red notification appears which I unfortunately can't quote because I've changed the behavior which causes the error. The sense of it is that the Lua interpreter is attempting to compare a number to nil in line 221 /usr/share/awesome/lib/awful/menu.lua - to wit, this section: <code> -- Set icon if needed local iconbox -- following section commented out because menus break --[[ if item_info[3] then local icon = type(item_info[3]) == "string" and image(item_info[3]) or item_info[3] end if icon.width > data.h or icon.height > data.h then local width, height if ((data.h/icon.height) * icon.width) > data.h then width, height = data.h, (data.h / icon.width) * icon.height else width, height = (data.h / icon.height) * icon.width, data.h end icon = icon:crop_and_scale(0, 0, icon.width, icon.height, width, height) end iconbox = widget { type = "imagebox" } iconbox.image = icon layout.margins[label] = { left = 2 } else layout.margins[label] = { left = data.h + 2 } end ]] item:buttons(bindings) </code> As you can see I've commented out the problematic section, which prevents the error at the cost of not displaying the icons for the menu entries. I tried tweaking it to not break, but I don't understand the code here well enough for it to work yet. I have a pretty busy week ahead, but I will try over the next few days to fix this behavior and send a patch. Thanks for the wonderful work you've done in maintaining this package: Awesome is my favorite WM ☺ - --- System information. --- Architecture: amd64 Kernel: Linux 3.16.0-4-amd64 Debian Release: stretch/sid 500 testing-updates ftp.us.debian.org 500 testing-proposed-updates ftp.us.debian.org 500 testing security.debian.org 500 testing ftp.us.debian.org 500 stable dl.google.com 1 experimental ftp.debian.org - --- Package information. --- Depends (Version) | Installed ==========================================-+-============== libc6 (>= 2.4) | libcairo2 (>= 1.6.4-5~) | libdbus-1-3 (>= 1.0.2) | libev4 (>= 1:4.04) | libglib2.0-0 (>= 2.12.0) | libimlib2 | liblua5.1-0 | libpango1.0-0 (>= 1.20.0) | libstartup-notification0 (>= 0.10) | libx11-6 | libx11-xcb1 | libxcb-icccm4 (>= 0.3.9) | libxcb-image0 (>= 0.3.9) | libxcb-keysyms1 (>= 0.3.9) | libxcb-randr0 (>= 1.1) | libxcb-render0 | libxcb-shape0 | libxcb-shm0 | libxcb-util0 (>= 0.3.8) | libxcb-xinerama0 | libxcb-xtest0 | libxcb1 | libxcursor1 (>> 1.1.2) | libxdg-basedir1 | menu | dbus-x11 | Recommends (Version) | Installed ================================-+-=========== x11-xserver-utils | 7.7+4 rlwrap | feh | 2.12.1-1 Package's Suggests field is empty. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVbBAoAAoJEAa852fG4/6BC1gH/Rajnt3J09R9+2xVKzA8VSba Fo+cHoiHe9GtpTz+wiDHNqnmkQd/yyTTMKLav9V6KKavF30Vqp+OvX1hQwzBM3B/ DywRbSodniWi7NYAVNJ95Scar7fFzjzLgkAO0nQHoLmkd9IIb99G26PBXLLGUMKE aouaEbwhilRiotLHRzn7WUEFyh+dLWZ7zua8gw+n7ri6ksZw8gkcXvA/Lbi0Gap5 Ff/gFIOATbD2fxF/s//9fu2lB5HRxL8UyjAmP7or1yPZoceUZlQ9HWo2ZR+kaGY1 fLMYDkJyiVxbv8cXHYI4FQB5bY+XgemzpiRKl8/O2kZwjIAh9tV4dUUtcPlUNpM= =0Kzq -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org