Hello. I have a problem with tooltips, attached to buttons in wibox.
Basically, I want to add a full screen wibox with icons (build a desktop -
yes, I do know about the existing implementation of freedesktop standard)
to run some programs on a TV, attached as the second screen. The tooltips
attached flicker enormously (many times a second). I use Awesome 3.4.11 on
ArchLinux 64b, with Xorg 1.12.1.902 + Nvidia 275.43 on 9500GT card. Could
someone, please, correct the errors, if any, that cause flickering in the
following reference application:
1. deskpanel.lua:
local awful = require('awful')
local beautiful = require('beautiful')
local wibox = require('wibox')
local screen = require('screen')
module("deskpanel")
function new()
local sd = wibox({height = 800, width = 800})
sd.screen = 1
local geom = {
{x = 500, y = 500, width = 128, height = 128}
}
local b = awful.widget.button({image=beautiful.awesome_icon})
t1 = awful.tooltip({objects={b}})
t1:set_text('fhdjfhdgjhfjghf')
sd.widgets ={b, layout = function() return geom end}
end
2. Something like that in rc.lua:
require("deskpanel")
globalkeys=awful.util.table.join(
...,
awful.key({ modkey }, "g", function() deskpanel.new() end)
)
The same t1 attached to clock, for example, does not cause any issues. What
is strange, is that sometimes, the tooltip is shown correctly, without
constant redraws, until I move the mouse once again. So, say, it may start
flickering, than fix itself, than looses it again. And I suspect, it is
more a bug in Awesome, than errors on my side, because of this.
Thank you