__init__.py broken Tooltip
Bug #367303 reported by
Vincent Mussard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Screenlets |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I think I find a bug in the screenlet Tooltip class.
In line 2478/2479 of __init__.py, in the cancel_show function of Tooltip :
def cancel_show (self):
"""Cancel showing of the Notify."""
if self.__timeout:
self.p_context and self.p_layout is setted to None but never renewed, so the tooltip is not working.
I suggest to remove both lines.
And on line 2152 :
def hide (self):
"""Hide the Tooltip window."""
self.
self.
Thanks
To post a comment you must log in.
You are talking about Tooltip class, but one of your examples is from Notify class. Does it mean that the bug exists in both classes?
Anyway, the Tooltip class is highly problematic in Screenlets because it doesn't follow the system color scheme and doesn't display even render the text all right (for example in FeedReader the backgound of the text is transparent making the tooltip window broken). Ideas how to fix the problems are welcome.