THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1250 - Tasklist should display full title on mouse over
User who did this - Daniel Hahler (blueyed)

----------
It does not appear to easy to only add a tooltip in case the text gets cropped, 
because that gets handled by pango 
(https://developer.gnome.org/pango/stable/pango-Layout-Objects.html#pango-layout-set-ellipsize).

But adding a tooltip in general is possible by replacing the default update 
function with:

local my_tasklist_update = function(w, buttons, label, data, objects)
    awful.widget.common.list_update(w, buttons, label, data, objects)

    for _,o in ipairs(objects) do
      if not data[o].tooltip then
        local tooltip = awful.tooltip({
          objects = { data[o].tb },
        })
        tooltip:set_text(data[o].tb._layout.text)

        data[o].tooltip = tooltip
      end
    end
end

Do you think that (or a derivation) makes sense to have in the distribution, 
controlled by some config setting?
----------

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1250#comment4226

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.

Reply via email to