THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added:
FS#1293 - Systray won't show with margin layout User who did this - Carlos (memeplex) ---------- I've found out where the problem is. systray.fit is returning 0 both when the margin layout is used and also when not. So the problem couldn't be there. But systray.draw is called only when the margin layout is not used. So there must be something in margin.draw that makes reaching systray.draw impossible. Indeed: if not self.widget or width <= x + w or height <= y + h then return end This will fail because of the condition width <= x + w. As num_entries = 0, it must be width == x + w. One way out is to ask for width (and height) to be strictly less than x+w (and y+h), although this will render the borders of a zero width (or height) component. Another way out is to avoid having widgets that aren't able to calculate their geometry before draw is called for the first time. I'm not sure, I'm no expert. ---------- More information can be found at the following URL: https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1293#comment4119 You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above. -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.