Subject: bug#32298: 26.1.50; Emacs gtk system tooltips are not shown as tooltips

From: Carlos Pita <[email-masked]>
Date: Fri, 3 Aug 2018 19:14:31 -0300

This is what xwininfo reports for a tooltip in firefox:

xwininfo: Window id: 0x1c00898 (has no name)

  Root window id: 0xf5 (the root window) "i3"
  Parent window id: 0x1c00897 "Firefox"
     0 children.

  Absolute upper-left X:  894
  Absolute upper-left Y:  1305
  Relative upper-left X:  -1
  Relative upper-left Y:  -1
  Width: 1
  Height: 1
  Depth: 0
  Visual: 0xeb
  Visual Class: TrueColor
  Border width: 0
  Class: InputOnly
  Colormap: 0x0 (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsUnviewable
  Override Redirect State: no
  Corners:  +894+1305  -1025+1305  -1025-542  +894-542
  -geometry 1x1+895+1306

  Bit gravity: ForgetGravity
  Window gravity: NorthWestGravity
  Backing-store hint: NotUseful
  Backing-planes to be preserved: 0xffffffff
  Backing pixel: 0
  Save-unders: No

  Someone wants these events:
      KeyPress
      KeyRelease
      FocusChange
  Do not propagate these events:
  Override redirection?: No

  No window manager hints defined
  Window manager hints:
      Process id: (unknown)

  No normal window size hints defined
  No zoom window size hints defined

  No window shape defined
  No border shape defined

It's not override redirected but still is different from the report
for the tooltip in emacs:

xwininfo: Window id: 0x8001ad (has no name)

  Absolute upper-left X:  953
  Absolute upper-left Y:  403
  Relative upper-left X:  -1
  Relative upper-left Y:  -1
  Width: 1
  Height: 1
  Depth: 0
  Visual: 0xbf
  Visual Class: TrueColor
  Border width: 0
  Class: InputOnly
  Colormap: 0x0 (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +953+403  -412+403  -412-364  +953-364
  -geometry 1x1-33+404