[winswitch] Tooltips have a title bar

Antoine Martin antoine at nagafix.co.uk
Thu Dec 11 04:28:15 GMT 2014


On 10/12/14 19:01, John Smith wrote:
> Hi all,
>
> I running Internet Explorer with wine 1.7.x via xpra.
> Tooltips have a title bar when I move cursor around areas which can display
> tooltip.
> I run IE from real machine and tooltips aren't display the title bar.
I believe I have a fix for this already, but I will need to check the
specification again to make sure what we do is correct and doesn't cause
regressions elsewhere - and maybe re-work the code, at least in trunk.
Can you please create a ticket so we can track this issue?
> My Server and client use xpra version 0.14.13.
Good!

Cheers
Antoine

PS: the patch against trunk:
--- xpra/client/gtk_base/gtk_client_window_base.py    (revision 8229)
+++ xpra/client/gtk_base/gtk_client_window_base.py    (working copy)
@@ -89,6 +89,10 @@
         if self._override_redirect:
             return True
         window_types = metadata.get("window-type", [])
+        if "NORMAL" not in window_types:
+            tf = metadata.intget("transient-for", -1)
+            if tf>0:
+                return True
         popup_types = list(POPUP_TYPE_HINTS.intersection(window_types))
         log("popup_types(%s)=%s", window_types, popup_types)
         if popup_types:





More information about the shifter-users mailing list