Wireshark-bugs: [Wireshark-bugs] [Bug 7069] VoIP Calls/Flow Graph: Selected item invisible

Date: Tue, 8 May 2012 14:47:05 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7069

Pascal Quantin <pascal.quantin@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8390|                            |review_for_checkin-
              Flags|                            |

--- Comment #4 from Pascal Quantin <pascal.quantin@xxxxxxxxx> 2012-05-08 14:47:04 PDT ---
Created attachment 8390
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8390
Awful workaround for Windows platforms

For whatever reason, the two voip_bg.xpm voip_select.xpm pixmaps are not
correctly displayed on Windows and a blank background is displayed instead
(it's working fine on my Linux box).

If someone knowing GTK/GDK internals has an idea of why such code is not
working with Windows, please share your knowledge :) :
user_data->dlg.pixmap_tile_select=gdk_pixmap_create_from_xpm_d(user_data->dlg.pixmap_main,NULL,NULL,(gchar
**)voip_select_xpm);
user_data->dlg.bg_gc[i]=gdk_gc_new(user_data->dlg.pixmap_tile_select);
gdk_gc_set_fill(user_data->dlg.bg_gc[i], GDK_TILED);
gdk_gc_set_tile(user_data->dlg.bg_gc[i], user_data->dlg.pixmap_tile_select);

An awful workaround for Windows could be to use a default blue background for
the selected item instead of trying to display the pixmap (see attached patch).
But any better idea is welcome.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.