From t.harty1@physics.ox.ac.uk Thu Sep 1 19:45:41 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D1CCD750096 for ; Thu, 1 Sep 2011 19:45:41 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.703 X-Spam-Level: X-Spam-Status: No, score=-4.703 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MY7sT8+-RDni for ; Thu, 1 Sep 2011 19:45:38 +0000 (UTC) X-Greylist: delayed 1333 seconds by postgrey-1.32 at menubar.gnome.org; Thu, 01 Sep 2011 19:45:38 UTC Received: from fallback1.mail.ox.ac.uk (fallback1.mail.ox.ac.uk [163.1.2.175]) by menubar.gnome.org (Postfix) with ESMTP id 6AE4475001A for ; Thu, 1 Sep 2011 19:45:29 +0000 (UTC) Received: from relay2.mail.ox.ac.uk ([163.1.2.161]) by fallback1.mail.ox.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1QzCrF-0003N7-5g for gtk-list@gnome.org; Thu, 01 Sep 2011 20:23:25 +0100 Received: from exchange-cas1.physics.ox.ac.uk ([163.1.74.82]) by relay2.mail.ox.ac.uk with esmtp (Exim 4.75) (envelope-from ) id 1QzCr5-0000X0-79 for gtk-list@gnome.org; Thu, 01 Sep 2011 20:23:15 +0100 Received: from EXCHNG14.physics.ox.ac.uk ([fe80::90e1:4071:f5a2:f46d]) by EXCHANGE-CAS1.physics.ox.ac.uk ([fe80::c42f:17a5:9fa5:3b33%10]) with mapi id 14.01.0323.000; Thu, 1 Sep 2011 20:23:15 +0100 From: Thomas Harty To: "gtk-list@gnome.org" Subject: Styling Widgets Thread-Topic: Styling Widgets Thread-Index: Acxo3JgPwTC/aobuSa6JLQA+xjgSew== Date: Thu, 1 Sep 2011 19:23:14 +0000 Message-ID: <69464CD235B9A04DACEAA1DB7151ACAB13A9E699@EXCHNG14.physics.ox.ac.uk> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.24.247.11] Content-Type: multipart/alternative; boundary="_000_69464CD235B9A04DACEAA1DB7151ACAB13A9E699EXCHNG14physics_" MIME-Version: 1.0 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2011 19:45:42 -0000 --_000_69464CD235B9A04DACEAA1DB7151ACAB13A9E699EXCHNG14physics_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear all, I want to create widgets whose styles change repeatedly during the executio= n of my programme (mainly changes to gradiented backgrounds). I'm currently= doing this using a GtkCssProvider and the load_from_data function. I've no= ticed that if I just call gtk_css_provider_load_from_data to change the stl= ye then my widgets don't change. However, if I remove and re-add the CssPro= vider to the GtkStyleContext each time I want to change the style then ever= ything works fine. Is this the correct way to do this, or is there a better way to make the st= yle context update when I update my styleprovider? Tom --_000_69464CD235B9A04DACEAA1DB7151ACAB13A9E699EXCHNG14physics_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear all,

I want to create widgets whose styles change repeatedly during the executio= n of my programme (mainly changes to gradiented backgrounds). I'm currently= doing this using a GtkCssProvider and the load_from_data function. I've no= ticed that if I just call gtk_css_provider_load_from_data to change the stlye then my widgets don't change. However, if I remove and= re-add the CssProvider to the GtkStyleContext each time I want to change t= he style then everything works fine.

Is this the correct way to do this, or is there a better way to make the st= yle context update when I update my styleprovider?

Tom
--_000_69464CD235B9A04DACEAA1DB7151ACAB13A9E699EXCHNG14physics_-- From esodan@gmail.com Fri Sep 2 16:11:09 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E4D4F7500F9 for ; Fri, 2 Sep 2011 16:11:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.622 X-Spam-Level: X-Spam-Status: No, score=-2.622 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0fLtM9TLkoUC for ; Fri, 2 Sep 2011 16:11:07 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by menubar.gnome.org (Postfix) with ESMTP id 99EC8750085 for ; Fri, 2 Sep 2011 16:10:59 +0000 (UTC) Received: by vws18 with SMTP id 18so4245246vws.27 for ; Fri, 02 Sep 2011 09:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=UWaEKrpJB7NoJ4U7H5UFZXA6GqAzlBRnaag3G0t0JMs=; b=LTovHiY3vvfTKjXi+jjgSLWBdC23FQanGlyhcX2aFl8zEH2Qbwrs6AW95Ojo9ZA2XG 7Zl29r3WLDLWICQB+iINHuaJyhk4eyZ/dEbm8u8Bk7L6zqpZrSre0yam6wPgDq48yb0G 20Q68ypUkpB/+VC/KEp1XOqgVc7VrTesE1rJw= MIME-Version: 1.0 Received: by 10.220.142.10 with SMTP id o10mr116634vcu.95.1314979857625; Fri, 02 Sep 2011 09:10:57 -0700 (PDT) Received: by 10.220.195.196 with HTTP; Fri, 2 Sep 2011 09:10:57 -0700 (PDT) Date: Fri, 2 Sep 2011 11:10:57 -0500 Message-ID: Subject: GObject Introspection annotation doesn't work for container type From: Daniel Espinosa To: gtk list Content-Type: multipart/alternative; boundary=f46d043be0b24cf19504abf79bba X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2011 16:11:10 -0000 --f46d043be0b24cf19504abf79bba Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've filed bug #657743, because I have an struct with a GSList to contain another struct type element. I've added (element-type Gda.SqlSelectTarget) annotation to gtk-doc as shown, but generated GIR doesn't set ctype: to GdaSqlSelectFrom, instead use gpointer. /** * GdaSqlSelectFrom: * @any: inheritance structure * @targets: (element-type Gda.SqlSelectTarget): list of #GdaSqlSelectTarge= t * @joins: (element-type Gda.SqlSelectJoin): list of #GdaSqlSelectJoin * * This structure represents the FROM clause of a SELECT statement, it list= s targets and joins */ struct _GdaSqlSelectFrom { GdaSqlAnyPart any; GSList *targets; GSList *joins; /*< private >*/ /* Padding for future expansion */ gpointer _gda_reserved1; gpointer _gda_reserved2; }; --=20 Trabajar, la mejor arma para tu superaci=C3=B3n "de grano en grano, se hace la arena" (R) (en tr=C3=A1mite, pero para los c= uates: LIBRE) --f46d043be0b24cf19504abf79bba Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've filed bug #657743, because I have an struct with a GSList to conta= in another struct type element. I've added (element-type Gda.SqlSelectT= arget) annotation to gtk-doc as shown, but generated GIR doesn't set ct= ype: to GdaSqlSelectFrom, instead use gpointer.

/**
 * GdaSqlSelectFrom:
 * @any: inheritance structure
 * @targets: (element-type Gda.SqlSelectTarget): list of #GdaSqlSelectTarge=
t
 * @joins: (element-type Gda.SqlSelectJoin): list of #GdaSqlSelectJoin
 *
 * This structure represents the FROM clause of a SELECT statement, it list=
s
targets and joins
 */
struct _GdaSqlSelectFrom
{
    GdaSqlAnyPart    any;
    GSList          *targets;
    GSList          *joins;

    /*< private >*/
    /* Padding for future expansion */
    gpointer         _gda_reserved1;
    gpointer         _gda_reserved2;
};


--
Trabajar, la mejor arma para tu supera= ci=C3=B3n
"de grano en grano, se hace la arena" (R) (en tr=C3= =A1mite, pero para los cuates: LIBRE)
--f46d043be0b24cf19504abf79bba-- From bounces@nabble.com Mon Sep 5 01:22:22 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 30CB6750452 for ; Mon, 5 Sep 2011 01:22:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.52 X-Spam-Level: X-Spam-Status: No, score=-1.52 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_FROM=0.001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1fcFh5r9xKcH for ; Mon, 5 Sep 2011 01:22:19 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by menubar.gnome.org (Postfix) with ESMTP id E0FE975043C for ; Mon, 5 Sep 2011 01:22:11 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R0Nt3-0005oL-Iw for gtk-list@gnome.org; Sun, 04 Sep 2011 18:22:09 -0700 Message-ID: <32398239.post@talk.nabble.com> Date: Sun, 4 Sep 2011 18:22:09 -0700 (PDT) From: victor-victor To: gtk-list@gnome.org Subject: Multi Drag-and-drop in Gtk3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nadaeck@hotmail.com X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2011 01:22:22 -0000 Hello Can I do multi drag-and-drop in Gtk3? If yes is there a good working example somewhere? I've been searching a lot without succes until now... Thank you Victor -- View this message in context: http://old.nabble.com/Multi-Drag-and-drop-in-Gtk3-tp32398239p32398239.html Sent from the Gtk+ - General mailing list archive at Nabble.com. From paul@linuxaudiosystems.com Mon Sep 5 03:44:50 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id EA6F5750563 for ; Mon, 5 Sep 2011 03:44:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lFSHMyLXSoNC for ; Mon, 5 Sep 2011 03:44:48 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by menubar.gnome.org (Postfix) with ESMTP id DAC28750562 for ; Mon, 5 Sep 2011 03:44:39 +0000 (UTC) Received: by vws18 with SMTP id 18so6482865vws.27 for ; Sun, 04 Sep 2011 20:44:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.100.3 with SMTP id eu3mr3538644vdb.123.1315194278179; Sun, 04 Sep 2011 20:44:38 -0700 (PDT) Received: by 10.220.179.77 with HTTP; Sun, 4 Sep 2011 20:44:38 -0700 (PDT) In-Reply-To: <32398239.post@talk.nabble.com> References: <32398239.post@talk.nabble.com> Date: Sun, 4 Sep 2011 23:44:38 -0400 Message-ID: Subject: Re: Multi Drag-and-drop in Gtk3 From: Paul Davis To: victor-victor Content-Type: text/plain; charset=ISO-8859-1 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2011 03:44:50 -0000 On Sun, Sep 4, 2011 at 9:22 PM, victor-victor wrote: > > Hello > > Can I do multi drag-and-drop in Gtk3? you should probably start by defining what you mean more precisely, since i can think of at least two possible definitions of this term. From bounces@nabble.com Mon Sep 5 10:45:11 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7DDC5750203 for ; Mon, 5 Sep 2011 10:45:11 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.52 X-Spam-Level: X-Spam-Status: No, score=-1.52 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_FROM=0.001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v84Cgp7RRH+5 for ; Mon, 5 Sep 2011 10:45:10 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by menubar.gnome.org (Postfix) with ESMTP id 3549A75018D for ; Mon, 5 Sep 2011 10:45:01 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R0Wfk-0006Yr-H0 for gtk-list@gnome.org; Mon, 05 Sep 2011 03:45:00 -0700 Message-ID: <32400156.post@talk.nabble.com> Date: Mon, 5 Sep 2011 03:45:00 -0700 (PDT) From: victor-victor To: gtk-list@gnome.org Subject: Re: Multi Drag-and-drop in Gtk3 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nadaeck@hotmail.com References: <32398239.post@talk.nabble.com> X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2011 10:45:11 -0000 Paul Davis wrote: > > >> Can I do multi drag-and-drop in Gtk3? > > you should probably start by defining what you mean more precisely, > since i can think of at least two possible definitions of this term. > > I would like to be able to insert one or several line at any place of a treeview list and be able to reorganize it (reorder) not only one by one, but move several row at a time. As far as I know, in Gtk 2 it is not possible to select multiple row and to reorder them. Thank you for your answer Victor -- View this message in context: http://old.nabble.com/Multi-Drag-and-drop-in-Gtk3-tp32398239p32400156.html Sent from the Gtk+ - General mailing list archive at Nabble.com. From mclasen@redhat.com Mon Sep 5 22:32:29 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 64930750080; Mon, 5 Sep 2011 22:32:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -5.146 X-Spam-Level: X-Spam-Status: No, score=-5.146 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.504, SARE_BAYES_5x7=0.6, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, SUBJ_ALL_CAPS=1.506, TW_GT=0.077, TW_VF=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pzyVIGZENVQu; Mon, 5 Sep 2011 22:32:26 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by menubar.gnome.org (Postfix) with ESMTP id 23FB97500BC; Mon, 5 Sep 2011 22:32:17 +0000 (UTC) Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p85MWGvP017769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 5 Sep 2011 18:32:16 -0400 Received: from [10.11.8.187] (vpn-8-187.rdu.redhat.com [10.11.8.187]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p85MWFDl016014; Mon, 5 Sep 2011 18:32:15 -0400 Subject: GTK+ 3.1.18 From: Matthias Clasen To: gnome-announce-list@gnome.org, gtk-devel-list@gnome.org, gtk-app-devel-list@gnome.org, gtk-list@gnome.org Date: Mon, 05 Sep 2011 18:31:51 -0400 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Message-ID: <1315261912.9323.2.camel@lemur> Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gtk-devel-list@gnome.org List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2011 22:32:29 -0000 GTK+ 3.1.18 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.1/ http://download.gnome.org/sources/gtk+/3.1/ 22197439092404b43184d6121d047610f6c4573891309feca36ac8eedeaf6ab4 gtk +-3.1.18.tar.xz e6f1afcdf87932cb3fb78f65b9459b3e5bae44481d8c9f0ca3be9c388c0ad975 gtk +-3.1.18.tar.bz2 Another release in the 3.1 development cycle. I haven't gotten around to writing announcements for 3.1.14 and 3.1.16, so this announcement will be a little longer than usual. ============ GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites. GTK+ has been designed from the ground up to support a range of languages, not only C/C++. Using GTK+ from languages such as Perl and Python (especially in combination with the Glade GUI builder) provides an effective method of rapid application development. GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties. Overview of Changes in GTK+ 3.1.14, 16 and 18 ============================================= * GtkTreeView: - The GtkTreeModelFilter and GtkTreeModelSort implementations have been improved and a comprehensive test suite has been added * GtkFileChooser: - The selected file(s) can now be copied to the clipboard - It is now possible to go to the containing folder of a selected file in recent files or search results * Bugs fixed: 656851 Allow use of GVariant in GtkListStore 344858 gtk_menu_item_new_with_label() created widget with refcount 2 349502 option to copy full path in "Save AS"/"Open file" dialogs 621076 GtkTreeModelFilter does not emit all signals in some situations 634136 GtkTable::children accessor 649588 crash when sending a notification: "Gdk-CRITICAL **: gdk_vis... 650762 gtk_misc_set_alignment replacement with the new API functions 651827 Crash in check_application() 656986 GtkSwitch is unusable when added to primary toolbar. 657146 Missing files in POTFILEs.in 657260 Gtk should use AtkWindow and remove that hack on GailUtil 657359 Crash when specifying data length in gtk_css_provider_load_... 657384 missing accessors for GdkEvent structures 656223 GtkToolShell: Move vfunc default results to default impl... 530253 typo ifaces under gtk_tree_view_set_reorderable 566202 GTK_SELECTION_MULTIPLE description unclear 581435 gtk_tree_view_set_drag_dest_row() needs more documentation 655631 Description of x and y parameters in gtk_render_arrow is in... 657793 Support NULL sibling in gtk_grid_attach_next_to 657882 gtk_css_provider_propagate_error's signature not updated... 657963 themingengine: remove xthickness FIXME from gtk_render_line() 657985 reeview: add GTK_STYLE_CLASS_SEPARATOR for tree view separators 658008 Centered text alignment in GtkAssistant is wrong 658077 Add theming support to GtkPathBar 658111 gtk_label_set_pattern() is reset by a call to gtk_box_pack_... 658168 Gtk-Message: Failed to load module "gail" 658200 gtk_toolbar_finalize() does stuff it shouldn't Fix colord support in the print dialog * Distchecking works again, and errors that crept in due to lack of a working distcheck have been eliminated * Translation updates: Belarusian Brazilian Portuguese Esperanto Galician German Gujarati Indonesian Korean Lithuanian Norwegian bokmål Persian Russian Serbian Spanish Swedish Traditional Chinese Uighur Thanks to all contributors: Chun-wei Fan David Zeuthen Cosimo Cecchi Kristian Rietveld Xavier Claessens Arx Cruz Ryan Lortie Colin Walters Benjamin Otte Michael Terry Tristan Van Berkom Federico Mena Quintero Vincent Bernat Diego Celix Alejandro Piñeiro Murray Cumming Javier Jardón Richard Hughes Eitan Isaacson Sep 5, 2011 Matthias Clasen From desrt@desrt.ca Tue Sep 6 14:49:29 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3F5D9750342; Tue, 6 Sep 2011 14:49:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.173 X-Spam-Level: X-Spam-Status: No, score=-2.173 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504, TW_GT=0.077, TW_JS=0.077, TW_TM=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CeJk061BpbJB; Tue, 6 Sep 2011 14:49:22 +0000 (UTC) Received: from mail.desrt.ca (manic.desrt.ca [207.192.74.61]) by menubar.gnome.org (Postfix) with ESMTP id 5896B7501BE; Tue, 6 Sep 2011 14:49:14 +0000 (UTC) Received: from [172.16.0.159] (173-230-190-244.cable.teksavvy.com [173.230.190.244]) by manic.desrt.ca (Postfix) with ESMTPSA id A7D9680B1; Tue, 6 Sep 2011 09:49:12 -0500 (EST) Subject: GLib 2.29.90 From: Ryan Lortie To: gtk-devel-list@gnome.org, gnome-announce-list@gnome.org, gtk-app-devel-list@gnome.org, gtk-list@gnome.org Date: Tue, 06 Sep 2011 10:49:12 -0400 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.0.2 (3.0.2-3.fc15) Content-Transfer-Encoding: 8bit Message-ID: <1315320552.12676.9.camel@moonpix.lan> Mime-Version: 1.0 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gtk-devel-list@gnome.org List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2011 14:49:30 -0000 GLib 2.29.90 is ready. http://download.gnome.org/sources/glib/2.29/ 95af3f46a40ad1a3ecfe75db59b27956b256c4ad02f000be2aa13c7abd32fba3 glib-2.29.90.tar.xz I consider this to be (almost) a release candidate. There is probably a bug in GSettings that is causing lots of problems with gnome-settings-daemon that will need to be fixed before the next cycle. Other than that, we're more or less frozen -- it should mostly be docs and translations in the next release. There are two API breaks in this release with respect to the previous. One is a rename and the other is simple removal of a function that was only added in the last micro release. See below. Overview of changes from GLib 2.29.18 to 2.29.90 ================================================ * API/ABI changes: - unix signal watches now match the API of all of the other sources - revert the addition of g_date_time_source_new () from last release * networking and other fixes for Solaris - we no longer support symbolic port names (ie: from /etc/services) - check if -lsocket is needed - fix g_socket_details_from_fd() - avoid getmntinfo - fix some harmless warnings * GDateTime improvements: - generally improved standards compliance (with C99) - support C99-specified format strings: %g, %G, %V, %c, %C, %w - consult the locale for the preferred 12-hour time format (%r) - drop support for non-standard %N and broken %W - better support for formatting non-POSIX (eg: Arabic) numerals - locale-related test case fixups, and fix some leaks * GTlsInteraction: add interaction method invocation guarantees * gdbus-codegen: post-process all interfaces when parsing >1 file * make GMainLoop, GMainContext and GSource boxed types * fix a race condition in the first use of g_get_monotonic_time() * lots gtk-doc cleanups * better intltool compatibility when generating pot file * avoid GCC-specific compiler options when not using GCC * Translation updates: Belarusian Brazilian Portuguese Canadian English Galician Indonesian Korean Lithuanian Norwegian bokmål Portuguese Spanish Swedish Thanks to everyone who helped: Alexandre Franke Andika Triwidada Aurimas Černius Changwoo Ryu Chun-wei Fan Dan Winship Daniel Nylander Duarte Loreto Fran Dieguez Ihar Hrachyshka Javier Jardón Jorge González Kjartan Maraas Matthias Clasen Og B. Maciel Patrick Welche Pavel Holejsovsky Stef Walter Tomas Bzatek Will Thompson Cheers From esodan@gmail.com Tue Sep 6 23:51:47 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E42747500AD; Tue, 6 Sep 2011 23:51:46 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.699 X-Spam-Level: X-Spam-Status: No, score=-2.699 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rzceEw4ajLks; Tue, 6 Sep 2011 23:51:45 +0000 (UTC) Received: from mail-vw0-f42.google.com (mail-vw0-f42.google.com [209.85.212.42]) by menubar.gnome.org (Postfix) with ESMTP id 24BF5750006; Tue, 6 Sep 2011 23:51:36 +0000 (UTC) Received: by vwl1 with SMTP id 1so5498660vwl.29 for ; Tue, 06 Sep 2011 16:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=ILuNVcKYVA1ge5q1yBQaRrWAUryvcFNuS5xwZXeer+I=; b=d3hScRDpwwW4jfsBrF4an11eaxmJyLBq5/+qW31kmB+BCdPdz7/0REiL/eHfsgWEii Z8r/peJ5mBUYbYBwVBAwn2CkUB9ek+qCRfJDikLFBEXWfHue+nP1uYVaalRrh52CA0YV mFqgc20rlSslW2rY6ogXZ4U4YcxMKbQPCSvrc= MIME-Version: 1.0 Received: by 10.220.9.2 with SMTP id j2mr1331480vcj.25.1315353094999; Tue, 06 Sep 2011 16:51:34 -0700 (PDT) Received: by 10.220.191.129 with HTTP; Tue, 6 Sep 2011 16:51:34 -0700 (PDT) Date: Tue, 6 Sep 2011 18:51:34 -0500 Message-ID: Subject: GVariant to replace GValue? From: Daniel Espinosa To: gnome-db-list@gnome.org, gtk list Content-Type: multipart/alternative; boundary=bcaec54ee6aefb4e4d04ac4e81bc X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2011 23:51:47 -0000 --bcaec54ee6aefb4e4d04ac4e81bc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm reading about GVariant, still I don't understand all details, but found it equivalent to GValue and may be better on memory usage. Are you considering to replace GValue by GVariant? --=20 Trabajar, la mejor arma para tu superaci=C3=B3n "de grano en grano, se hace la arena" (R) (en tr=C3=A1mite, pero para los c= uates: LIBRE) --bcaec54ee6aefb4e4d04ac4e81bc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm reading about GVariant, still I don't understand all details, b= ut found it equivalent to GValue and may be better on memory usage.
Are you considering to replace GValue by GVariant?

--
Trabajar,= la mejor arma para tu superaci=C3=B3n
"de grano en grano, se hace la arena" (R) (en tr=C3=A1mite, pero = para los cuates: LIBRE)
--bcaec54ee6aefb4e4d04ac4e81bc-- From murrayc@murrayc.com Wed Sep 7 06:55:45 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C791F75008A; Wed, 7 Sep 2011 06:55:45 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.523 X-Spam-Level: X-Spam-Status: No, score=-2.523 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, TW_BG=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5uEWdbgXLbjo; Wed, 7 Sep 2011 06:55:43 +0000 (UTC) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by menubar.gnome.org (Postfix) with ESMTP id BE50E75004D; Wed, 7 Sep 2011 06:55:35 +0000 (UTC) Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 8D87029F21; Wed, 7 Sep 2011 02:55:33 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute6.internal (MEProxy); Wed, 07 Sep 2011 02:55:33 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=subject:from:to:cc:in-reply-to:references :content-type:date:message-id:mime-version :content-transfer-encoding; s=smtpout; bh=Hohd7cGrHKoIDSHTM2Cp8s krpgw=; b=JDBHrHWZquOyrwu923cRIrhFb5WClm0h8N2ksx3Bv1wpd39lcqncYl GlpcSwz4hRaaKYlExMiqQbckvuW+V3dn84K8Xj35Pr9Miq9TcN6CZ1rtY1kuprFX cLrEy7F/WinQ3FDbZXeASDDYC/ZTCro2GgDHOIb+CMpcJ5H6Cb8lg= X-Sasl-enc: bP9rt5pVYo9z/DVJ4yZQZE64ZIA7aGQyKmC29hMIuUFa 1315378533 Received: from [192.168.178.24] (ppp-188-174-89-39.dynamic.mnet-online.de [188.174.89.39]) by mail.messagingengine.com (Postfix) with ESMTPA id C1EBF6C0104; Wed, 7 Sep 2011 02:55:32 -0400 (EDT) Subject: Re: [gnome-db] GVariant to replace GValue? From: Murray Cumming To: Daniel Espinosa In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Wed, 07 Sep 2011 08:55:31 +0200 Message-ID: <1315378531.2343.2.camel@murrayc-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Cc: gnome-db-list@gnome.org, gtk list X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 06:55:46 -0000 On Tue, 2011-09-06 at 18:51 -0500, Daniel Espinosa wrote: > I'm reading about GVariant, still I don't understand all details, but > found it equivalent to GValue and may be better on memory usage. > > Are you considering to replace GValue by GVariant? GVariant values are for constant values. You'll notice that there are no g_variant_set_*() functions here: http://developer.gnome.org/glib/unstable/glib-GVariant.html But libgda is an API that lets you set values in a database as well as read them out. So I don't think GVariant makes sense for libgda, just as it doesn't make sense for GtkTreeView. -- murrayc@murrayc.com www.murrayc.com www.openismus.com From ebassi@gmail.com Wed Sep 7 07:00:23 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7338E75004D for ; Wed, 7 Sep 2011 07:00:23 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.69 X-Spam-Level: X-Spam-Status: No, score=-2.69 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hbucKXJGMkLh for ; Wed, 7 Sep 2011 07:00:20 +0000 (UTC) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by menubar.gnome.org (Postfix) with ESMTP id DA1E475008A for ; Wed, 7 Sep 2011 07:00:11 +0000 (UTC) Received: by yxk36 with SMTP id 36so193163yxk.27 for ; Wed, 07 Sep 2011 00:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=4o7ZvutNJxWBmtzVqGcasoDj6xrI4RBHdalQ9ekzcSU=; b=Ukt13DpwPwEdHoYGHZ1yegY683EpoiUa7nrgCZsTHPGK8/mEly85YqN3OUJNeUoLqf nHqEQBifIhxu3v+/nQVnd1Ems1PQ+cIng/Y5egIMRB4pvl2eeU+rxt//AgmZvvKwysw+ jzwQtjg+neDoX535V+0E1RUYZHwwo7yI+70IY= Received: by 10.236.192.135 with SMTP id i7mr29670435yhn.111.1315378809447; Wed, 07 Sep 2011 00:00:09 -0700 (PDT) Received: from localhost (93-97-55-43.zone5.bethere.co.uk [93.97.55.43]) by mx.google.com with ESMTPS id p73sm2557771yhe.19.2011.09.07.00.00.07 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 00:00:08 -0700 (PDT) Date: Wed, 7 Sep 2011 08:00:04 +0100 From: Emmanuele Bassi To: gtk-list@gnome.org Subject: Re: GVariant to replace GValue? Message-ID: <20110907070004.GA26087@gambit.ger.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 07:00:23 -0000 On 2011-09-06 at 18:51, Daniel Espinosa wrote: > I'm reading about GVariant, still I don't understand all details, but found > it equivalent to GValue and may be better on memory usage. > > Are you considering to replace GValue by GVariant? no, GVariant and GValue have to fairly specific and non-overlapping set of users. GValue is a mutable opaque container that maps the GType type system. GVariant is an immutable container for data serialization and deserialization meant for storage or transmission over a wire protocol (e.g. DBus). ciao, Emmanuele. -- W: http://www.emmanuelebassi.name B: http://blogs.gnome.org/ebassi From mlt@gmx.us Thu Sep 8 16:59:55 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 84C017501D9 for ; Thu, 8 Sep 2011 16:59:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.823 X-Spam-Level: X-Spam-Status: No, score=-1.823 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iibYugOvqRqX for ; Thu, 8 Sep 2011 16:59:52 +0000 (UTC) Received: from mailout-us.gmx.com (mailout-us.gmx.com [74.208.5.67]) by menubar.gnome.org (Postfix) with SMTP id 9AF2F75006B for ; Thu, 8 Sep 2011 16:59:44 +0000 (UTC) Received: (qmail invoked by alias); 08 Sep 2011 16:59:40 -0000 Received: from bbe200951282.cfans.umn.edu (EHLO BBE200951282) [134.84.209.6] by mail.gmx.com (mp-us002) with SMTP; 08 Sep 2011 12:59:40 -0400 X-Authenticated: #63792746 X-Provags-ID: V01U2FsdGVkX19Qy2kRixNQi/OIvboxDKOPBAXC1ZEp2yiNdgqKD4 ddLSHVmzEH8R6S From: "Mikhail Titov" To: Subject: Shall GtkAllocation be initialized before use? Date: Thu, 8 Sep 2011 11:59:39 -0500 Message-ID: <000f01cc6e48$b2c3aa50$184afef0$@us> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcxuSLHhXT8wIMcwR+KLRvUrNbNQTA== Content-Language: en-us X-Y-GMX-Trusted: 0 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2011 16:59:55 -0000 I=E2=80=99ve noticed that I=E2=80=99m getting the following errors with = Gtk+ (3.1.18-23-gb53a66b) and MS VC++. Am I missing something during the = build process or indeed those variables are not initialized? Can I = simply ignore run-time checks? Exception occurs around line 2169 in = gtktreeviewcolumn.c when calling gdk_window_move_resize() from = gtk3-demo.exe . ---->8--------------------------------------------------8<-------- --------------------------- Microsoft Visual C++ Debug Library --------------------------- Debug Error! Program: C:\gtkmm\bin\gtk3-demo.exe Module: C:\gtkmm\bin\gtk-3.1-vc90-d.dll File:=20 Run-Time Check Failure #3 - The variable 'allocation' is being used = without being initialized. (Press Retry to debug the application) --------------------------- Abort Retry Ignore =20 --------------------------- ---->8--------------------------------------------------8<-------- I can avoid this error with something like ---->8--------------------------------------------------8<-------- diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index af79da7..f8a32a3 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -2138,7 +2138,7 @@ _gtk_tree_view_column_allocate (GtkTreeViewColumn = *tree_column, int width) { GtkTreeViewColumnPrivate *priv; - GtkAllocation allocation; + GtkAllocation allocation =3D {0}; gboolean rtl; =20 g_return_if_fail (GTK_IS_TREE_VIEW_COLUMN (tree_column)); ---->8--------------------------------------------------8<-------- Mikhail From M.Kozlowski@mini.pw.edu.pl Thu Sep 8 20:23:32 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A3C3A750112 for ; Thu, 8 Sep 2011 20:23:32 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.404 X-Spam-Level: X-Spam-Status: No, score=-2.404 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 557SGgtSAzPk for ; Thu, 8 Sep 2011 20:23:30 +0000 (UTC) X-Greylist: delayed 515 seconds by postgrey-1.32 at menubar.gnome.org; Thu, 08 Sep 2011 20:23:30 UTC Received: from alpha.mini.pw.edu.pl (alpha.mini.pw.edu.pl [194.29.178.1]) by menubar.gnome.org (Postfix) with ESMTP id 2F60C750077 for ; Thu, 8 Sep 2011 20:23:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by alpha.mini.pw.edu.pl (Postfix) with ESMTP id 918E1CC003 for ; Thu, 8 Sep 2011 22:14:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at mini.pw.edu.pl Received: from alpha.mini.pw.edu.pl ([127.0.0.1]) by localhost (alpha.mini.pw.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sDVoY0W3sLdZ for ; Thu, 8 Sep 2011 22:14:42 +0200 (CEST) Received: from [192.168.1.100] (11-mi2-9.acn.waw.pl [85.222.56.11]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by alpha.mini.pw.edu.pl (Postfix) with ESMTPSA id 2E8C0CC001 for ; Thu, 8 Sep 2011 22:14:42 +0200 (CEST) Message-ID: <4E69224B.4000907@mini.pw.edu.pl> Date: Thu, 08 Sep 2011 22:15:07 +0200 From: Marek Kozlowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 MIME-Version: 1.0 To: gtk-list@gnome.org Subject: pygtk: gtk.CellRendererText().set_property(...) and pango markup (HTML) X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2011 20:23:32 -0000 :-) I've been reading documentation several times and I cannot find it :-( I call: cell = gtk.CellRendererText () cell.set_property ('cell-background', '#eeeeee') cell.set_property (.... I'd like all text rendered using this CellRendererText object to be interpreted as an HTML, that is all , etc to change style of the text between such tags. What property does it? 'markup' is described quite misteruoisly :-( Thanks in advance, best regards, Marek From paul@linuxaudiosystems.com Thu Sep 8 20:44:02 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 9D3567500FE for ; Thu, 8 Sep 2011 20:44:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mffB4Q3S8-M0 for ; Thu, 8 Sep 2011 20:44:00 +0000 (UTC) Received: from mail-vw0-f45.google.com (mail-vw0-f45.google.com [209.85.212.45]) by menubar.gnome.org (Postfix) with ESMTP id 48F30750077 for ; Thu, 8 Sep 2011 20:44:00 +0000 (UTC) Received: by vws17 with SMTP id 17so289816vws.32 for ; Thu, 08 Sep 2011 13:43:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.148.146 with SMTP id p18mr364847vcv.42.1315514638187; Thu, 08 Sep 2011 13:43:58 -0700 (PDT) Received: by 10.220.193.74 with HTTP; Thu, 8 Sep 2011 13:43:58 -0700 (PDT) In-Reply-To: <4E69224B.4000907@mini.pw.edu.pl> References: <4E69224B.4000907@mini.pw.edu.pl> Date: Thu, 8 Sep 2011 16:43:58 -0400 Message-ID: Subject: Re: pygtk: gtk.CellRendererText().set_property(...) and pango markup (HTML) From: Paul Davis To: Marek Kozlowski Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2011 20:44:02 -0000 On Thu, Sep 8, 2011 at 4:15 PM, Marek Kozlowski w= rote: > :-) > I've been reading documentation several times and I cannot find it :-( > I call: > > =A0 =A0 =A0 =A0cell =3D gtk.CellRendererText () > =A0 =A0 =A0 =A0cell.set_property ('cell-background', '#eeeeee') > =A0 =A0 =A0 =A0cell.set_property (.... > > I'd like all text rendered using this CellRendererText object to be > interpreted as an HTML, that is all , etc to change style of the > text between such tags. What property does it? 'markup' is described > quite misteruoisly :-( not at all. http://www.pygtk.org/docs/pygtk/pango-markup-language.html From M.Kozlowski@mini.pw.edu.pl Thu Sep 8 21:03:43 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 96E34750085 for ; Thu, 8 Sep 2011 21:03:43 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.404 X-Spam-Level: X-Spam-Status: No, score=-2.404 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UpVxPY1MNACA for ; Thu, 8 Sep 2011 21:03:41 +0000 (UTC) Received: from alpha.mini.pw.edu.pl (alpha.mini.pw.edu.pl [194.29.178.1]) by menubar.gnome.org (Postfix) with ESMTP id 0C822750077 for ; Thu, 8 Sep 2011 21:03:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by alpha.mini.pw.edu.pl (Postfix) with ESMTP id C2939CC003; Thu, 8 Sep 2011 23:03:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at mini.pw.edu.pl Received: from alpha.mini.pw.edu.pl ([127.0.0.1]) by localhost (alpha.mini.pw.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5QLba46f-4BW; Thu, 8 Sep 2011 23:03:25 +0200 (CEST) Received: from [192.168.1.100] (11-mi2-9.acn.waw.pl [85.222.56.11]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by alpha.mini.pw.edu.pl (Postfix) with ESMTPSA id 4808ACC001; Thu, 8 Sep 2011 23:03:25 +0200 (CEST) Message-ID: <4E692DB6.5020809@mini.pw.edu.pl> Date: Thu, 08 Sep 2011 23:03:50 +0200 From: Marek Kozlowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 MIME-Version: 1.0 To: Paul Davis Subject: Re: pygtk: gtk.CellRendererText().set_property(...) and pango markup (HTML) References: <4E69224B.4000907@mini.pw.edu.pl> In-Reply-To: X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2011 21:03:43 -0000 On 09/08/2011 10:43 PM, Paul Davis wrote: > On Thu, Sep 8, 2011 at 4:15 PM, Marek Kozlowski wrote: >> :-) >> I've been reading documentation several times and I cannot find it :-( >> I call: >> >> cell = gtk.CellRendererText () >> cell.set_property ('cell-background', '#eeeeee') >> cell.set_property (.... >> >> I'd like all text rendered using this CellRendererText object to be >> interpreted as an HTML, that is all , etc to change style of the >> text between such tags. What property does it? 'markup' is described >> quite misteruoisly :-( > > not at all. > > http://www.pygtk.org/docs/pygtk/pango-markup-language.html Great. But there is no information howa can I sat it up for CellRendererText -- what property and to what value shoul I set: `"markup" Write Marked up text to render. Default: None' Some widgets, for example: Label allow interpreting the text do display as a HTML via gtk.Label.set_markup (). I mean: there are HTML tags in the _content_. I expect some cell content to contain , etc tags. I can't force CellRendererText to interpret them :-( Best regards, Marek From dieterv@optionexplicit.be Thu Sep 8 21:45:16 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 9E3CE750085 for ; Thu, 8 Sep 2011 21:45:16 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pbEwUYt31zgX for ; Thu, 8 Sep 2011 21:45:13 +0000 (UTC) X-Greylist: delayed 1546 seconds by postgrey-1.32 at menubar.gnome.org; Thu, 08 Sep 2011 21:45:13 UTC Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id D1302750077 for ; Thu, 8 Sep 2011 21:45:05 +0000 (UTC) Received: from [213.118.218.153] (dD576DA99.access.telenet.be [213.118.218.153]) by smtp.webfaction.com (Postfix) with ESMTP id D8CD359A2A2B; Thu, 8 Sep 2011 16:19:16 -0500 (CDT) Message-ID: <4E69311F.9000803@optionexplicit.be> Date: Thu, 08 Sep 2011 23:18:23 +0200 From: Dieter Verfaillie User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Marek Kozlowski Subject: Re: pygtk: gtk.CellRendererText().set_property(...) and pango markup (HTML) References: <4E69224B.4000907@mini.pw.edu.pl> <4E692DB6.5020809@mini.pw.edu.pl> In-Reply-To: <4E692DB6.5020809@mini.pw.edu.pl> X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org, Paul Davis X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2011 21:45:16 -0000 On 08/09/2011 23:03, Marek Kozlowski wrote: > Great. But there is no information howa can I sat it up for > CellRendererText -- what property and to what value shoul I set: > `"markup" Write Marked up text to render. Default: None' > > Some widgets, for example: Label allow interpreting the text do display > as a HTML via gtk.Label.set_markup (). I mean: there are HTML tags in > the _content_. > I expect some cell content to contain , etc tags. I can't force > CellRendererText to interpret them :-( The value of the "markup" property should be set to the index of the "column" of your model (TreeStore, ListStore or custom subclass) that holds the actual PangoMarkup. So if you have a TreeModel(str, str, str), corresponding to the "columns" (markup, foreground, background), you would set the "markup" property to 0. mvg, Dieter From M.Kozlowski@mini.pw.edu.pl Fri Sep 9 07:50:33 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7B750750088 for ; Fri, 9 Sep 2011 07:50:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.25 X-Spam-Level: X-Spam-Status: No, score=-2.25 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504, TW_GT=0.077, TW_YG=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SmMzHFTy8QTI for ; Fri, 9 Sep 2011 07:50:30 +0000 (UTC) Received: from alpha.mini.pw.edu.pl (alpha.mini.pw.edu.pl [194.29.178.1]) by menubar.gnome.org (Postfix) with ESMTP id A4ADE750021 for ; Fri, 9 Sep 2011 07:50:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by alpha.mini.pw.edu.pl (Postfix) with ESMTP id 57E58CC006; Fri, 9 Sep 2011 09:50:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at mini.pw.edu.pl Received: from alpha.mini.pw.edu.pl ([127.0.0.1]) by localhost (alpha.mini.pw.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tXIxjWUoOc2a; Fri, 9 Sep 2011 09:50:17 +0200 (CEST) Received: from [192.168.1.100] (11-mi2-9.acn.waw.pl [85.222.56.11]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by alpha.mini.pw.edu.pl (Postfix) with ESMTPSA id 5C0EACC003; Fri, 9 Sep 2011 09:50:17 +0200 (CEST) Message-ID: <4E69C552.8050405@mini.pw.edu.pl> Date: Fri, 09 Sep 2011 09:50:42 +0200 From: Marek Kozlowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 MIME-Version: 1.0 To: Dieter Verfaillie Subject: Re: pygtk: gtk.CellRendererText().set_property(...) and pango markup (HTML) References: <4E69224B.4000907@mini.pw.edu.pl> <4E692DB6.5020809@mini.pw.edu.pl> <4E69311F.9000803@optionexplicit.be> In-Reply-To: <4E69311F.9000803@optionexplicit.be> X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org, Paul Davis X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 07:50:33 -0000 :-) > The value of the "markup" property should be set to the > index of the "column" of your model (TreeStore, ListStore > or custom subclass) that holds the actual PangoMarkup. > > So if you have a TreeModel(str, str, str), corresponding > to the "columns" (markup, foreground, background), you > would set the "markup" property to 0. I'm afraid I'm dumb cause I still don't understand :-( What do you mean: >>the "columns" (markup, foreground, background)<< ? Let's take an example: http://stackoverflow.com/questions/1447187/embed-a-spreadsheet-table-in-a-pygtk-application Let's imagine that we have the lines: self.liststore.append(['Open', gtk.STOCK_OPEN, 'Open a File', True]) self.liststore.append(['New', gtk.STOCK_NEW, 'New File', True]) self.liststore.append(['Print', gtk.STOCK_PRINT, 'Print File', False]) May I ask for corresponding, modified set_property() ? Best regards, Marek From dieterv@optionexplicit.be Fri Sep 9 08:54:20 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 0B77C7500B9 for ; Fri, 9 Sep 2011 08:54:20 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.507 X-Spam-Level: X-Spam-Status: No, score=-1.507 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, SARE_SUB_ENC_UTF8=0.152, TW_GT=0.077, TW_TV=0.077, TW_YG=0.077, T_FILL_THIS_FORM_SHORT=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o290dB6OOeWg for ; Fri, 9 Sep 2011 08:54:18 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id E19AF750088 for ; Fri, 9 Sep 2011 08:54:09 +0000 (UTC) Received: from webmail.webfaction.com (wf2.webfaction.com [174.133.50.206]) by smtp.webfaction.com (Postfix) with ESMTP id 1FCED69954D9; Fri, 9 Sep 2011 03:54:08 -0500 (CDT) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_a39b992c541ab5b5d5eb571e26bc35ce" Date: Fri, 09 Sep 2011 10:54:08 +0200 From: dieterv To: Marek Kozlowski Subject: Re: pygtk: =?UTF-8?Q?gtk=2ECellRendererText=28=29=2Eset=5Fpropert?= =?UTF-8?Q?y=28=2E=2E=2E=29=20and=20pango=20markup=20=28HTML=29?= In-Reply-To: <4E69C552.8050405@mini.pw.edu.pl> References: <4E69224B.4000907@mini.pw.edu.pl> <4E692DB6.5020809@mini.pw.edu.pl> <4E69311F.9000803@optionexplicit.be> <4E69C552.8050405@mini.pw.edu.pl> Message-ID: <1c851f15cac540ab47f2fd1a91dcd275@mail.webfaction.com> X-Sender: dieterv@optionexplicit.be User-Agent: Roundcube Webmail/0.5.4 Cc: gtk-list@gnome.org, Paul Davis X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 08:54:20 -0000 --=_a39b992c541ab5b5d5eb571e26bc35ce Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8; format=flowed On Fri, 09 Sep 2011 09:50:42 +0200, Marek Kozlowski wrote: > I'm afraid I'm dumb cause I still don't understand :-( Don't despair just yet! It's just that the techniques used in Gtk's TreeView might not seem obvious at first. Looking at the parts that matter most for us application developers, there's a split between: - the model (the part that holds the data you want to show on screen as a list or tree) and; - the view (the part that actually draws the data from the model on screen). After working with the various objects involved for some time (ListStore, TreeView, CellRenderers, etc), you'll soon start to recognize which object (or widget) belongs to what category. > What do you mean: >>the "columns" (markup, foreground, background)<< > ? Sometimes it helps to think of the "columns" of the model more like "fields" in a record in some database. If you do that, model "fields" cannot be confused with view "columns". That might make it a bit easier to wrap your head around this. > Let's take an example: > http://stackoverflow.com/questions/1447187/embed-a-spreadsheet-table-in-a-pygtk-application > May I ask for corresponding, modified set_property() ? Sure. Look at the attached example. It's a slightly modified version of the example you've linked to above. mvg, Dieter --=_a39b992c541ab5b5d5eb571e26bc35ce Content-Transfer-Encoding: base64 Content-Type: text/x-python; name=example.py Content-Disposition: attachment; filename=example.py IyEvdXNyL2Jpbi9lbnYgcHl0aG9uCgppbXBvcnQgcHlndGsKcHlndGsucmVxdWlyZSgnMi4wJykK aW1wb3J0IGd0awoKY2xhc3MgVHJlZVZpZXdDb2x1bW5FeGFtcGxlKG9iamVjdCk6CgogICAgIyBj bG9zZSB0aGUgd2luZG93IGFuZCBxdWl0CiAgICBkZWYgZGVsZXRlX2V2ZW50KHNlbGYsIHdpZGdl dCwgZXZlbnQsIGRhdGE9Tm9uZSk6CiAgICAgICAgZ3RrLm1haW5fcXVpdCgpCiAgICAgICAgcmV0 dXJuIEZhbHNlCgogICAgZGVmIF9faW5pdF9fKHNlbGYpOgogICAgICAgICMgQ3JlYXRlIGEgbmV3 IHdpbmRvdwogICAgICAgIHNlbGYud2luZG93ID0gZ3RrLldpbmRvdyhndGsuV0lORE9XX1RPUExF VkVMKQogICAgICAgIHNlbGYud2luZG93LnNldF90aXRsZSgiVHJlZVZpZXdDb2x1bW4gRXhhbXBs ZSIpCiAgICAgICAgc2VsZi53aW5kb3cuY29ubmVjdCgiZGVsZXRlX2V2ZW50Iiwgc2VsZi5kZWxl dGVfZXZlbnQpCgogICAgICAgICMjIyMjIyMjIyMjIyMj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ZShUcnVlKQoKICAgICAgICBzZWxmLndpbmRvdy5hZGQoc2VsZi50cmVldmlldykK ICAgICAgICBzZWxmLndpbmRvdy5zaG93X2FsbCgpCgpkZWYgbWFpbigpOgogICAgZ3RrLm1haW4o KQoKaWYgX19uYW1lX18gPT0gIl9fbWFpbl9fIjoKICAgIHR2Y2V4YW1wbGUgPSBUcmVlVmlld0Nv bHVtbkV4YW1wbGUoKQogICAgbWFpbigpCg== --=_a39b992c541ab5b5d5eb571e26bc35ce-- From M.Kozlowski@mini.pw.edu.pl Fri Sep 9 09:34:38 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 29F2B750088 for ; Fri, 9 Sep 2011 09:34:38 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.25 X-Spam-Level: X-Spam-Status: No, score=-2.25 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504, TW_GT=0.077, TW_YG=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ltIPOi8+eWsR for ; Fri, 9 Sep 2011 09:34:35 +0000 (UTC) Received: from alpha.mini.pw.edu.pl (alpha.mini.pw.edu.pl [194.29.178.1]) by menubar.gnome.org (Postfix) with ESMTP id 54C5E750021 for ; Fri, 9 Sep 2011 09:34:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by alpha.mini.pw.edu.pl (Postfix) with ESMTP id 7474CCC003; Fri, 9 Sep 2011 11:34:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at mini.pw.edu.pl Received: from alpha.mini.pw.edu.pl ([127.0.0.1]) by localhost (alpha.mini.pw.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id br9xEXnlKBt8; Fri, 9 Sep 2011 11:34:21 +0200 (CEST) Received: from [192.168.1.100] (11-mi2-9.acn.waw.pl [85.222.56.11]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by alpha.mini.pw.edu.pl (Postfix) with ESMTPSA id AC1CECC001; Fri, 9 Sep 2011 11:34:21 +0200 (CEST) Message-ID: <4E69DDB7.8020706@mini.pw.edu.pl> Date: Fri, 09 Sep 2011 11:34:47 +0200 From: Marek Kozlowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 MIME-Version: 1.0 To: dieterv Subject: Re: pygtk: gtk.CellRendererText().set_property(...) and pango markup (HTML) References: <4E69224B.4000907@mini.pw.edu.pl> <4E692DB6.5020809@mini.pw.edu.pl> <4E69311F.9000803@optionexplicit.be> <4E69C552.8050405@mini.pw.edu.pl> <1c851f15cac540ab47f2fd1a91dcd275@mail.webfaction.com> In-Reply-To: <1c851f15cac540ab47f2fd1a91dcd275@mail.webfaction.com> X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org, Paul Davis X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 09:34:38 -0000 On 09/09/2011 10:54 AM, dieterv wrote: > On Fri, 09 Sep 2011 09:50:42 +0200, Marek Kozlowski wrote: > >> I'm afraid I'm dumb cause I still don't understand :-( > > Don't despair just yet! It's just that the techniques used > in Gtk's TreeView might not seem obvious at first. Looking > at the parts that matter most for us application developers, > there's a split between: > - the model (the part that holds the data you want to show > on screen as a list or tree) and; > - the view (the part that actually draws the data from the > model on screen). > > After working with the various objects involved for some time > (ListStore, TreeView, CellRenderers, etc), you'll soon start > to recognize which object (or widget) belongs to what category. > >> What do you mean: >>the "columns" (markup, foreground, background)<< >> ? > > Sometimes it helps to think of the "columns" of the model > more like "fields" in a record in some database. If you > do that, model "fields" cannot be confused with > view "columns". > > That might make it a bit easier to wrap your head around this. > >> Let's take an example: >> http://stackoverflow.com/questions/1447187/embed-a-spreadsheet-table-in-a-pygtk-application >> >> May I ask for corresponding, modified set_property() ? > > Sure. Look at the attached example. It's a slightly modified > version of the example you've linked to above. Thanks a lot! A thought of CellRendererText().set_property() rather than TreeViewColumn().set_attributes(). Yes, it IS really simple. Thank you very much for the clarification! Best regards! Marek From bulk88@hotmail.com Sat Sep 10 17:26:14 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 881097500C5 for ; Sat, 10 Sep 2011 17:26:14 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -102.293 X-Spam-Level: X-Spam-Status: No, score=-102.293 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, T_FRT_BELOW2=0.01, USER_IN_WHITELIST=-100] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hqV5v-83MEcO for ; Sat, 10 Sep 2011 17:26:09 +0000 (UTC) X-Greylist: delayed 337 seconds by postgrey-1.32 at menubar.gnome.org; Sat, 10 Sep 2011 17:26:09 UTC Received: from col0-omc1-s4.col0.hotmail.com (col0-omc1-s4.col0.hotmail.com [65.55.34.14]) by menubar.gnome.org (Postfix) with ESMTP id A866E7500C1 for ; Sat, 10 Sep 2011 17:26:01 +0000 (UTC) Received: from COL115-W9 ([65.55.34.8]) by col0-omc1-s4.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 10 Sep 2011 10:20:22 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_bc8eab8f-210a-4983-855f-227d9aa4fc94_" X-Originating-IP: [24.90.120.178] From: bulk 88 To: Subject: glib's pcre's makefile.msc broken? Date: Sat, 10 Sep 2011 13:20:22 -0400 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 10 Sep 2011 17:20:22.0500 (UTC) FILETIME=[EC035A40:01CC6FDD] X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2011 17:26:14 -0000 --_bc8eab8f-210a-4983-855f-227d9aa4fc94_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to build glib dlls on win32 with VS 2003 using=20 the glib 2.28.1 tarball and the nmake process (not the vs project way=2C = my vs is too old to open it). The glib using app I trying to debug I recomp= iled with debugging info and symbols successfully=2C but I get assembly whe= n I step into the glib runtime. The official gtk.org glib runtime doesn't h= ave symbols/step through debugging available=2C so building my own is the o= nly way I see to get the PDBs for debugging. My problem is=2C that makefile= .msc in /glib/pcre fails to make pcre.lib or any objs or run cl at all. Thi= s makes the parent makefiles fail. Below is the output I get from pcre's ma= kefile.msc. ________________________________________ C:\sources\glib\glib\pcre>nmake -f makefile.msc /N DEBUG=3D1 all Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. lib -out:pcre.lib C:\sources\glib\glib\pcre> _______________________________________ The problem is in pcre's makefile.msc the OBJECTS macro is empty http://git.gnome.org/browse/glib/tree/glib/pcre/makefile.msc#n24 I'm not sure if should be trying to use the makefile.in files on win32/msvc= . I dont know how to convert the makefile.in files to normal makefiles. htt= p://hans.breuer.org/gtk/de-in.py is a dead link. Bellow the the complete bu= ild process (resumed=2C not cleaned). _______________________________________ C:\sources\glib>nmake -f makefile.msc DEBUG=3D1 all Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. for %d in (glib gmodule gthread gobject gio tests) do nmake -nologo= -f m akefile.msc sub-one THIS=3D%d TARGET=3Dall C:\sources\glib>nmake -nologo -f makefile.msc sub-one THIS=3Dglib TARGET=3D= all cd pcre nmake -f makefile.msc Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. lib -out:pcre.lib Microsoft (R) Library Manager Version 7.10.6030 Copyright (C) Microsoft Corporation. All rights reserved. cd .. cl -MDd -W3 -nologo -Zi -DG_ENABLE_DEBUG=3D1 -FImsvc_recommended_= pragmas .h -I . -I .. -DHAVE_CONFIG_H -DGLIB_COMPILATION -DG_LOG_DOMAIN=3D\"GLib\" = -DG_EN ABLE_DEBUG -DPCRE_STATIC -DG_DISABLE_DEPRECATED -DDLL_EXPORT=3D1 -Zm400 -I= C:/sou rces/glibbin/include -I ..\..\glib\build\win32\dirent -LD -Felibglib-2.0-0.= dll g array.obj gasyncqueue.obj gatomic.obj gb= acktr ace.obj gbase64.obj gbookmarkfile.obj gcache.obj gchecksum.o= bj gcompletion.obj gconvert.obj gdataset.obj gdate.obj gdir.obj g= error .obj gfileutils.obj ghash.obj ghostutils.obj ghook.obj giochannel.obj = giow in32.obj gpoll.obj gkeyfile.obj glist.obj gmain.obj gmappedfile.obj gmarkup.obj gmem.obj gmessages.obj gnode.obj goption.obj gpattern.obj= gpr imes.obj gprintf.obj gqsort.obj gqueue.obj grand.obj gregex.obj grel.= obj gscanner.obj gsequence.obj gshell.obj gslice.obj gslist.obj gspawn-win= 32.ob j gstdio.obj gstrfuncs.obj gstring.obj gtestutils.obj gthread.obj gth= readp ool.obj gtimer.obj gtree.obj gunibreak.obj gunicollate.obj gunidecomp.= obj guniprop.obj gurifuncs.obj gutf8.obj gutils.obj gw= in32. obj localcharset.obj glib.res C:/sources/glibbin/include\intl.= lib gnulib\gnulib.lib pcre\pcre.lib ..\..\glib\build\win32\dirent\dirent.lib us= er32. lib advapi32.lib shell32.lib wsock32.lib ole32.lib ws2_32.lib /link /machi= ne:ix 86 /debug /nodefaultlib:msvcrt.lib /implib:glib-2.0.lib /def:glib.def LINK : fatal error LNK1104: cannot open file 'pcre\pcre.lib' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET = 2003\ VC7\BIN\nmake.exe"' : return code '0x2' Stop. C:\sources\glib>nmake -nologo -f makefile.msc sub-one THIS=3Dgmodule TARGET= =3Dall cl -MDd -W3 -nologo -Zi -DG_ENABLE_DEBUG=3D1 -FImsvc_recommended_= pragmas .h -I .. -I . -I ..\glib -DHAVE_CONFIG_H -DG_LOG_DOMAIN=3D\"GModule\" -LD = -Felibg module-2.0-0.dll gmodule.obj gmodule.res ..\glib\glib-2.0.lib /link /machi= ne:ix 86 /debug /nodefaultlib:msvcrt.lib /implib:gmodule-2.0.lib /def:gmodule.def LINK : fatal error LNK1104: cannot open file '..\glib\glib-2.0.lib' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET = 2003\ VC7\BIN\nmake.exe"' : return code '0x2' Stop. C:\sources\glib>nmake -nologo -f makefile.msc sub-one THIS=3Dgthread TARGET= =3Dall cl -MDd -W3 -nologo -Zi -DG_ENABLE_DEBUG=3D1 -FImsvc_recommended_= pragmas .h -I .. -I . -I ..\glib -DHAVE_CONFIG_H -DG_LOG_DOMAIN=3D\"GThread\" -LD = -Felibg thread-2.0-0.dll gthread-impl.obj gthread.res ..\glib\glib-2.0.lib user32= .lib /link /machine:ix86 /debug /nodefaultlib:msvcrt.lib /implib:gthread-2.0.lib= /def :gthread.def LINK : fatal error LNK1104: cannot open file '..\glib\glib-2.0.lib' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET = 2003\ VC7\BIN\nmake.exe"' : return code '0x2' Stop. C:\sources\glib>nmake -nologo -f makefile.msc sub-one THIS=3Dgobject TARGET= =3Dall cl -MDd -W3 -nologo -Feglib-genmarshal.exe -Zi -DG_ENABLE_DEBUG= =3D1 -FIm svc_recommended_pragmas.h -I .. -I . -I ..\glib -DHAVE_CONFIG_H -DGOBJECT_C= OMPIL ATION -DG_LOG_DOMAIN=3D\"GLib-GObject\" -DG_ENABLE_DEBUG -UGOBJECT_COMPIL= ATION g lib-genmarshal.c ..\glib\glib-2.28s.lib user32.lib advapi32.lib ole32.lib = shell 32.lib C:/sources/glibbin/include\intl.lib cl : Command line warning D4025 : overriding '/DGOBJECT_COMPILATION' with '= /UGOB JECT_COMPILATION' glib-genmarshal.c LINK : fatal error LNK1104: cannot open file '..\glib\glib-2.28s.lib' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET = 2003\ VC7\BIN\nmake.exe"' : return code '0x2' Stop. C:\sources\glib>nmake -nologo -f makefile.msc sub-one THIS=3Dgio TARGET=3Da= ll for %d in (win32) do nmake -nologo -f makefile.msc sub-one THIS=3D%= d C:\sources\glib\gio>nmake -nologo -f makefile.msc sub-one THIS=3Dwin32 cd win32 nmake -nologo -f makefile.msc NMAKE : fatal error U1052: file 'makefile.msc' not found Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET = 2003\ VC7\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'for' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET = 2003\ VC7\BIN\nmake.exe"' : return code '0x2' Stop. C:\sources\glib>nmake -nologo -f makefile.msc sub-one THIS=3Dtests TARGET= =3Dall cl -MDd -W3 -nologo -Zi -DG_ENABLE_DEBUG=3D1 -FImsvc_recommended_= pragmas .h -I .. -I ..\glib -I ..\gmodule -DHAVE_CONFIG_H -DENABLE_REGEX -c atomic= -test .c atomic-test.c cl -MDd -W3 -nologo -Zi -DG_ENABLE_DEBUG=3D1 -FImsvc_recommended_= pragmas .h -I .. -I ..\glib -I ..\gmodule -DHAVE_CONFIG_H -DENABLE_REGEX -Featomic= -test .exe atomic-test.c ..\glib\glib-2.0.lib ..\gmodule\gmodule-2.0.lib ..\gthre= ad\gt hread-2.0.lib /link /machine:ix86 /debug /nodefaultlib:msvcrt.lib user32.li= b /su bsystem:console atomic-test.c LINK : fatal error LNK1104: cannot open file '..\glib\glib-2.0.lib' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET = 2003\ VC7\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'for' : return code '0x2' Stop. C:\sources\glib>___________________________________________________________= __________ = --_bc8eab8f-210a-4983-855f-227d9aa4fc94_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am trying to build glib dlls on win32 with VS 2003 using= =20 the glib 2.28.1 tarball and the nmake process (not the vs project way=2C = my vs is too old to open it). The glib using app I trying to debug I recomp= iled with debugging info and symbols successfully=2C but I get assembly whe= n I step into the glib runtime. The official gtk.org glib runtime doesn't h= ave symbols/step through debugging available=2C so building my own is the o= nly way I see to get the PDBs for debugging. My problem is=2C that makefile= .msc in /glib/pcre fails to make pcre.lib or any objs or run cl at all. Thi= s makes the parent makefiles fail. Below is the output I get from pcre's ma= kefile.msc.
________________________________________
C:\sources\glib\= glib\pcre>=3Bnmake -f makefile.msc /N =3B DEBUG=3D1 all

Micros= oft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Micr= osoft Corporation. =3B All rights reserved.

 =3B =3B&nbs= p=3B =3B =3B =3B =3B lib -out:pcre.lib

C:\sources\gl= ib\glib\pcre>=3B
_______________________________________
The proble= m is in pcre's makefile.msc the OBJECTS macro is empty
http://git.gnom= e.org/browse/glib/tree/glib/pcre/makefile.msc#n24

I'm not sure i= f should be trying to use the makefile.in files on win32/msvc. I dont know = how to convert the makefile.in files to normal makefiles. http://hans.breuer.org/gt= k/de-in.py is a dead link. Bellow the the complete build process (resu= med=2C not cleaned).
_______________________________________
C:\sourc= es\glib>=3Bnmake -f makefile.msc =3B =3B DEBUG=3D1 all

Mic= rosoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) M= icrosoft Corporation. =3B All rights reserved.

 =3B =3B&= nbsp=3B =3B =3B =3B =3B for %d in (glib gmodule gthread gob= ject gio tests) do nmake -nologo -f m
akefile.msc sub-one THIS=3D%d TARG= ET=3Dall

C:\sources\glib>=3Bnmake -nologo -f makefile.msc sub-one = THIS=3Dglib TARGET=3Dall
 =3B =3B =3B =3B =3B = =3B =3B cd pcre
 =3B =3B =3B =3B =3B =3B&nbs= p=3B nmake -f makefile.msc

Microsoft (R) Program Maintenance Utility= Version 7.10.3077
Copyright (C) Microsoft Corporation. =3B All righ= ts reserved.

 =3B =3B =3B =3B =3B =3B = =3B lib -out:pcre.lib
Microsoft (R) Library Manager Version 7.10.6030Copyright (C) Microsoft Corporation. =3B All rights reserved.

&= nbsp=3B =3B =3B =3B =3B =3B =3B cd ..
 =3B&n= bsp=3B =3B =3B =3B =3B =3B cl =3B -MDd -W3 -nologo&= nbsp=3B -Zi -DG_ENABLE_DEBUG=3D1 -FImsvc_recommended_pragmas
.h -I . -I = .. -DHAVE_CONFIG_H -DGLIB_COMPILATION -DG_LOG_DOMAIN=3D\"GLib\" =3B -DG= _EN
ABLE_DEBUG -DPCRE_STATIC -DG_DISABLE_DEPRECATED =3B -DDLL_EXPORT= =3D1 -Zm400 -I C:/sou
rces/glibbin/include -I ..\..\glib\build\win32\dir= ent -LD -Felibglib-2.0-0.dll g
array.obj =3B =3B =3B =3B=  =3B =3B =3B =3B =3B =3B =3B =3B =3B&nb= sp=3B =3B gasyncqueue.obj =3B =3B =3B =3B =3B = =3B =3B =3B =3B =3B =3B =3B =3B =3B =3B=  =3B gatomic.obj =3B =3B =3B =3B gbacktr
ace.obj&nbs= p=3B =3B =3B =3B =3B =3B =3B =3B =3B gbase6= 4.obj =3B =3B =3B =3B gbookmarkfile.obj =3B gcache.obj&= nbsp=3B gchecksum.obj
 =3Bgcompletion.obj =3B =3B =3B&nb= sp=3B =3B =3B =3B =3B gconvert.obj =3B gdataset.obj&nbs= p=3B gdate.obj =3B gdir.obj =3B gerror
.obj =3B gfileutils.o= bj =3B ghash.obj =3B ghostutils.obj =3B ghook.obj =3B gioch= annel.obj =3B giow
in32.obj =3B gpoll.obj =3B gkeyfile.obj&n= bsp=3B glist.obj =3B gmain.obj =3B gmappedfile.obj
 =3Bgmark= up.obj =3B gmem.obj =3B gmessages.obj =3B gnode.obj =3B gop= tion.obj =3B gpattern.obj =3B gpr
imes.obj =3B gprintf.obj&n= bsp=3B gqsort.obj =3B gqueue.obj =3B grand.obj =3B gregex.obj&n= bsp=3B grel.obj
gscanner.obj =3B gsequence.obj =3B gshell.obj&nb= sp=3B gslice.obj =3B gslist.obj =3B gspawn-win32.ob
j =3B gs= tdio.obj =3B gstrfuncs.obj =3B gstring.obj =3B gtestutils.obj&n= bsp=3B gthread.obj =3B gthreadp
ool.obj =3B gtimer.obj =3B g= tree.obj =3B gunibreak.obj =3B gunicollate.obj =3B gunidecomp.o= bj
guniprop.obj =3B gurifuncs.obj =3B gutf8.obj =3B =3B&= nbsp=3B =3B =3B =3B =3B =3B =3B =3B gutils.obj&= nbsp=3B =3B =3B =3B =3B =3B =3B =3B =3B&nbs= p=3B =3B =3B =3B gwin32.
obj =3B =3B =3B =3B=  =3B =3B =3B =3B =3B =3B =3B =3B =3B lo= calcharset.obj glib.res C:/sources/glibbin/include\intl.lib
gnulib\gnuli= b.lib pcre\pcre.lib ..\..\glib\build\win32\dirent\dirent.lib user32.
lib= advapi32.lib shell32.lib wsock32.lib ole32.lib ws2_32.lib =3B /link /m= achine:ix
86 /debug /nodefaultlib:msvcrt.lib /implib:glib-2.0.lib /def:g= lib.def
LINK : fatal error LNK1104: cannot open file 'pcre\pcre.lib'
= NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fat= al error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC= 7\BIN\nmake.exe"' : return code '0x2'
Stop.

C:\sources\glib>=3B= nmake -nologo -f makefile.msc sub-one THIS=3Dgmodule TARGET=3Dall
 = =3B =3B =3B =3B =3B =3B =3B cl =3B -MDd -W3 -no= logo =3B -Zi -DG_ENABLE_DEBUG=3D1 -FImsvc_recommended_pragmas
.h -I = .. -I . -I ..\glib -DHAVE_CONFIG_H -DG_LOG_DOMAIN=3D\"GModule\" =3B -LD= -Felibg
module-2.0-0.dll gmodule.obj gmodule.res =3B ..\glib\glib-2= .0.lib /link /machine:ix
86 /debug /nodefaultlib:msvcrt.lib /implib:gmod= ule-2.0.lib /def:gmodule.def
LINK : fatal error LNK1104: cannot open fil= e '..\glib\glib-2.0.lib'
NMAKE : fatal error U1077: 'cl' : return code '= 0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Vi= sual Studio .NET 2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.<= br>
C:\sources\glib>=3Bnmake -nologo -f makefile.msc sub-one THIS=3Dgt= hread TARGET=3Dall
 =3B =3B =3B =3B =3B =3B = =3B cl =3B -MDd -W3 -nologo =3B -Zi -DG_ENABLE_DEBUG=3D1 -FImsvc_re= commended_pragmas
.h -I .. -I . -I ..\glib -DHAVE_CONFIG_H -DG_LOG_DOMAI= N=3D\"GThread\" =3B -LD -Felibg
thread-2.0-0.dll gthread-impl.obj gt= hread.res =3B ..\glib\glib-2.0.lib =3B user32.lib
/link /machine= :ix86 /debug /nodefaultlib:msvcrt.lib /implib:gthread-2.0.lib /def
:gthr= ead.def
LINK : fatal error LNK1104: cannot open file '..\glib\glib-2.0.l= ib'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAK= E : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003= \
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.

C:\sources\gli= b>=3Bnmake -nologo -f makefile.msc sub-one THIS=3Dgobject TARGET=3Dall =3B =3B =3B =3B =3B =3B =3B cl =3B -MDd -= W3 -nologo -Feglib-genmarshal.exe =3B -Zi -DG_ENABLE_DEBUG=3D1 -FIm
= svc_recommended_pragmas.h -I .. -I . -I ..\glib -DHAVE_CONFIG_H -DGOBJECT_C= OMPIL
ATION -DG_LOG_DOMAIN=3D\"GLib-GObject\" =3B -DG_ENABLE_DEBUG&n= bsp=3B -UGOBJECT_COMPILATION g
lib-genmarshal.c =3B ..\glib\glib-2.2= 8s.lib user32.lib advapi32.lib ole32.lib shell
32.lib C:/sources/glibbin= /include\intl.lib
cl : Command line warning D4025 : overriding '/DGOBJEC= T_COMPILATION' with '/UGOB
JECT_COMPILATION'
glib-genmarshal.c
LIN= K : fatal error LNK1104: cannot open file '..\glib\glib-2.28s.lib'
NMAKE= : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal er= ror U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN= \nmake.exe"' : return code '0x2'
Stop.

C:\sources\glib>=3Bnmake= -nologo -f makefile.msc sub-one THIS=3Dgio TARGET=3Dall
 =3B = =3B =3B =3B =3B =3B =3B for %d in (win32) do nmake -nol= ogo -f makefile.msc sub-one THIS=3D%d

C:\sources\glib\gio>=3Bnmake= -nologo -f makefile.msc sub-one THIS=3Dwin32
 =3B =3B =3B&n= bsp=3B =3B =3B =3B cd win32
 =3B =3B =3B =3B=  =3B =3B =3B nmake -nologo -f makefile.msc
NMAKE : fatal err= or U1052: file 'makefile.msc' not found
Stop.
NMAKE : fatal error U10= 77: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN\nmake.= exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'for' : re= turn code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\M= icrosoft Visual Studio .NET 2003\
VC7\BIN\nmake.exe"' : return code '0x2= '
Stop.

C:\sources\glib>=3Bnmake -nologo -f makefile.msc sub-on= e THIS=3Dtests TARGET=3Dall
 =3B =3B =3B =3B =3B&nbs= p=3B =3B cl =3B -MDd -W3 -nologo =3B -Zi -DG_ENABLE_DEBUG=3D1 -= FImsvc_recommended_pragmas
.h -I .. -I ..\glib -I ..\gmodule -DHAVE_CONF= IG_H -DENABLE_REGEX =3B -c atomic-test
.c
atomic-test.c
 = =3B =3B =3B =3B =3B =3B =3B cl =3B -MDd -W3 -no= logo =3B -Zi -DG_ENABLE_DEBUG=3D1 -FImsvc_recommended_pragmas
.h -I = .. -I ..\glib -I ..\gmodule -DHAVE_CONFIG_H -DENABLE_REGEX =3B -Featomi= c-test
.exe atomic-test.c ..\glib\glib-2.0.lib ..\gmodule\gmodule-2.0.li= b ..\gthread\gt
hread-2.0.lib /link /machine:ix86 /debug /nodefaultlib:m= svcrt.lib user32.lib /su
bsystem:console
atomic-test.c
LINK : fata= l error LNK1104: cannot open file '..\glib\glib-2.0.lib'
NMAKE : fatal e= rror U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077:= '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN\nmake.exe= "' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'for' : retur= n code '0x2'
Stop.

C:\sources\glib>=3B_________________________= ____________________________________________
= --_bc8eab8f-210a-4983-855f-227d9aa4fc94_-- From fanc999@yahoo.com.tw Sun Sep 11 01:45:57 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C39D87500F7 for ; Sun, 11 Sep 2011 01:45:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.596 X-Spam-Level: X-Spam-Status: No, score=-0.596 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=1.151, SARE_SUB_ENC_UTF8=0.152] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RB8XmqIAgrak for ; Sun, 11 Sep 2011 01:45:55 +0000 (UTC) Received: from nm8-vm4.bullet.mail.tp2.yahoo.com (nm8-vm4.bullet.mail.tp2.yahoo.com [203.188.201.23]) by menubar.gnome.org (Postfix) with SMTP id 39761750080 for ; Sun, 11 Sep 2011 01:45:46 +0000 (UTC) Received: from [203.188.200.82] by nm8.bullet.mail.tp2.yahoo.com with NNFMP; 11 Sep 2011 01:45:44 -0000 Received: from [203.188.200.160] by tm3.bullet.mail.tp2.yahoo.com with NNFMP; 11 Sep 2011 01:45:44 -0000 Received: from [127.0.0.1] by omp1005.mail.tp2.yahoo.com with NNFMP; 11 Sep 2011 01:45:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 685854.11566.bm@omp1005.mail.tp2.yahoo.com Received: (qmail 57983 invoked by uid 60001); 11 Sep 2011 01:45:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.tw; s=s1024; t=1315705544; bh=Te6Z+klnJwz02NSZBsHU2kqlzywEy0EmnxlWIFFAseU=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CGjkf1FdhP40OG3dQRYccxogi9Q56MN6eafcNlMDWAfwS37Z0p7AtH0vAsR0W658NErTAXIqQWbgSbyIvxQvDqqtwVO9CJMoEtr5176cAdwHnSvi0BFOJRvr+NKyEp2QqHiQ3KpXDfbW+Ise9yZY7rAhHBktZaO8g2IG1/QAqmE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.tw; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vAqWB8G3G/b/JpcanJSFieLZguYjJC5iomSBO9AP7OHNp9ZMipNanw2vJUjShaSm6axc96Np2HMfQQDFWquXNend6GEGEthV/+d1Iuut4zDJkkfVh+OrAbcN9Nx2h/CA7HgY+NWq4nSZvbEGZI384wquyUuI0rja7ZANbPNWBHc=; X-YMail-OSG: 2Vx7AacVM1lYSIFnHZgPNDmISKJn8GrdYmDyCGWeZpG8Bv6 gUYq6Qf9gmtgbZBXxZ6DP4XZAap3RObiJ0wfL9IV4At9zASESYJ4zil.KD4c wFfa6xgJWVqy_UznfhpFh1tcp7Dv2q1NbVhw8c1m8w67YgnAjIOBw2Kpfmla KWUhiD93K.dRqRovU2TWuBH2CK3JEVpuSqzTXwn5EUQTlmPtVTh9UBzPuDZm byHqyjQHR50NxsVtP0DhWUJIk1RugZL5bC6yDyxmZoHf3F8.kJepYAbx816t FIswhrEPYMYjY7sGhg7L18s33NLD8qGpXAjAjKDKfqbyofYLFAbTVrADIYR_ U8Bj.7iyvXPtWCRldJy9Br_PpWaaahfeIq9kl7HsnnOlhHnUlgSuKlJIrAEK mMK2iYPFok_RVOsPpGtr_YnOBk5EWbFuqv6sRe6G8TjmSfxKMQ1GFSFknvt7 0Ea1.sy7bzqzrCx5BSFSiFmKH Received: from [175.180.182.248] by web74301.mail.tp2.yahoo.com via HTTP; Sun, 11 Sep 2011 09:45:44 CST X-Mailer: YahooMailWebService/0.8.113.315625 References: Message-ID: <1315705544.57929.YahooMailNeo@web74301.mail.tp2.yahoo.com> Date: Sun, 11 Sep 2011 09:45:44 +0800 (CST) From: Fan Chun-wei Subject: =?utf-8?B?5Zue6KaG77mVIGdsaWIncyBwY3JlJ3MgbWFrZWZpbGUubXNjIGJyb2tlbj8=?= To: bulk 88 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: "gtk-list@gnome.org" X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Fan Chun-wei List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2011 01:45:58 -0000 Hi bulk88,=0A=0AI do understand it is highly likely that the makefile.msc's= in GLib is not in working shape, but the GLib makefile.msc's are not compl= ete in the tarball distribution as they were not maintained for a good whil= e-there is a patch in BugZilla under bug 651261 to fix this, but I have yet= to check and apply the patches (sorry Vitaliy if you are reading this at t= his moment, especially for the delay).=0A=0AThe other point of consideratio= n for not having VS2003 projects is that GLib is not able to be compiled wi= th that VS version out of the box since 2.22.4 or so as it uses functions/f= eatures that were only provided in later VS versions, so to let you know-an= d GLib 2.28.x is required for many of the latest stable versions of the GTK= + stack and Clutter stack.=0A=0Ap.s. the binaries for the GLib runtime on g= tk.org was built with MinGW, not VS, so it would not have the .pdb files, a= nd most probably you would not want to use that with VS 2003.=0A=0A=0AHope = this info helps-and hopefully I (and perhaps Hans, who came up initially wi= th the makefile.msc's) can check bug 651261 and put it in the glib-2-28 bra= nch at least.=0A=0AGod Bless=0A=0A=0A=0A________________________________=0A= =E5=AF=84=E4=BB=B6=E8=80=85=EF=BC=9A bulk 88 =0A=E5=AF=84=E4=BB=B6=E6=97=A5= =E6=9C=9F=EF=BC=9A 2011/9/11 (=E6=97=A5) 1:20 AM=0A=E4=B8=BB=E6=97=A8=EF=BC= =9A glib's pcre's makefile.msc broken?=0A=0A=0A=0A=0A=0AI am trying to buil= d glib dlls on win32 with VS 2003 using=C2=A0=C2=A0the glib 2.28.1 tarball = and the nmake process (not the vs project way, my vs is too old to open it)= . The glib using app I trying to debug I recompiled with debugging info and= symbols successfully, but I get assembly when I step into the glib runtime= . The official gtk.org glib runtime doesn't have symbols/step through debug= ging available, so building my own is the only way I see to get the PDBs fo= r debugging. My problem is, that makefile.msc in /glib/pcre fails to make p= cre.lib or any objs or run cl at all. This makes the parent makefiles fail.= Below is the output I get from pcre's makefile.msc.=0A____________________= ___________________ From johne53@tiscali.co.uk Tue Sep 13 08:27:28 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 00E9575009F for ; Tue, 13 Sep 2011 08:27:28 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.218 X-Spam-Level: X-Spam-Status: No, score=-2.218 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lQj+-D4JQ7xl for ; Tue, 13 Sep 2011 08:27:26 +0000 (UTC) X-Greylist: delayed 780 seconds by postgrey-1.32 at menubar.gnome.org; Tue, 13 Sep 2011 08:27:25 UTC Received: from mk-filter-4-a-1.mail.uk.tiscali.com (mk-filter-4-a-1.mail.tiscali.co.uk [212.74.100.55]) by menubar.gnome.org (Postfix) with ESMTP id ADFA575006A for ; Tue, 13 Sep 2011 08:27:17 +0000 (UTC) X-Trace: 662738571/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AisHAJUPb05YaAIK/2dsb2JhbABCmRyOS3mCFByBPRABiB+WS59qhg5gBJhGjBo X-IronPort-AV: E=Sophos;i="4.68,373,1312153200"; d="scan'208";a="662738571" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO mac-mini.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 13 Sep 2011 09:14:14 +0100 From: John Emmas Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: GTK TreeView control in Windows (DND issue) Date: Tue, 13 Sep 2011 09:14:13 +0100 Message-Id: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> To: gtk-list@gnome.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 08:27:28 -0000 Hi there, Some time ago (circa April 2010) I posted on the gtk-app-devel list = about some problems I was having when trying to make drag'n'drop work = with a gtk TreeView control (this was using gtk-win32). I was running = gtk version 2.14 at the time. Currently I'm using version 2.20 and although I can make DND work if I = drag from an external source (e.g. Windows Explorer) I still can't make = DND work internally for the control itself. For example, the gtk = toolkit provides a sample app called 'testtreeview.c'. If I build the = test sample on Linux (linking to gtk-x11) I can successfully re-order = the treeview's rows using drag'n'drop. However if I build the same app = for Windows (linking to gtk-win32) the drag'n'drop functionality doesn't = work. I've built other apps with gtk-win32 (using other kinds of = controls) and was able to make DND work okay - but I can't make it work = properly for a TreeView control. I was thinking of setting aside some time to investigate this but then I = noticed that gtk is now up to version 2.24. I just wondered if the = problem is fixed in 2.24 - or if anyone else knows about this problem or = is already working on it? Thanks. John= From dieterv@optionexplicit.be Tue Sep 13 08:46:44 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B2EB8750091 for ; Tue, 13 Sep 2011 08:46:44 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.823 X-Spam-Level: X-Spam-Status: No, score=-1.823 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7auPo6u8g7Wq for ; Tue, 13 Sep 2011 08:46:43 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id E31B875006A for ; Tue, 13 Sep 2011 08:46:34 +0000 (UTC) Received: from webmail.webfaction.com (wf2.webfaction.com [174.133.50.206]) by smtp.webfaction.com (Postfix) with ESMTP id 2C9272079983; Tue, 13 Sep 2011 03:46:33 -0500 (CDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 13 Sep 2011 10:46:33 +0200 From: dieterv To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) In-Reply-To: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> Message-ID: X-Sender: dieterv@optionexplicit.be User-Agent: Roundcube Webmail/0.5.4 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 08:46:44 -0000 On Tue, 13 Sep 2011 09:14:13 +0100, John Emmas wrote: > I was thinking of setting aside some time to investigate this but A lot of people will thank you if you do :) > then I noticed that gtk is now up to version 2.24. I just wondered > if > the problem is fixed in 2.24 - or if anyone else knows about this > problem or is already working on it? Thanks. I'm still seeing it on 2.24 and think these bug reports are related: https://bugzilla.gnome.org/show_bug.cgi?id=641924 https://bugzilla.gnome.org/show_bug.cgi?id=652235 Thanks, Dieter From johne53@tiscali.co.uk Tue Sep 13 10:19:04 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 863A075009F for ; Tue, 13 Sep 2011 10:19:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.218 X-Spam-Level: X-Spam-Status: No, score=-2.218 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DAqWqjI9khT4 for ; Tue, 13 Sep 2011 10:19:01 +0000 (UTC) Received: from mk-filter-4-a-1.mail.uk.tiscali.com (mk-filter-4-a-1.mail.tiscali.co.uk [212.74.100.55]) by menubar.gnome.org (Postfix) with ESMTP id 3546C75005B for ; Tue, 13 Sep 2011 10:18:52 +0000 (UTC) X-Trace: 662793439/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlMpAMMsb05YaAIK/2dsb2JhbABCgkeWVY5LeYFTAQEEAScTHDMLRjkeNIdcAgK4AYYOYASYRowa X-IronPort-AV: E=Sophos;i="4.68,373,1312153200"; d="scan'208";a="662793439" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 13 Sep 2011 11:18:50 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: Date: Tue, 13 Sep 2011 11:18:50 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 10:19:04 -0000 On 13 Sep 2011, at 09:46, dieterv wrote: >=20 > I'm still seeing it on 2.24 and think these bug reports > are related: >=20 > https://bugzilla.gnome.org/show_bug.cgi?id=3D641924 > https://bugzilla.gnome.org/show_bug.cgi?id=3D652235 >=20 Thanks Dieter. I was particularly interested to read that apparently = this did once work. Also, the fact that it can be made to work after a = fashion by using 'gtk_drag_source_set() / dest_set()' instead of the = official 'gtk_tree_view_enable_model_drag_source() / drag_dest()'. I = just tried that (in C++) and I can see why someone might think that but = to be honest, I'm not convinced it's the solution. What I did notice though is that regardless of whether you use = 'gtk_tree_view_enable_model_drag_source()' or 'gtk_drag_source_set()' = there's a problem with the context action. In function = 'gtk_drag_button_release_cb()' (gtkdnd.c) there's a section that looks = like this:- if ((info->context->action !=3D 0) && (info->context->dest_window !=3D = NULL)) { gtk_drag_end (info, event->time); gtk_drag_drop (info, event->time); } else { gtk_drag_cancel (info, GTK_DRAG_RESULT_NO_TARGET, event->time); } Normally, 'info->context->action' would be whatever action you'd set it = to (GDK_ACTION_MOVE / GDK_ACTION_COPY / GDK_ACTION_ASK etc). But by the = time the code reaches that point the action data seems to have gotten = lost somewhere. For a TreeView control (in gtk-win32) = 'info->context->action' is always zero. Consequently, the rest of the = process always fails and 'gtk_drag_cancel()' gets called. This is = what's aborting the drop part and it's true, whichever method you use to = set up the drag source. If nobody already knows what's wrong I'll see if I can look into this = and find some more information but it won't be this week. Probably = early next week with a bit of luck. I'm amazed that this hasn't been = solved already though. It's been a problem for a very long time. I'd = be happy to collaborate with one of the devs though, if that would help = speed things along. Regards. John= From doug.blank@gmail.com Tue Sep 13 10:19:47 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B2DC275027F for ; Tue, 13 Sep 2011 10:19:47 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PjuXIvCBFG51 for ; Tue, 13 Sep 2011 10:19:45 +0000 (UTC) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by menubar.gnome.org (Postfix) with ESMTP id 1F82675009F for ; Tue, 13 Sep 2011 10:19:36 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so624582bkb.27 for ; Tue, 13 Sep 2011 03:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ItxzJ5WlXRRr10bXB85HLRuSE6mo8KIEcv3lJLjezwQ=; b=vTqGioSkuF9otGTOQK8daHIEZTdzsAmD3j6ISRysbrpv/RB0AhveStfaoajmJGDf2f +XK/QjiDERzXdVTixlIHHJ/QTfRB7Et/XC2e0f0TzY+6QV+5wd2DtemDPJSpVHojngdq rW8JUX4+ZF5d5BvpvukxbmCFxP7TKw0dgPmFU= MIME-Version: 1.0 Received: by 10.204.141.89 with SMTP id l25mr591210bku.310.1315909174672; Tue, 13 Sep 2011 03:19:34 -0700 (PDT) Received: by 10.204.13.73 with HTTP; Tue, 13 Sep 2011 03:19:34 -0700 (PDT) In-Reply-To: References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> Date: Tue, 13 Sep 2011 06:19:34 -0400 Message-ID: Subject: Re: GTK TreeView control in Windows (DND issue) From: Doug Blank To: dieterv Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 10:19:48 -0000 On Tue, Sep 13, 2011 at 4:46 AM, dieterv wrote: > On Tue, 13 Sep 2011 09:14:13 +0100, John Emmas wrote: >> >> I was thinking of setting aside some time to investigate this but > > A lot of people will thank you if you do :) More people than you could imagine. >> then I noticed that gtk is now up to version 2.24. =A0I just wondered if >> the problem is fixed in 2.24 - or if anyone else knows about this >> problem or is already working on it? =A0Thanks. > > I'm still seeing it on 2.24 and think these bug reports > are related: > > https://bugzilla.gnome.org/show_bug.cgi?id=3D641924 > https://bugzilla.gnome.org/show_bug.cgi?id=3D652235 This bug may go all the way down. This may also be related: https://bugzilla.novell.com/show_bug.cgi?id=3D664824 Good luck! -Doug > Thanks, > Dieter > > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-list > From dieterv@optionexplicit.be Tue Sep 13 11:00:12 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 721CF750410 for ; Tue, 13 Sep 2011 11:00:12 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.823 X-Spam-Level: X-Spam-Status: No, score=-1.823 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2tTpxYBrj-hT for ; Tue, 13 Sep 2011 11:00:10 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id D034B750232 for ; Tue, 13 Sep 2011 11:00:01 +0000 (UTC) Received: from webmail.webfaction.com (wf2.webfaction.com [174.133.50.206]) by smtp.webfaction.com (Postfix) with ESMTP id 23D1159B27AA; Tue, 13 Sep 2011 05:59:59 -0500 (CDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 13 Sep 2011 12:59:59 +0200 From: dieterv To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) In-Reply-To: References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> Message-ID: <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> X-Sender: dieterv@optionexplicit.be User-Agent: Roundcube Webmail/0.5.4 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 11:00:12 -0000 On Tue, 13 Sep 2011 11:18:50 +0100, John Emmas wrote: > Thanks Dieter. I was particularly interested to read that apparently > this did once work. Also, the fact that it can be made to work after > a fashion by using 'gtk_drag_source_set() / dest_set()' instead of > the > official 'gtk_tree_view_enable_model_drag_source() / drag_dest()'. I > just tried that (in C++) and I can see why someone might think that > but to be honest, I'm not convinced it's the solution. It's not the solution but was proposed as a workaround until a proper solution is found. > What I did notice though is that regardless of whether you use > 'gtk_tree_view_enable_model_drag_source()' or 'gtk_drag_source_set()' > there's a problem with the context action. In function > 'gtk_drag_button_release_cb()' (gtkdnd.c) there's a section that > looks > like this:- > > if ((info->context->action != 0) && (info->context->dest_window != > NULL)) > { > gtk_drag_end (info, event->time); > gtk_drag_drop (info, event->time); > } > else > { > gtk_drag_cancel (info, GTK_DRAG_RESULT_NO_TARGET, > event->time); > } > > Normally, 'info->context->action' would be whatever action you'd set > it to (GDK_ACTION_MOVE / GDK_ACTION_COPY / GDK_ACTION_ASK etc). But > by the time the code reaches that point the action data seems to have > gotten lost somewhere. For a TreeView control (in gtk-win32) > 'info->context->action' is always zero. Consequently, the rest of > the process always fails and 'gtk_drag_cancel()' gets called. This > is what's aborting the drop part and it's true, whichever method you > use to set up the drag source. I think you're on to something here... > If nobody already knows what's wrong I'll see if I can look into this > and find some more information but it won't be this week. Probably > early next week with a bit of luck. I'm amazed that this hasn't been > solved already though. It's been a problem for a very long time. I'd > be happy to collaborate with one of the devs though, if that would > help speed things along. Most likely nobody has had the time to look into it. Sadly, there's not that many people left working on the win32 port, so all the help we can get is *most welcome*! I'd be glad to help out where I can with this, especially because the solution we find for gtk-2.24 might also help gtk-3, where DnD currently crashes horribly (for example gtk3-demo's "Icon View>Editing and Drag-and-Drop" demo). But be aware I'm not an expert on GDK's win32 backend either. Thanks, Dieter From johne53@tiscali.co.uk Tue Sep 13 14:47:34 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 5CE1875004D for ; Tue, 13 Sep 2011 14:47:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.217 X-Spam-Level: X-Spam-Status: No, score=-2.217 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xyWYBVmuS1Oa for ; Tue, 13 Sep 2011 14:47:28 +0000 (UTC) Received: from mk-filter-1-a-1.mail.uk.tiscali.com (mk-filter-1-a-1.mail.tiscali.co.uk [212.74.100.52]) by menubar.gnome.org (Postfix) with ESMTP id 34A7875007E for ; Tue, 13 Sep 2011 14:47:17 +0000 (UTC) X-Trace: 672817806/mk-filter-1.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAAVsb05YaAIK/2dsb2JhbABDpXCBd3mBUwEBBAEnExwoCwsYLjkeiBACt0GGDmAEmEaMGg X-IronPort-AV: E=Sophos;i="4.68,374,1312153200"; d="scan'208";a="672817806" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO mac-mini.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 13 Sep 2011 15:47:15 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> Date: Tue, 13 Sep 2011 15:47:14 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 14:47:34 -0000 On 13 Sep 2011, at 11:59, dieterv wrote: > On Tue, 13 Sep 2011 11:18:50 +0100, John Emmas wrote: >>=20 >> Normally, 'info->context->action' would be whatever action you'd set >> it to (GDK_ACTION_MOVE / GDK_ACTION_COPY / GDK_ACTION_ASK etc). But >> by the time the code reaches that point the action data seems to have >> gotten lost somewhere. For a TreeView control (in gtk-win32) >> 'info->context->action' is always zero. Consequently, the rest of >> the process always fails and 'gtk_drag_cancel()' gets called. This >> is what's aborting the drop part and it's true, whichever method you >> use to set up the drag source. >=20 > I think you're on to something here... >=20 >> If nobody already knows what's wrong I'll see if I can look into this >> and find some more information but it won't be this week. Probably >> early next week with a bit of luck. I'm amazed that this hasn't been >> solved already though. It's been a problem for a very long time. I'd >> be happy to collaborate with one of the devs though, if that would >> help speed things along. >=20 > Most likely nobody has had the time to look into it. Sadly, there's = not > that many people left working on the win32 port, so all the help we > can get is *most welcome*! >=20 I found a little more info which might be helpful. The button release = handler in its entirely looks like this:- static gboolean gtk_drag_button_release_cb (GtkWidget *widget,=20 GdkEventButton *event,=20 gpointer data) { GtkDragSourceInfo *info =3D (GtkDragSourceInfo *)data; if (event->button !=3D info->button) return FALSE; if ((info->context->action !=3D 0) && (info->context->dest_window = !=3D NULL)) { gtk_drag_end (info, event->time); gtk_drag_drop (info, event->time); } else { gtk_drag_cancel (info, GTK_DRAG_RESULT_NO_TARGET, = event->time); } return TRUE; } The 'info' structure has a field called 'widget'. I wondered if the = wrong widget was somehow getting received from Windows (i.e. something = other than the TreeView control - maybe the dragged TreeView item or = something like that). But no, 'widget' is set (apparently correctly) to = the TreeView control itself. Next I wondered about = 'info->context->action'. For a working control (i.e. something that = isn't a TreeView) this seems to be set to GDK_ACTION_MOVE / = GDK_ACTION_COPY or whatever's appropriate. But for a TreeView it's = always set to zero. However.... zero equates to GDK_ACTION_DEFAULT = which is a valid setting AFAICT. So I don't really understand why it = gets excluded by testing for "info->context->action !=3D 0". Zero isn't = an error condition unless I've misunderstood something. Anyway, there might well be other issues affecting this further down the = line - but this is definitely where it all _starts_ to go wrong. We are = at least dealing with the right widget though, so it has to be possible = to make it work. I'll take another look at this sometime during the = next week - but if anyone's already looked at it and got some useful = info, it'd be really helpful to know. I'm sure we can crack this if = enough people pull together. John= From johne53@tiscali.co.uk Tue Sep 13 15:24:43 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id F3C987500D1 for ; Tue, 13 Sep 2011 15:24:42 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.295 X-Spam-Level: X-Spam-Status: No, score=-2.295 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ooSs4VVfwGhA for ; Tue, 13 Sep 2011 15:24:40 +0000 (UTC) Received: from mk-filter-4-a-1.mail.uk.tiscali.com (mk-filter-4-a-1.mail.tiscali.co.uk [212.74.100.55]) by menubar.gnome.org (Postfix) with ESMTP id 2E4F775004D for ; Tue, 13 Sep 2011 15:24:31 +0000 (UTC) X-Trace: 662964246/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnYsAAh0b05YaAIK/2dsb2JhbABCgkeWW45KeYFTAQEEATocMwtGOR6IEAK3MIYOYASYRowa X-IronPort-AV: E=Sophos;i="4.68,374,1312153200"; d="scan'208";a="662964246" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 13 Sep 2011 16:24:28 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: Date: Tue, 13 Sep 2011 16:24:06 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 15:24:43 -0000 On 13 Sep 2011, at 15:47, John Emmas wrote: >=20 > zero equates to GDK_ACTION_DEFAULT which is a valid setting AFAICT. >=20 Oops, wait a minute.... I was reading it wrong. GDK_ACTION_DEFAULT is in = fact 1, not zero. So we're back to finding out why and where it's = getting set to zero. At least we know what the problem is, even if we = haven't yet found out why it's happening. John= From mclasen@redhat.com Tue Sep 13 23:32:49 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D404475020D; Tue, 13 Sep 2011 23:32:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -5.746 X-Spam-Level: X-Spam-Status: No, score=-5.746 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, SUBJ_ALL_CAPS=1.506, TW_GT=0.077, TW_TK=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2C9KetibJEyR; Tue, 13 Sep 2011 23:32:46 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by menubar.gnome.org (Postfix) with ESMTP id ADE1F7500DD; Tue, 13 Sep 2011 23:32:38 +0000 (UTC) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8DNWZsd026191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 13 Sep 2011 19:32:37 -0400 Received: from [10.11.10.92] (vpn-10-92.rdu.redhat.com [10.11.10.92]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p8DMumtl004204; Tue, 13 Sep 2011 18:56:49 -0400 Subject: GTK+ 3.1.90 From: Matthias Clasen To: gnome-announce-list@gnome.org, gtk-devel-list@gnome.org, gtk-app-devel-list@gnome.org, gtk-list@gnome.org Date: Tue, 13 Sep 2011 18:56:22 -0400 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Message-ID: <1315954584.4668.13.camel@lemur> Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gtk-devel-list@gnome.org List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 23:32:50 -0000 GTK+ 3.1.90 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.1/ http://download.gnome.org/sources/gtk+/3.1/ dc65a5ec50df57cc603b30fb85e6c68be36673688babcb21d2ad6123d63c4a8b gtk +-3.1.90.tar.xz ed4e36693e8b05c75fe1a843341c032518dd9ab726d4f62d31d52ccdc800c44a gtk +-3.1.90.tar.bz2 The last development snapshot in the 3.1 cycle. Unless something major comes up, this release should be considered API-frozen for 3.2. ============ GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites. GTK+ has been designed from the ground up to support a range of languages, not only C/C++. Using GTK+ from languages such as Perl and Python (especially in combination with the Glade GUI builder) provides an effective method of rapid application development. GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties. Overview of Changes in GTK+ 3.1.90 ================================== * GtkAppChooserButton: A new function has been added that makes it possible to have the button select the default app (as opposed to the most-recently-used app). * A lot of feedback on the the tree model refactoring has been incorporated via new test cases and bug fixes * The filechooser search has been ported to tracker 0.12 and is using the tracker DBus API directly now. * The new fontchooser API has been reworked a bit to make it follow the same pattern we use else where. GtkFontChooser is now an interface that is implemented by GtkFontChooserButton, GtkFontChooserDialog and GtkFontChooserWidget (to which the original GtkFontChooser has been renamed). * Bugs fixed 514843 gtkfilechooser should be more robust to malformed URIs... 617583 Dead accents keys don't work in GTK+ applications on OSX 642706 No way to select the default entry 657353 GtkTreeModelFilter hangs when filtering 657627 new font chooser API inconsistent 658272 Port gtksearchenginetracker.c to tracker 0.11/0.12 658379 Disabled devices still added to list on startup 658398 Use of uninitialized variable reported by Valgrind 658507 better comboboxes for right to left languages 658600 Geany crashes when reopening file chooser dialog 658696 Crash when inserting a new node 658774 Regression: GtkFileChooserButtons do not expand * Translation updates: Belarusian British English French Galician Indonesian Italian Latvian Norwegian bokmål Persian Polish Portuguese Punjabi Simplified Chinese Slovenian Spanish Swedish Tamil Thanks to the contributors: Carlos Garnacho Cosimo Cecchi Behdad Esfahbod Kristian Rietveld Dan Winship John Ralls Benjamin Otte Sébastien Granjoux Murray Cumming Christian Persch Richard Hughes Federico Mena Quintero Sep 13, 2011 Matthias Clasen From johne53@tiscali.co.uk Thu Sep 15 12:56:22 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 057447501B5 for ; Thu, 15 Sep 2011 12:56:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.218 X-Spam-Level: X-Spam-Status: No, score=-2.218 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xHnLYVUcdUo8 for ; Thu, 15 Sep 2011 12:56:18 +0000 (UTC) Received: from mk-filter-2-a-1.mail.uk.tiscali.com (mk-filter-2-a-1.mail.tiscali.co.uk [212.74.100.53]) by menubar.gnome.org (Postfix) with ESMTP id 91E15750171 for ; Thu, 15 Sep 2011 12:56:08 +0000 (UTC) X-Trace: 670440554/mk-filter-2.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtoeAAj1cU5YaAIK/2dsb2JhbABDgkelBXmBUwEBBAEnExwVCRULRjkeiBACtmeGFGAEmFGMIQ X-IronPort-AV: E=Sophos;i="4.68,387,1312153200"; d="scan'208";a="670440554" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 15 Sep 2011 13:56:05 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: Date: Thu, 15 Sep 2011 13:56:05 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 12:56:22 -0000 I found out what's going wrong here. I don't quite understand why it's = going wrong but i do know where it's going wrong. Do any GTK+ devs come = onto this forum? If so, they might be able to chip in with some = information that will help to get this fixed. Although I'm a competent = programmer I'm not a GTK expert so this will probably need someone with = a better understanding of GTK+. I wouldn't want to fix the problem for = Windows, only to screw it up on the other platforms. Sorry if this gets = long-winded (which it will) but let's start by re-capping:- On 13 Sep 2011, at 11:18, John Emmas wrote: >=20 > What I did notice though is that [..] there's a problem with the = context action. In function 'gtk_drag_button_release_cb()' (gtkdnd.c) = there's a section that looks like this:- >=20 > if ((info->context->action !=3D 0) && (info->context->dest_window !=3D = NULL)) > { > gtk_drag_end (info, event->time); > gtk_drag_drop (info, event->time); > } > else > { > gtk_drag_cancel (info, GTK_DRAG_RESULT_NO_TARGET, event->time); > } >=20 > Normally, 'info->context->action' would be whatever action you'd set = it to (GDK_ACTION_MOVE / GDK_ACTION_COPY / GDK_ACTION_ASK etc). But by = the time the code reaches that point the action data seems to have = gotten lost somewhere. For a TreeView control (in gtk-win32) = 'info->context->action' is always zero. Consequently, the rest of the = process always fails and 'gtk_drag_cancel()' gets called. This is = what's aborting the drop part. >=20 I managed to find out why 'info->context->action' is always zero. It's = initialized to zero when the context first gets created (as are most of = its fields) but later, when you drag a source on top of a drop = destination, a drag event handler gets called. The actual function is = '_gtk_drag_dest_handle_event()'. At this stage, the type of event is = GDK_DRAG_MOTION. The event handler sets up a data object and callback = function for the DRAG_MOTION event:- GtkDragFindData data; data.callback =3D (event->type =3D=3D GDK_DRAG_MOTION) ? = gtk_drag_dest_motion : gtk_drag_dest_drop; Very shortly afterwards the motion callback function gets invoked. It's = this function which sets 'context->action' to whatever is appropriate = for source and destination, as well as doing various other important = things to prepare for dropping. However... for a TreeView control, the = gtk_drag_dest_motion() callback never gets called. I haven't been able = to test this in Linux (i.e. to check that it should be getting called) = but I assume it should because there's no way the rest of the process = could work if it doesn't. So why doesn't it get called in gtk-win32...? A couple of lines after = the above code, we see this call:- gtk_drag_find_widget (toplevel, &data); and it's that function which invokes the callback. Inside that = function, the relevant code looks like this:- if (!data->found && g_object_get_data (G_OBJECT (widget), = "gtk-drag-dest")) { data->found =3D data->callback (widget, data->context, data->x - x_offset - allocation_to_window_x, data->y - y_offset - allocation_to_window_y, data->time); } Initially of course, 'data->found' is zero - so as long as = 'g_object_get_data()' returns successfully, the callback function should = get invoked. Where it all goes wrong is that 'g_object_get_data() = doesn't return successfully. It returns NULL. Here's the function = that's failing:- gpointer g_object_get_data (GObject *object, const gchar *key) { GQuark quark; g_return_Val_if_fail (G_IS_OBJECT (object), NULL); g_return_Val_if_fail (key !=3D NULL, NULL); quark =3D g_quark_try_string (key); return quark ? g_datalist_id_get_data (&object->qdata, quark) : = NULL; } In gtk-win32, when 'key' =3D=3D "gtk-drag-dest" (and the drag = destination is a TreeView) 'g_datalist_id_get_data()' returns NULL. = This is where my understanding of GTK comes to a halt. Obviously = there's some kind of data list which is supposed to contain some data = relating to the quark. The quark (apparently) has a valid value but the = data isn't there. Presumably, datalists are generic containers which contain different = kinds of data in different circumstances. So I'd need to liaise with = someone who'd know what kind of data the list should contain. = Hopefully, somewhone who might be able to make a guess at why it isn't = there. Anyone know how to proceed from here...? John= From doug.blank@gmail.com Thu Sep 15 13:32:36 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 07C4475007F for ; Thu, 15 Sep 2011 13:32:36 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tba9oHeTMf4n for ; Thu, 15 Sep 2011 13:32:30 +0000 (UTC) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by menubar.gnome.org (Postfix) with ESMTP id 9FFFF75024C for ; Thu, 15 Sep 2011 13:32:21 +0000 (UTC) Received: by fxg9 with SMTP id 9so1253763fxg.27 for ; Thu, 15 Sep 2011 06:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=JTc8fZW0XBO5UF9FQ5iZ4+N4gLMqmUCPNIZZFFMNMBM=; b=lvq1XMueUDskN78CqmHF8aBXBcEXwFpFjPlIkCa5gzxOnMhVevjFCFfceriRgHxcfz h9ehCOVzBpnO+uLJIJd+AE1Rlk5sg7vgLV8QR2MW9llSZAecKqhOAiajMnxnKLaQQ6/y 2IPznM7Z3tjsT2rl/bUvHqtVwr9EpaBjUsxcc= MIME-Version: 1.0 Received: by 10.223.94.134 with SMTP id z6mr970415fam.8.1316093057223; Thu, 15 Sep 2011 06:24:17 -0700 (PDT) Received: by 10.223.88.207 with HTTP; Thu, 15 Sep 2011 06:24:17 -0700 (PDT) In-Reply-To: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> Date: Thu, 15 Sep 2011 09:24:17 -0400 Message-ID: Subject: Re: GTK TreeView control in Windows (DND issue) From: Doug Blank To: John Emmas Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 13:32:36 -0000 On Thu, Sep 15, 2011 at 8:56 AM, John Emmas wrote: > I found out what's going wrong here. =A0I don't quite understand why it's= going wrong but i do know where it's going wrong. =A0Do any GTK+ devs come= onto this forum? =A0If so, they might be able to chip in with some informa= tion that will help to get this fixed. =A0Although I'm a competent programm= er I'm not a GTK expert so this will probably need someone with a better un= derstanding of GTK+. =A0I wouldn't want to fix the problem for Windows, onl= y to screw it up on the other platforms. =A0Sorry if this gets long-winded = (which it will) but let's start by re-capping:- > > On 13 Sep 2011, at 11:18, John Emmas wrote: > > >> >> What I did notice though is that [..] there's a problem with the context= action. =A0In function 'gtk_drag_button_release_cb()' (gtkdnd.c) there's a= section that looks like this:- >> >> if ((info->context->action !=3D 0) && (info->context->dest_window !=3D N= ULL)) >> { >> =A0 =A0 =A0 =A0gtk_drag_end (info, event->time); >> =A0 =A0 =A0 =A0gtk_drag_drop (info, event->time); >> } >> else >> { >> =A0 =A0 =A0 =A0gtk_drag_cancel (info, GTK_DRAG_RESULT_NO_TARGET, event->= time); >> } >> >> Normally, 'info->context->action' would be whatever action you'd set it = to (GDK_ACTION_MOVE / GDK_ACTION_COPY / GDK_ACTION_ASK etc). =A0But by the = time the code reaches that point the action data seems to have gotten lost = somewhere. =A0For a TreeView control (in gtk-win32) =A0'info->context->acti= on' is always zero. =A0Consequently, the rest of the process always fails a= nd 'gtk_drag_cancel()' gets called. =A0 This is what's aborting the drop pa= rt. >> > > I managed to find out why 'info->context->action' is always zero. =A0It's= initialized to zero when the context first gets created (as are most of it= s fields) but later, when you drag a source on top of a drop destination, a= drag event handler gets called. =A0The actual function is '_gtk_drag_dest_= handle_event()'. =A0At this stage, the type of event is GDK_DRAG_MOTION. = =A0The event handler sets up a data object and callback function for the DR= AG_MOTION event:- > > GtkDragFindData data; > data.callback =3D (event->type =3D=3D GDK_DRAG_MOTION) ? gtk_drag_dest_mo= tion : gtk_drag_dest_drop; > > Very shortly afterwards the motion callback function gets invoked. =A0It'= s this function which sets 'context->action' to whatever is appropriate for= source and destination, as well as doing various other important things to= prepare for dropping. =A0However... =A0for a TreeView control, the gtk_dra= g_dest_motion() callback never gets called. =A0I haven't been able to test = this in Linux (i.e. to check that it should be getting called) but I assume= it should because there's no way the rest of the process could work if it = doesn't. > > So why doesn't it get called in gtk-win32...? =A0A couple of lines after = the above code, we see this call:- > > gtk_drag_find_widget (toplevel, &data); > > and it's that function which invokes the callback. =A0Inside that functio= n, the relevant code looks like this:- > > if (!data->found && g_object_get_data (G_OBJECT (widget), "gtk-drag-dest"= )) > { > =A0 =A0 =A0data->found =3D data->callback (widget, data->context, > =A0 =A0 =A0 =A0 =A0 =A0data->x - x_offset - allocation_to_window_x, > =A0 =A0 =A0 =A0 =A0 =A0data->y - y_offset - allocation_to_window_y, data-= >time); > } > > Initially of course, 'data->found' is zero - so as long as 'g_object_get_= data()' returns successfully, the callback function should get invoked. =A0= Where it all goes wrong is that 'g_object_get_data() doesn't return success= fully. =A0It returns NULL. =A0Here's the function that's failing:- > > gpointer > g_object_get_data (GObject *object, const gchar *key) > { > GQuark quark; > > =A0 =A0 =A0g_return_Val_if_fail (G_IS_OBJECT (object), NULL); > =A0 =A0 =A0g_return_Val_if_fail (key !=3D NULL, NULL); > > =A0 =A0 =A0quark =3D g_quark_try_string (key); > > =A0 =A0 =A0return quark ? g_datalist_id_get_data (&object->qdata, quark) = : NULL; > } > > In gtk-win32, when 'key' =3D=3D "gtk-drag-dest" (and the drag destination= is a TreeView) 'g_datalist_id_get_data()' returns NULL. =A0This is where m= y understanding of GTK comes to a halt. =A0Obviously there's some kind of d= ata list which is supposed to contain some data relating to the quark. =A0T= he quark (apparently) has a valid value but the data isn't there. > > Presumably, datalists are generic containers which contain different kind= s of data in different circumstances. =A0So I'd need to liaise with someone= who'd know what kind of data the list should contain. =A0Hopefully, somewh= one who might be able to make a guess at why it isn't there. =A0Anyone know= how to proceed from here...? Unless someone knowledgeable steps up, it appears that one way forward is to run the code on a system that works (eg, Linux. In my tests under Gtk#, Mac has either the same problem, or a similar one). Perhaps you can make some code available with appropriate logging/print info, and someone can run it under Linux to collect the data, and then we can analyze it. I'd be glad to run some test code, or even make a Linux computer available to a tester. -Doug > John > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-list > From ali@avrc.city.ac.uk Thu Sep 15 13:39:40 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 5E8A27501AB for ; Thu, 15 Sep 2011 13:39:40 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.523 X-Spam-Level: X-Spam-Status: No, score=-2.523 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QZwV5feTADrJ for ; Thu, 15 Sep 2011 13:39:35 +0000 (UTC) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by menubar.gnome.org (Postfix) with ESMTP id 4980975007F for ; Thu, 15 Sep 2011 13:39:35 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id D8ACF292BC; Thu, 15 Sep 2011 09:39:33 -0400 (EDT) Received: from web1.messagingengine.com ([10.202.2.211]) by compute3.internal (MEProxy); Thu, 15 Sep 2011 09:39:33 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=Hd4TWsbkaWE5ZCteMhQcnWZybhc=; b=KsSrpShG2pG3hUmsfURJWgVVWRSO pwDqgmKeUNj1Fyh9pMacBhfS1p1CzmUxoAUb/Okzj6sw3GYHwtW4Mp0NdTcf805v WW22xeYj+h5qoGUwT5JOguFAsPZbRERmMfM93n7HqJIN+XkclYsReyi/47ikHxGw jfF8yC9CXCBgWYo= Received: by web1.messagingengine.com (Postfix, from userid 99) id B55F9A22342; Thu, 15 Sep 2011 09:39:33 -0400 (EDT) Message-Id: <1316093973.31444.140258141484561@webmail.messagingengine.com> X-Sasl-Enc: 8QBDMS+Lcwn5Qg6ovS73eqaL0gJRKwU7C/W3BPd5f761 1316093973 From: "J. Ali Harlow" To: "John Emmas" , gtk-list@gnome.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface Subject: Re: GTK TreeView control in Windows (DND issue) Date: Thu, 15 Sep 2011 14:39:33 +0100 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 13:39:40 -0000 On Thursday, September 15, 2011 1:56 PM, "John Emmas" wrote: > In gtk-win32, when 'key' == "gtk-drag-dest" (and the drag destination is > a TreeView) 'g_datalist_id_get_data()' returns NULL. This is where my > understanding of GTK comes to a halt. Obviously there's some kind of > data list which is supposed to contain some data relating to the quark. > The quark (apparently) has a valid value but the data isn't there. > > Presumably, datalists are generic containers which contain different > kinds of data in different circumstances. So I'd need to liaise with > someone who'd know what kind of data the list should contain. Hopefully, > somewhone who might be able to make a guess at why it isn't there. > Anyone know how to proceed from here...? As you say, this is a generic setting. More precisely, it's just a way to associate a particular memory address with a GObject and a key for later retrieval. I'd search the code for "gtk-drag-dest" and in particular for the matching g_object_set_data() call... Ali. From yeti@physics.muni.cz Thu Sep 15 13:52:28 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 83211750773 for ; Thu, 15 Sep 2011 13:52:28 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.627 X-Spam-Level: X-Spam-Status: No, score=-4.627 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mvwmPF58ag46 for ; Thu, 15 Sep 2011 13:52:22 +0000 (UTC) X-Greylist: delayed 1195 seconds by postgrey-1.32 at menubar.gnome.org; Thu, 15 Sep 2011 13:52:22 UTC Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by menubar.gnome.org (Postfix) with ESMTP id 778DA75037C for ; Thu, 15 Sep 2011 13:52:22 +0000 (UTC) Received: from monoceros.physics.muni.cz (postfix@monoceros.physics.muni.cz [147.251.27.2]) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id p8FDWGbq022469; Thu, 15 Sep 2011 15:32:17 +0200 Received: by monoceros.physics.muni.cz (Postfix, from userid 16809) id 446C6C1B830; Thu, 15 Sep 2011 15:32:16 +0200 (CEST) Date: Thu, 15 Sep 2011 15:32:16 +0200 From: David =?utf-8?B?TmXEjWFz?= To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) Message-ID: <20110915133216.GD5757@physics.muni.cz> References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) X-Muni-Spam-TestIP: 147.251.27.2 X-Muni-Envelope-From: yeti@physics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Thu, 15 Sep 2011 15:32:17 +0200 (CEST) Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 13:52:28 -0000 On Thu, Sep 15, 2011 at 01:56:05PM +0100, John Emmas wrote: > ... > gtk_drag_find_widget (toplevel, &data); > > and it's that function which invokes the callback. Inside that function, the relevant code looks like this:- > > if (!data->found && g_object_get_data (G_OBJECT (widget), "gtk-drag-dest")) > { > data->found = data->callback (widget, data->context, > data->x - x_offset - allocation_to_window_x, > data->y - y_offset - allocation_to_window_y, data->time); > } > > Initially of course, 'data->found' is zero - so as long as > 'g_object_get_data()' returns successfully, the callback function > should get invoked. Where it all goes wrong is that > 'g_object_get_data() doesn't return successfully. It returns NULL. > Here's the function that's failing:- > > ... > > In gtk-win32, when 'key' == "gtk-drag-dest" (and the drag destination > is a TreeView) 'g_datalist_id_get_data()' returns NULL. This is where > my understanding of GTK comes to a halt. This datalist stuff is just the underlying mechanism of g_object_set_data()/g_object_get_data() that allows attaching arbitrary data to an object, while identifying the data by a string (quark). It is often used to attach ad-hoc auxiliary data to widgets and other objects in applications, occasionaly also within the libraries themselves. It might contain some very obscure bug but, generally, since so many things depend on it I would assume this mechanism works. Then g_object_get_data() returns NULL simply because nothing has the data identified as "gtk-drag-dest" is not attached to ‘widget’. So IMO you need to go one level up and look at what ‘widget’ is and why it does not have any "gtk-drag-dest" data. AFAIK the data can be attached by gtk_drag_dest_set() or gtk_drag_dest_set_proxy() and in case of a treeview this should happen, quite straightforwardly, if you call gtk_tree_view_enable_model_drag_dest(). So either "gtk-drag-dest" data fails to be set, gets unset somehow (cannot see how) or the code above looks for it in the wrong widget. You check see whether the data is attached to an object any time by inserting g_object_get_data() calls wherever you suspect things may go wrong. Also try printing the widget pointers and compare as they are the ultimate unique identifiers (as long as the widgets are not destroyed and the memory reused). Hope it helps, Yeti From johne53@tiscali.co.uk Thu Sep 15 17:15:45 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6B8BD75007E for ; Thu, 15 Sep 2011 17:15:45 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.294 X-Spam-Level: X-Spam-Status: No, score=-2.294 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hfyeH+mDlBtM for ; Thu, 15 Sep 2011 17:15:42 +0000 (UTC) Received: from mk-filter-1-a-1.mail.uk.tiscali.com (mk-filter-1-a-1.mail.tiscali.co.uk [212.74.100.52]) by menubar.gnome.org (Postfix) with ESMTP id CECD6750070 for ; Thu, 15 Sep 2011 17:15:33 +0000 (UTC) X-Trace: 673952025/mk-filter-1.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjgHADcyck5YaAIK/2dsb2JhbABChFWUQY5AeYFTAQEEASMzMwsaAiYCAjkeiBACpFWRYoEshDcxYASYUYwh X-IronPort-AV: E=Sophos;i="4.68,388,1312153200"; d="scan'208";a="673952025" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO mac-mini.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 15 Sep 2011 18:15:30 +0100 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <20110915133216.GD5757@physics.muni.cz> Date: Thu, 15 Sep 2011 18:15:30 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 17:15:45 -0000 Thanks for the prompt help with this, guys. I took a look at David's = suggestion.... On 15 Sep 2011, at 14:32, David Ne=C4=8Das wrote: >=20 > So IMO you need to go one level up and look at what =E2=80=98widget=E2=80= =99 is and why > it does not have any "gtk-drag-dest" data. AFAIK the data can be > attached by gtk_drag_dest_set() or gtk_drag_dest_set_proxy() and in = case > of a treeview this should happen, quite straightforwardly, if you call > gtk_tree_view_enable_model_drag_dest(). >=20 > So either "gtk-drag-dest" data fails to be set, gets unset somehow > (cannot see how) or the code above looks for it in the wrong widget. >=20 What I found was that the "gtk-drag-dest" data was being correctly set = for the drop target. You can check this by doing the following:- 1) Find (your_gtk_source_modules)/gtk/gtkdnd.c 2) Find the function called 'gtk_drag_dest_set_internal()' 3) After the call to 'g_return_if_fail()' place this line:- printf ("Widget originally set as drag_dest target was 0x%p\n", = widget); This prints out an address for the widget being set as the drop target. = This is (correctly AFAICT) the address of a TreeView control. Now, to = check which widget is actually being tested:- 1) Find (your_glib_source_modules)/gobject/gobject.c 2) Find the function 'g_object_get_data()' 3) After the calls to 'g_return_val_if_fail()' place these 2 lines:- if (0 =3D=3D strcmp (key, "gtk-drag-dest")) printf ("Widget being tested is 0x%p\n", object); Test this with a DnD scenario that works (I can supply some sample code = if needed) but what happens is that whenever you drag a drag_source over = any window you'll see 'g_object_get_data()' getting called for each = window. When you eventually drag it over the drop target you'll see the = drop target's address (as originally set during = 'gtk_drag_dest_set_internal()'). Now build the toolkit's own treeview sample. If you click and drag a = treeview row, notice that you keep getting the same address getting = printed - but this ISN'T the address that was originally set up as the = drag target. So that's what's wrong. I don't yet know which widget the address = actually refers to and don't have any more time to look into this today = but I'll resume again in a few days if no-one's come up with a possible = explanation by then. Regards. John= From yeti@physics.muni.cz Thu Sep 15 17:36:10 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 14F14750096 for ; Thu, 15 Sep 2011 17:36:10 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.704 X-Spam-Level: X-Spam-Status: No, score=-4.704 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ft3q2U61ySBq for ; Thu, 15 Sep 2011 17:36:06 +0000 (UTC) Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by menubar.gnome.org (Postfix) with ESMTP id 828A7750070 for ; Thu, 15 Sep 2011 17:35:58 +0000 (UTC) Received: from monoceros.physics.muni.cz (postfix@monoceros.physics.muni.cz [147.251.27.2]) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id p8FHZsX1031415; Thu, 15 Sep 2011 19:35:55 +0200 Received: by monoceros.physics.muni.cz (Postfix, from userid 16809) id AADE5C1B830; Thu, 15 Sep 2011 19:35:54 +0200 (CEST) Date: Thu, 15 Sep 2011 19:35:54 +0200 From: David =?utf-8?B?TmXEjWFz?= To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) Message-ID: <20110915173554.GF5757@physics.muni.cz> References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Muni-Spam-TestIP: 147.251.27.2 X-Muni-Envelope-From: yeti@physics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Thu, 15 Sep 2011 19:35:56 +0200 (CEST) Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 17:36:10 -0000 On Thu, Sep 15, 2011 at 06:15:30PM +0100, John Emmas wrote: > > What I found was that the "gtk-drag-dest" data was being correctly set for the drop target. You can check this by doing the following:- > ... Could you please post the debugging code in the form of a patch so that others can easily and precisely reproduce it? > Now build the toolkit's own treeview sample. If you click and drag a > treeview row, notice that you keep getting the same address getting > printed - but this ISN'T the address that was originally set up as the > drag target. > > So that's what's wrong. I don't yet know which widget the address > actually refers to and don't have any more time to look into this > today but I'll resume again in a few days if no-one's come up with a > possible explanation by then. Regards. Using functions such as gtk_widget_class_path() and gtk_widget_path() it should be relatively easy to figure out which widget it is. Regards, Yeti From johne53@tiscali.co.uk Thu Sep 15 18:43:22 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D85C975012B for ; Thu, 15 Sep 2011 18:43:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.14 X-Spam-Level: X-Spam-Status: No, score=-2.14 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_BG=0.077, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NPh9-9kKktmV for ; Thu, 15 Sep 2011 18:43:18 +0000 (UTC) Received: from mk-filter-4-a-1.mail.uk.tiscali.com (mk-filter-4-a-1.mail.tiscali.co.uk [212.74.100.55]) by menubar.gnome.org (Postfix) with ESMTP id 344FE7500C4 for ; Thu, 15 Sep 2011 18:43:09 +0000 (UTC) X-Trace: 664101286/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AioJAD1Gck5YaAIK/2dsb2JhbABDgkeCDqMBeYFTAQEEASMELzMLQgICOR6IEAKlJ5FohWMxYASYUYwh X-IronPort-AV: E=Sophos;i="4.68,388,1312153200"; d="scan'208,217";a="664101286" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 15 Sep 2011 19:43:04 +0100 From: John Emmas Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-1-650050783 Subject: Re: GTK TreeView control in Windows (DND issue) Date: Thu, 15 Sep 2011 19:43:03 +0100 In-Reply-To: <20110915173554.GF5757@physics.muni.cz> To: gtk-list@gnome.org References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> Message-Id: <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 18:43:23 -0000 --Apple-Mail-1-650050783 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 15 Sep 2011, at 18:35, David Ne=C4=8Das wrote: >=20 > Could you please post the debugging code in the form of a patch so = that > others can easily and precisely reproduce it? >=20 That's not quite as simple as I'd hope because I'm not using a version = control system (at the moment). However, the 2 functions are very small = so here they are in their entirety. First the code for libgtk = (gtk/gtkdnd.c):- static void gtk_drag_dest_set_internal (GtkWidget *widget, GtkDragDestSite *site) { GtkDragDestSite *old_site; =20 g_return_if_fail (widget !=3D NULL); /* This is my addition */ printf ("Widget originally set as drag_dest = target was 0x%p\n", widget); /* HACK, do this in the destroy */ old_site =3D g_object_get_data (G_OBJECT (widget), "gtk-drag-dest"); if (old_site) { g_signal_handlers_disconnect_by_func (widget, gtk_drag_dest_realized, old_site); g_signal_handlers_disconnect_by_func (widget, = gtk_drag_dest_hierarchy_changed, old_site); site->track_motion =3D old_site->track_motion; } if (gtk_widget_get_realized (widget)) gtk_drag_dest_realized (widget); g_signal_connect (widget, "realize", G_CALLBACK (gtk_drag_dest_realized), site); g_signal_connect (widget, "hierarchy-changed", G_CALLBACK (gtk_drag_dest_hierarchy_changed), site); g_object_set_data_full (G_OBJECT (widget), I_("gtk-drag-dest"), site, gtk_drag_dest_site_destroy); } The only thing to be careful of is that you don't look in gdkdnd.c = instead of gtkdnd.c Next, the code for libglib (gobject/gobject.c):- gpointer g_object_get_data (GObject *object, const gchar *key) { GQuark quark; g_return_val_if_fail (G_IS_OBJECT (object), NULL); g_return_val_if_fail (key !=3D NULL, NULL); if (0 =3D=3D strcmp (key, "gtk-drag-dest")) /* These 2 lines are my = addition */ printf ("Widget being tested is 0x%p\n", object); quark =3D g_quark_try_string (key); return quark ? g_datalist_id_get_data (&object->qdata, quark) : NULL; } On 15 Sep 2011, at 18:35, David Ne=C4=8Das wrote: >=20 > Using functions such as gtk_widget_class_path() and gtk_widget_path() = it > should be relatively easy to figure out which widget it is. >=20 That'd be a great step forward..! Regards, John= --Apple-Mail-1-650050783 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

Could you please post the debugging code in the = form of a patch so that
others can easily and precisely reproduce = it?

That's not quite as simple as I'd hope = because I'm not using a version control system (at the moment). =  However, the 2 functions are very small so here they are in their = entirety.  First the code for libgtk = (gtk/gtkdnd.c):-

static = void
gtk_drag_dest_set_internal (GtkWidget     =   *widget,
  =  GtkDragDestSite *site)
{
  = GtkDragDestSite *old_site;
  
  = g_return_if_fail (widget !=3D NULL);

/* This is = my addition */ printf ("Widget originally set as drag_dest target was = 0x%p\n", widget);

  /* HACK, do this in = the destroy */
  old_site =3D g_object_get_data (G_OBJECT = (widget), "gtk-drag-dest");
  if = (old_site)
    {
      = g_signal_handlers_disconnect_by_func (widget,
=    gtk_drag_dest_realized,
=    old_site);
      = g_signal_handlers_disconnect_by_func (widget,
=   =  gtk_drag_dest_hierarchy_changed,
=    old_site);

  =     site->track_motion =3D = old_site->track_motion;
    = }

  if (gtk_widget_get_realized = (widget))
    gtk_drag_dest_realized = (widget);

  g_signal_connect (widget, = "realize",
   G_CALLBACK = (gtk_drag_dest_realized), site);
  g_signal_connect = (widget, "hierarchy-changed",
   G_CALLBACK = (gtk_drag_dest_hierarchy_changed), = site);

  g_object_set_data_full (G_OBJECT = (widget), I_("gtk-drag-dest"),
 site, = gtk_drag_dest_site_destroy);
}

The only = thing to be careful of is that you don't look in gdkdnd.c instead of = gtkdnd.c  Next, the code for libglib = (gobject/gobject.c):-

gpointer
g_o= bject_get_data (GObject     *object,
    =                const gchar = *key)
{
  GQuark = quark;

  g_return_val_if_fail (G_IS_OBJECT = (object), NULL);
  g_return_val_if_fail (key !=3D NULL, = NULL);

  if (0 =3D=3D strcmp (key, = "gtk-drag-dest")) /* These 2 lines are my addition */
  =   printf ("Widget being tested is 0x%p\n", = object);

  quark =3D = g_quark_try_string (key);

  return quark ? = g_datalist_id_get_data (&object->qdata, quark) : = NULL;
}


On 15 Sep = 2011, at 18:35, David Ne=C4=8Das = wrote:


Using functions = such as gtk_widget_class_path() and gtk_widget_path() it
should be = relatively easy to figure out which widget it = is.

That'd be a great step forward..! =  Regards,

John
= --Apple-Mail-1-650050783-- From johne53@tiscali.co.uk Thu Sep 15 18:52:02 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id EAB8575012B for ; Thu, 15 Sep 2011 18:52:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.295 X-Spam-Level: X-Spam-Status: No, score=-2.295 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pfeo9FdQrQQz for ; Thu, 15 Sep 2011 18:52:00 +0000 (UTC) Received: from mk-filter-3-a-1.mail.uk.tiscali.com (mk-filter-3-a-1.mail.tiscali.co.uk [212.74.100.54]) by menubar.gnome.org (Postfix) with ESMTP id D447A7500C4 for ; Thu, 15 Sep 2011 18:51:51 +0000 (UTC) X-Trace: 670735552/mk-filter-3.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiQNANxIck5YaAIK/2dsb2JhbABDgkeWT45AeYFTAQEFOhwzC0Y5HogStwuGFGAEmFGMIQ X-IronPort-AV: E=Sophos;i="4.68,388,1312153200"; d="scan'208";a="670735552" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 15 Sep 2011 19:51:49 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> Date: Thu, 15 Sep 2011 19:51:47 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 18:52:02 -0000 P.S. - what'd be really interesting would be to see what gets printed on = Linux. Unfortunately, I can't do this locally because on Linux, I'm = using pre-built binaries. However, someone else might be able to look = at that. John= From yeti@physics.muni.cz Thu Sep 15 19:04:56 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 352FB7500C4 for ; Thu, 15 Sep 2011 19:04:56 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.704 X-Spam-Level: X-Spam-Status: No, score=-4.704 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4jJD5NS-b0EY for ; Thu, 15 Sep 2011 19:04:54 +0000 (UTC) Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by menubar.gnome.org (Postfix) with ESMTP id 23E4475002F for ; Thu, 15 Sep 2011 19:04:45 +0000 (UTC) Received: from monoceros.physics.muni.cz (postfix@monoceros.physics.muni.cz [147.251.27.2]) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id p8FJ4f5u024497; Thu, 15 Sep 2011 21:04:43 +0200 Received: by monoceros.physics.muni.cz (Postfix, from userid 16809) id E50AFC1B830; Thu, 15 Sep 2011 21:04:41 +0200 (CEST) Date: Thu, 15 Sep 2011 21:04:41 +0200 From: David =?utf-8?B?TmXEjWFz?= To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) Message-ID: <20110915190441.GG5757@physics.muni.cz> References: <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Muni-Spam-TestIP: 147.251.27.2 X-Muni-Envelope-From: yeti@physics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Thu, 15 Sep 2011 21:04:43 +0200 (CEST) Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 19:04:56 -0000 On Thu, Sep 15, 2011 at 07:51:47PM +0100, John Emmas wrote: > P.S. - what'd be really interesting would be to see what gets printed on Linux. Unfortunately, I can't do this locally because on Linux, I'm using pre-built binaries. However, someone else might be able to look at that. I can do this as I am in the opposite situation (having Gtk+ built from source on Linux but only pre-built Win32 binaries – and also no real MS Windows, just Wine). Do you want me to use a specific Gtk+ version? Yeti From johne53@tiscali.co.uk Thu Sep 15 19:17:06 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id ABE7C75006A for ; Thu, 15 Sep 2011 19:17:06 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.294 X-Spam-Level: X-Spam-Status: No, score=-2.294 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eyNcbp30MFh9 for ; Thu, 15 Sep 2011 19:17:03 +0000 (UTC) Received: from mk-filter-1-a-1.mail.uk.tiscali.com (mk-filter-1-a-1.mail.tiscali.co.uk [212.74.100.52]) by menubar.gnome.org (Postfix) with ESMTP id 9342775002F for ; Thu, 15 Sep 2011 19:16:55 +0000 (UTC) X-Trace: 673998932/mk-filter-1.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AigNAHhOck5YaAIK/2dsb2JhbABCgkeCDpRBjkB5gVMBAQQBIzMzCxoCJgICOR6IEAKlHZFogSyENzFgBJhRjCE X-IronPort-AV: E=Sophos;i="4.68,388,1312153200"; d="scan'208";a="673998932" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 15 Sep 2011 20:16:51 +0100 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <20110915190441.GG5757@physics.muni.cz> Date: Thu, 15 Sep 2011 20:16:50 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> References: <209a1bd38ef064508e2b01fe791c6740@mail.webfaction.com> <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 19:17:06 -0000 On 15 Sep 2011, at 20:04, David Ne=C4=8Das wrote: >=20 > I can do this as I am in the opposite situation (having Gtk+ built = from > source on Linux but only pre-built Win32 binaries =E2=80=93 and also = no real MS > Windows, just Wine). Do you want me to use a specific Gtk+ version? >=20 Okay - not sure how far you'll be able to get with only pre-built Wine = binaries. I suppose you could at least let us know whether the pointer = addresses on Linux look sensible though (the first printout to appear = should be the correct address). FWIW Im using gtk+-2.20.0 and = glib-2.24.0 but from what people have said, the problem is evident in = all recent versions. Thanks and good luck! John= From yeti@physics.muni.cz Thu Sep 15 20:08:18 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id DA5CF75007E for ; Thu, 15 Sep 2011 20:08:18 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.627 X-Spam-Level: X-Spam-Status: No, score=-4.627 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504, TW_XC=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oIdwi69m66Eo for ; Thu, 15 Sep 2011 20:08:16 +0000 (UTC) Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by menubar.gnome.org (Postfix) with ESMTP id 0C363750070 for ; Thu, 15 Sep 2011 20:08:07 +0000 (UTC) Received: from monoceros.physics.muni.cz (postfix@monoceros.physics.muni.cz [147.251.27.2]) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id p8FK83bi011136 for ; Thu, 15 Sep 2011 22:08:04 +0200 Received: by monoceros.physics.muni.cz (Postfix, from userid 16809) id 6E566C1B830; Thu, 15 Sep 2011 22:08:03 +0200 (CEST) Date: Thu, 15 Sep 2011 22:08:03 +0200 From: David =?utf-8?B?TmXEjWFz?= To: gtk-list@gnome.org Subject: Re: GTK TreeView control in Windows (DND issue) Message-ID: <20110915200803.GH5757@physics.muni.cz> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) X-Muni-Spam-TestIP: 147.251.27.2 X-Muni-Envelope-From: yeti@physics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Thu, 15 Sep 2011 22:08:05 +0200 (CEST) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 20:08:19 -0000 On Thu, Sep 15, 2011 at 08:16:50PM +0100, John Emmas wrote: > Okay - not sure how far you'll be able to get with only pre-built Wine > binaries. I suppose you could at least let us know whether the > pointer addresses on Linux look sensible though (the first printout to > appear should be the correct address). I added a widget path and object type information to your messages and the output from working testtreecolumns on Linux then looks like this (the various other widgets appeared while dragging over the window towards the treeview): Widget originally set as drag_dest target was 0x0xcb8c80, path GtkWindow.GtkVBox.GtkHBox.GtkScrolledWindow.GtkTreeView Widget being tested is 0x0xcb8c80 on object GtkTreeView Widget originally set as drag_dest target was 0x0xcb8660, path GtkWindow.GtkVBox.GtkHBox.GtkVBox.GtkScrolledWindow.GtkTreeView Widget being tested is 0x0xcb8660 on object GtkTreeView Widget originally set as drag_dest target was 0x0xcb8970, path GtkWindow.GtkVBox.GtkHBox.GtkVBox.GtkScrolledWindow.GtkTreeView Widget being tested is 0x0xca2160 on object GtkHBox Widget being tested is 0x0xca20d0 on object GtkVBox Widget being tested is 0x0xcdb3f0 on object GtkWindow Widget being tested is 0x0xcb8c80 on object GtkTreeView Widget being tested is 0x0xcee020 on object GtkVButtonBox Widget being tested is 0x0xca2310 on object GtkVBox Widget being tested is 0x0xca2160 on object GtkHBox Widget being tested is 0x0xca20d0 on object GtkVBox Widget being tested is 0x0xcdb3f0 on object GtkWindow Widget being tested is 0x0xce33d0 on object GtkButton Widget being tested is 0x0xcee020 on object GtkVButtonBox Widget being tested is 0x0xcb8970 on object GtkTreeView Widget being tested is 0x0xcb8c80 on object GtkTreeView Widget being tested is 0x0xcb8c80 on object GtkTreeView Widget being tested is 0x0xcb8c80 on object GtkTreeView Widget being tested is 0x0xcb8c80 on object GtkTreeView Widget being tested is 0x0xcb8660 on object GtkTreeView Widget being tested is 0x0xcb8660 on object GtkTreeView Widget being tested is 0x0xcb8660 on object GtkTreeView ... The same line also appears after finally dropping the row. Unfortunately the widget path cannot be obtained from within GLib but at least the object name (printed with G_OBJECT_TYPE_NAME()) should tell us something. Yeti From johne53@tiscali.co.uk Thu Sep 15 20:23:58 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id ABCD0750096 for ; Thu, 15 Sep 2011 20:23:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.294 X-Spam-Level: X-Spam-Status: No, score=-2.294 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ywrmB6eWxZNY for ; Thu, 15 Sep 2011 20:23:55 +0000 (UTC) Received: from mk-filter-1-a-1.mail.uk.tiscali.com (mk-filter-1-a-1.mail.tiscali.co.uk [212.74.100.52]) by menubar.gnome.org (Postfix) with ESMTP id 23C0675006A for ; Thu, 15 Sep 2011 20:23:46 +0000 (UTC) X-Trace: 674023083/mk-filter-1.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiQNAJxdck5YaAIK/2dsb2JhbABDgkeWT45AeYFTAQEFOhwzC0Y5EAENiBK2VIYUYASYUYwh X-IronPort-AV: E=Sophos;i="4.68,389,1312153200"; d="scan'208";a="674023083" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 15 Sep 2011 21:23:44 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <20110915200803.GH5757@physics.muni.cz> Date: Thu, 15 Sep 2011 21:23:43 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <7C09F7BA-D974-464D-917B-9616E0257EA9@tiscali.co.uk> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 20:23:58 -0000 Thanks for that, Yeti. That output is very much like the output I see = on Windows when using non-treeview DnD sources. Unfortunately I've got an early start at work tomorrow so it probably = won't be until Saturday when I get a chance to try that in my Windows = build. I'll let you know what I find though. John= From pcjc2@cam.ac.uk Thu Sep 15 23:56:09 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A42ED750096 for ; Thu, 15 Sep 2011 23:56:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.627 X-Spam-Level: X-Spam-Status: No, score=-4.627 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g+ElAgdeY-aB for ; Thu, 15 Sep 2011 23:56:06 +0000 (UTC) X-Greylist: delayed 972 seconds by postgrey-1.32 at menubar.gnome.org; Thu, 15 Sep 2011 23:56:06 UTC Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141]) by menubar.gnome.org (Postfix) with ESMTP id 4607475008A for ; Thu, 15 Sep 2011 23:55:57 +0000 (UTC) X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from client-86-25-14-250.oxfd.adsl.virginmedia.com ([86.25.14.250]:25558 helo=[192.168.1.3]) by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:465) with esmtpsa (LOGIN:pcjc2) (SSLv3:DHE-RSA-CAMELLIA256-SHA:256) id 1R4LWx-0000Uy-RM (Exim 4.72) (return-path ); Fri, 16 Sep 2011 00:39:43 +0100 Subject: Re: GTK TreeView control in Windows (DND issue) From: Peter Clifton To: John Emmas Date: Fri, 16 Sep 2011 00:39:40 +0100 In-Reply-To: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> References: <345652F2-4DCD-4114-8934-F798C13D6C24@tiscali.co.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-nFBQys1bC5/0TllI+81H" X-Mailer: Evolution 3.1.91- Message-ID: <1316129983.26334.3.camel@localhost> Mime-Version: 1.0 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2011 23:56:09 -0000 --=-nFBQys1bC5/0TllI+81H Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2011-09-13 at 09:14 +0100, John Emmas wrote: > I was thinking of setting aside some time to investigate this but then > I noticed that gtk is now up to version 2.24. I just wondered if the > problem is fixed in 2.24 - or if anyone else knows about this problem > or is already working on it? Thanks. >=20 > John I've got a series of patches I've been testing against Gtk 2.24, and am in the process of fixing and getting up-streamed. There is a patch or two in there which relates to grabs - and I'm _guessing_ grabs may be very relevant to the DND code. There is still some issue with menus (implying grabs) misbehaving when GDK_NATIVE_WINDOWS=3D1 set, so they aren't completely cooked yet! I've stuck the patches here temporarily.. www.clifton-electronics.com/tmp/gtk_win32_patches.tar.gz If they help - please let me know! --=20 Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) --=-nFBQys1bC5/0TllI+81H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJOcoy8AAoJEOo4D/b1x+QVfG4IAIIMGqKO1rwx7Bbi7kNDhfVm Mvev0vvzAQzewWkC68WeO0BntLJKQs2EW24tJClaJcTzlfhLExmFEjQSpDPEewod H+FLmf0bejh6CY0gLz62MTeWC4l6X7f+/W9eI4eRs2Mncjd/IffjfCHN9zyWx2le p9cXXzbQSPDxs1Dqit0pOmD0Eyl7f9OhN/VVay4Acf8y5QC9D+HLmPNkbLrJ2T4r 9ltudkFlofLZg0SpJAUYRWXS37uc5TlPX6RCE+5h3QxjxeMkYC3IOmk9wfaOoqrx IrocdPwb3sj0jfOO68va8kIc2Inbd98fv4xIz7z3QGaC+nz4IVfNvEQdCWPsxX4= =gjGH -----END PGP SIGNATURE----- --=-nFBQys1bC5/0TllI+81H-- From dshbusiness@gmail.com Fri Sep 16 06:30:41 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id EFC4F7500FF for ; Fri, 16 Sep 2011 06:30:40 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.622 X-Spam-Level: X-Spam-Status: No, score=-2.622 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m7B+A24qgb1O for ; Fri, 16 Sep 2011 06:30:39 +0000 (UTC) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by menubar.gnome.org (Postfix) with ESMTP id 018567500AC for ; Fri, 16 Sep 2011 06:30:30 +0000 (UTC) Received: by yxk36 with SMTP id 36so4247183yxk.27 for ; Thu, 15 Sep 2011 23:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=ljD77tFJ+Q0VcYLGv77Co3XM3TFHBcEPAgEI6khMA5I=; b=loskq6mkjEBxK5fTlUbS6z7xkU9+hHzEdWaVMJMs1ku9I8DJNh3Vk7rg0QbtR/jWyS LbauztEGIwDPl3P2pj7PH8R/WxZkpVpwrb2dS8pP/SDPb5LUWovFk76ebop3nWNoZ9ki Bb/PBzrSYUB48YL4vnxA6PlQKoYdBRKWhvfzE= MIME-Version: 1.0 Received: by 10.236.191.101 with SMTP id f65mr12318526yhn.61.1316154629279; Thu, 15 Sep 2011 23:30:29 -0700 (PDT) Received: by 10.146.167.3 with HTTP; Thu, 15 Sep 2011 23:30:29 -0700 (PDT) Date: Fri, 16 Sep 2011 14:30:29 +0800 Message-ID: Subject: How to find out a function is contained in which header file? From: =?GB2312?B?tqHJ2bri?= To: gtk-list Content-Type: multipart/alternative; boundary=20cf30434baa25cf5304ad0921e3 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dshbusiness@gmail.com List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2011 06:30:41 -0000 --20cf30434baa25cf5304ad0921e3 Content-Type: text/plain; charset=ISO-8859-1 Now, I'm trying to use some gtk(or gtk related) functions. I can find their description in the document on devhelp. But I could not find which header file I should include in my source code, and what CFLAGS should I specify. For example, the function about gconf system-- gconf_client_get_default() Please don't tell me search on the google. I know how to search that. But I think the document should contain the information about that. It was probably my fault--I do not konw how to find it. So, any help? Many thanks! dingshaoheng --20cf30434baa25cf5304ad0921e3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Now, I'm trying to use some gtk(or gtk related) functions. I can find t= heir description in the document on devhelp. But I could not find which hea= der file I should include in my source code, and what CFLAGS should I speci= fy.
For example, the function about gconf system-- gconf_client_get_default()Please don't tell me search on the google. I know how to search that.= But I think the document should contain the information about that. It was= probably my fault--I do not konw how to find it. So, any help? Many thanks= !

dingshaoheng
--20cf30434baa25cf5304ad0921e3-- From ingo@alpha-toggo.eoa.de Fri Sep 16 06:43:58 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4562D7500FF for ; Fri, 16 Sep 2011 06:43:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.911 X-Spam-Level: X-Spam-Status: No, score=-0.911 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sEdtojwP7fuF for ; Fri, 16 Sep 2011 06:43:55 +0000 (UTC) X-Greylist: delayed 399 seconds by postgrey-1.32 at menubar.gnome.org; Fri, 16 Sep 2011 06:43:55 UTC Received: from mail02do.versatel.de (mail02do.versatel.de [89.245.129.22]) by menubar.gnome.org (Postfix) with ESMTP id 39FD37500AC for ; Fri, 16 Sep 2011 06:43:46 +0000 (UTC) Received: (qmail 18036 invoked from network); 16 Sep 2011 06:37:05 -0000 Received: from i577b8de7.versanet.de (HELO alpha-toggo.eoa.de) (i-krabbe@versanet.de@[87.123.141.231]) (envelope-sender ) by mail02do.versatel.de (qmail-ldap-1.03) with ESMTPA for ; 16 Sep 2011 06:37:03 -0000 Received: by alpha-toggo.eoa.de (Postfix, from userid 1000) id F02B0E01A2; Fri, 16 Sep 2011 08:37:00 +0200 (CEST) Date: Fri, 16 Sep 2011 08:37:00 +0200 From: Ingo Krabbe To: gtk-list@gnome.org Subject: Re: How to find out a function is contained in which header file? Message-ID: <20110916063700.GA26502@ask-sec> Mail-Followup-To: gtk-list@gnome.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2011 06:43:58 -0000 On Fri, Sep 16, 2011 at 02:30:29PM +0800, 丁少衡 wrote: > Now, I'm trying to use some gtk(or gtk related) functions. I can find their > description in the document on devhelp. But I could not find which header > file I should include in my source code, and what CFLAGS should I specify. > For example, the function about gconf system-- gconf_client_get_default() > Please don't tell me search on the google. I know how to search that. But I > think the document should contain the information about that. It was > probably my fault--I do not konw how to find it. So, any help? Many thanks! > > dingshaoheng Hey Dingshaoheng, you can find information about compiling and linking against gtk+ on the devhelp pages: GTK+ Reference Manual -> GTK+ Overview -> Compiling GTK+ Applications. You will find that you should use "pkg-config --cflags gtk+-3.0" (or gtk+-2.0, when you still use gtk+-2.xx). bye ingo From dshbusiness@gmail.com Fri Sep 16 07:02:28 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 421A17500CD for ; Fri, 16 Sep 2011 07:02:28 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.699 X-Spam-Level: X-Spam-Status: No, score=-2.699 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MGCaxFWrH44u for ; Fri, 16 Sep 2011 07:02:26 +0000 (UTC) Received: from mail-gw0-f45.google.com (mail-gw0-f45.google.com [74.125.83.45]) by menubar.gnome.org (Postfix) with ESMTP id 31AB47500AC for ; Fri, 16 Sep 2011 07:02:17 +0000 (UTC) Received: by gwb19 with SMTP id 19so3232927gwb.32 for ; Fri, 16 Sep 2011 00:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=udMO8GRfAsgbX1xZCnUKM8JP4bavPl+BWAsSLRu8yrY=; b=OkHOyC+S74ZkLHDBXrowqThG2+Iw1KZ2uX0pbo0miJxq2u2OLR/z8GJSwVaFzHppT5 F5auLfceMPuclN7MSvoeyv+FqSNATZtqKcbWEHLRUAxd2YHdapPnIFHFi8omkwPo9AeV mz3qN474lFyjbBbYXqD0cEKke7oZR8Q7HOCrM= MIME-Version: 1.0 Received: by 10.146.60.29 with SMTP id i29mr1688941yaa.26.1316156536220; Fri, 16 Sep 2011 00:02:16 -0700 (PDT) Received: by 10.146.167.3 with HTTP; Fri, 16 Sep 2011 00:02:16 -0700 (PDT) In-Reply-To: References: Date: Fri, 16 Sep 2011 15:02:16 +0800 Message-ID: Subject: Re: How to find out a function is contained in which header file? From: =?GB2312?B?tqHJ2bri?= To: gtk-list Content-Type: multipart/alternative; boundary=000e0cd5288ccf6e6804ad09927e X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dshbusiness@gmail.com List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2011 07:02:28 -0000 --000e0cd5288ccf6e6804ad09927e Content-Type: text/plain; charset=ISO-8859-1 Oh, it seems I posted on the wrong list, that was surprising. But thanks Lex and Ingo. The documents are confusing... dingshaoheng --000e0cd5288ccf6e6804ad09927e Content-Type: text/html; charset=ISO-8859-1 Oh, it seems I posted on the wrong list, that was surprising. But thanks Lex and Ingo.
The documents are confusing...

dingshaoheng
--000e0cd5288ccf6e6804ad09927e-- From sannysanoff@gmail.com Fri Sep 16 11:54:08 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6CC48750081 for ; Fri, 16 Sep 2011 11:54:08 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.512 X-Spam-Level: X-Spam-Status: No, score=-2.512 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S7jRvl8GU4it for ; Fri, 16 Sep 2011 11:54:05 +0000 (UTC) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by menubar.gnome.org (Postfix) with ESMTP id C1840750065 for ; Fri, 16 Sep 2011 11:53:57 +0000 (UTC) Received: by iadk27 with SMTP id k27so4829630iad.27 for ; Fri, 16 Sep 2011 04:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=3f6MW7BSBo5GE7hBIwypJ36npU2MhquoQHQUuNpZcEc=; b=On2DdaaGHDsWLDld2q03Bgv3HOQjIkg3z1PSMb+c/lCwKjG6IALtgt94EZy7SsjUJp vxLUlG+bMCI0pX3uORGo/GVSasv+vrGzeYwDGCe49zNRL6rjYkYGvAc8eL34acKXh/lO bEA2r0atafCvWmB+lyQ+5tBSzzNUtgiOsPQI8= Received: by 10.231.81.198 with SMTP id y6mr3748779ibk.62.1316174035088; Fri, 16 Sep 2011 04:53:55 -0700 (PDT) MIME-Version: 1.0 Sender: sannysanoff@gmail.com Received: by 10.231.132.3 with HTTP; Fri, 16 Sep 2011 04:53:35 -0700 (PDT) From: Alex Bitney Date: Fri, 16 Sep 2011 14:53:35 +0300 X-Google-Sender-Auth: OzQTnv_E-FARdnAss5Puj_kvLTc Message-ID: Subject: Cursor blinking is not reset while moving cursor with gtk_text_buffer_move_mark_by_name To: gtk-list@gnome.org Content-Type: multipart/alternative; boundary=000e0cd6a8b2d2f4e104ad0da5c5 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2011 11:54:08 -0000 --000e0cd6a8b2d2f4e104ad0da5c5 Content-Type: text/plain; charset=ISO-8859-1 Hello, gentlemen. I work on the source editor, and I want to implement my own custom cursor movement. Let's say, I have a keystrokes which moves cursor 2 positions left or 2 positions right. When I press and hold one of these keystrokes, cursor is moved (via gtk_text_buffer_move_mark_by_name). The difference from default motion is that cursor keeps blinking, while default cursor movement handler resets blink time using private API ( gtk_text_view_check_cursor_blink + gtk_text_view_pend_cursor_blink). I couldn't find a solution to this problem using the standard API. So I need help on keeping cursor not-blinking while moving it. To take problem broadly: I dislike how Ctrl+Left, Ctrl+Right (next-word movement) is implemented in particular project (leksah.org) which uses gtk multiline edit. Same problem with Ctrl+Backspace, and word selection too (Ctrl+Shift+Left etc). So I wrote custom cursor movement. Project is in Haskell, using Gtk2Hs. Cursor moves fine, but blinking in the middle of the movement ruins user experience. Maybe there are more proper solutions, with pango configuration, but I failed to figure it out, and possible there's no binding on such low level. Anyway, it needs to be process-wide change, not system-wide. Thanks in advance. Alex. --000e0cd6a8b2d2f4e104ad0da5c5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, gentlemen.

I work on the source editor, and I wan= t to implement my own custom cursor movement. Let's say, I have a keyst= rokes which moves cursor 2 positions left or 2 positions right. When I pres= s and hold one of these=A0keystrokes, cursor is moved (via=A0gtk_text= _buffer_move_mark_by_name). The difference from default motion is th= at cursor keeps blinking, while default cursor movement handler resets blin= k time using private API=A0( gtk_text_view_ch= eck_cursor_blink +=A0gtk_text_view_pend_cursor_blink<= /span>). I couldn't find a solution to this problem using the standard = API. So I need help on keeping cursor not-blinking while moving it.
<= br>
To take problem broadly: I dislike how Ctrl+Left, Ctrl+Right (next-word mov= ement) is implemented in particular project (= leksah.org) which uses gtk multiline edit. Same problem with Ctrl+Backs= pace, and word selection too (Ctrl+Shift+Left etc). So=A0I wrote custom cur= sor movement. Project is in Haskell, using Gtk2Hs. Cursor moves fine, but b= linking in the middle of the movement ruins user experience. Maybe there ar= e more proper solutions, with pango configuration, but I failed to figure i= t out, and possible there's no binding on such low level. Anyway, it ne= eds to be process-wide change, not system-wide.

Thanks in advance.
Alex.
--000e0cd6a8b2d2f4e104ad0da5c5-- From johne53@tiscali.co.uk Sat Sep 17 08:14:34 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B324D75002C for ; Sat, 17 Sep 2011 08:14:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.217 X-Spam-Level: X-Spam-Status: No, score=-2.217 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cn+bGR6j5uVD for ; Sat, 17 Sep 2011 08:14:31 +0000 (UTC) Received: from mk-filter-1-a-1.mail.uk.tiscali.com (mk-filter-1-a-1.mail.tiscali.co.uk [212.74.100.52]) by menubar.gnome.org (Postfix) with ESMTP id 8B75775000A for ; Sat, 17 Sep 2011 08:14:22 +0000 (UTC) X-Trace: 674641619/mk-filter-1.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag0GAIRVdE5YaAIK/2dsb2JhbABBgkelGXiBUwEBBTocMwtGOR6IErNbhhhgBJhTjCI X-IronPort-AV: E=Sophos;i="4.68,397,1312153200"; d="scan'208";a="674641619" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 17 Sep 2011 09:14:20 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <20110915200803.GH5757@physics.muni.cz> Date: Sat, 17 Sep 2011 09:14:19 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 08:14:34 -0000 Hi David, here's what I got when I added your function calls this = morning. Firstly, a non-treeview test example. This example has a main window (a = dialog) with two labels, one of which is the drop target. The dialog = also launches a child dialog. Here's what I see when I drag one label = onto the other (bear in mind that the labels are physically in close = proximity). Widget originally set as drag_dest target was 0x02BE5028, path = GtkDialog.GtkVBox.GtkLabel Widget being tested is 0x02BE5028 on object GtkLabel Widget being tested is 0x02BE5028 on object GtkLabel Widget being tested is 0x02BE5028 on object GtkLabel Widget being tested is 0x02BE5028 on object GtkLabel Widget being tested is 0x02BE5028 on object GtkLabel Widget being tested is 0x02BE5028 on object GtkLabel Widget being tested is 0x02BE5028 on object GtkLabel Next, I re-launch the app and this time, I drag the child dialog onto = the drop label. Widget originally set as drag_dest target was 0x02675028, path = GtkDialog.GtkVBox.GtkLabel Widget being tested is 0x02675028 on object GtkLabel < Now I start dragging > Widget being tested is 0x026752A8 on object GtkLabel Widget being tested is 0x026A9958 on object GtkWindow Widget being tested is 0x02672000 on object GtkVBox Widget being tested is 0x0264E018 on object GtkDialog Widget being tested is 0x02672000 on object GtkVBox Widget being tested is 0x0264E018 on object GtkDialog Widget being tested is 0x02672000 on object GtkVBox Widget being tested is 0x0264E018 on object GtkDialog Widget being tested is 0x02675028 on object GtkLabel Widget being tested is 0x02675028 on object GtkLabel Widget being tested is 0x02675028 on object GtkLabel Widget being tested is 0x02675028 on object GtkLabel Widget being tested is 0x02675028 on object GtkLabel Widget being tested is 0x02675028 on object GtkLabel Widget being tested is 0x02675028 on object GtkLabel The above is very similar to the output that you got. Now for the acid = test... I build the GTK toolkit's TreeView sample and try to re-order = the TV's rows using DnD. Widget originally set as drag_dest target was 0x02B1F0D0, path = GtkTreeView Widget being tested is 0x02B1F0D0 on object GtkTreeView < Now I start dragging > Widget being tested is 0x02B1ADB8 on object GtkWindow Widget being tested is 0x02B1ADB8 on object GtkWindow Widget being tested is 0x02B1ADB8 on object GtkWindow Widget being tested is 0x02B1ADB8 on object GtkWindow Widget being tested is 0x02B1ADB8 on object GtkWindow Widget being tested is 0x02B1ADB8 on object GtkWindow Widget being tested is 0x02B1ADB8 on object GtkWindow Widget being tested is 0x02B1ADB8 on object GtkWindow Widget being tested is 0x02B1ADB8 on object GtkWindow Widget being tested is 0x02B1ADB8 on object GtkWindow So I think this confirms that in gtk-win32, the wrong window is getting = tested for a TreeView control. I suppose the quest now must be to find = out which window and why. I'm guessing that in my case it might be the = app's main window but I'm not sure if that's safe to assume in all = cases. Any thoughts? John= From johne53@tiscali.co.uk Sat Sep 17 09:26:12 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A92D075005D for ; Sat, 17 Sep 2011 09:26:12 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.218 X-Spam-Level: X-Spam-Status: No, score=-2.218 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hTShetmQkhHT for ; Sat, 17 Sep 2011 09:26:10 +0000 (UTC) Received: from mk-filter-4-a-1.mail.uk.tiscali.com (mk-filter-4-a-1.mail.tiscali.co.uk [212.74.100.55]) by menubar.gnome.org (Postfix) with ESMTP id 3B3A375002C for ; Sat, 17 Sep 2011 09:26:01 +0000 (UTC) X-Trace: 664776285/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqkIAEpndE5YaAIK/2dsb2JhbABBgkeWX446eIFTAQEEATocMwtGOR6IEAKzE4YYYASYU4wi X-IronPort-AV: E=Sophos;i="4.68,397,1312153200"; d="scan'208";a="664776285" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 17 Sep 2011 10:25:59 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> Date: Sat, 17 Sep 2011 10:25:58 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 09:26:12 -0000 On 17 Sep 2011, at 09:14, John Emmas wrote: >=20 > So I think this confirms that in gtk-win32, the wrong window is = getting tested for a TreeView control. I suppose the quest now must be = to find out which window and why. I'm guessing that in my case it might = be the app's main window but I'm not sure if that's safe to assume in = all cases. >=20 FWIW I just tried a quick test but the address being printed doesn't = seem to be the main window's address. At the moment, I'm a bit puzzled = about what it might be.... John= From hamaa1vs@gmail.com Sat Sep 17 11:54:19 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 76F757500BF for ; Sat, 17 Sep 2011 11:54:19 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.82 X-Spam-Level: X-Spam-Status: No, score=-1.82 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SARE_MLH_Stock1=0.87, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pbkQVRuBZa1G for ; Sat, 17 Sep 2011 11:54:17 +0000 (UTC) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by menubar.gnome.org (Postfix) with ESMTP id 85DF4750021 for ; Sat, 17 Sep 2011 11:54:08 +0000 (UTC) Received: by qyk4 with SMTP id 4so8911931qyk.6 for ; Sat, 17 Sep 2011 04:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=KfB7r/gp88rMf4qEj5iTOwkde7whXrq2zl7TMkk3HD8=; b=Glo7Tsh4N5F2rkw5nZKh5HoPnQhu3OtjTSWE93zbwMA9KmEqhegn+INjEXRc/hxhmt 7qM8dl3GnR0usuflGVdgwatjFDHqjvvi5ItatBU9IbhItXsJ9/3qGkIROt4CjFbktpHO MXoNWtbtU7iTUX540INhYrZIBMMi9GxCy5ugc= MIME-Version: 1.0 Received: by 10.229.67.148 with SMTP id r20mr356898qci.64.1316260447431; Sat, 17 Sep 2011 04:54:07 -0700 (PDT) Received: by 10.229.138.205 with HTTP; Sat, 17 Sep 2011 04:54:07 -0700 (PDT) Date: Sat, 17 Sep 2011 07:54:07 -0400 Message-ID: Subject: Stock Icon Question/Problem From: Charles Suprin To: gtk-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 11:54:19 -0000 Hello, In the course of development, gpredict used the GTK_STOCK_MEDIA_PLAY icon as a time forward in a time controller and the right to left variant as the time backward option. This also fit well as the GTK_STOCK_MEDIA_PAUSE looked good in between as a stop time option. Other options such as those used for rewind/fast forward, or forward, backward as in a web browser did not look as good or had connotations that did not make sense. As far back as 2.6 these have been defined and are also appearing to continue into gtk3. In the past year several distributions have used themes. Most of the themes do not define the GTK_STOCK_MEDIA_PLAY right to left variant. Instead it often renders as the ltr version. This when looking at it makes no sense. For some distributions/theme I can flip the ltr variant into the appropriate name and it renders correctly. For others this does not work. One of the root causes of this issues is that the right to left version is not mandated in the theme definition. However this could be because it is supposed to be handled someplace else. What should be done to fix this? Thanks. Charles From johne53@tiscali.co.uk Sat Sep 17 17:49:29 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 37B917501C7 for ; Sat, 17 Sep 2011 17:49:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.295 X-Spam-Level: X-Spam-Status: No, score=-2.295 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jaup3jmQpV7U for ; Sat, 17 Sep 2011 17:49:26 +0000 (UTC) Received: from mk-filter-2-a-1.mail.uk.tiscali.com (mk-filter-2-a-1.mail.tiscali.co.uk [212.74.100.53]) by menubar.gnome.org (Postfix) with ESMTP id CB7B7750129 for ; Sat, 17 Sep 2011 17:49:16 +0000 (UTC) X-Trace: 671508617/mk-filter-2.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkYOAGnddE5YaAIK/2dsb2JhbABBgkeWYI46eIFTAQEEATocMwtGORABDTICh1wCtFOGGGAEmFSMIw X-IronPort-AV: E=Sophos;i="4.68,398,1312153200"; d="scan'208";a="671508617" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 17 Sep 2011 18:49:12 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> Date: Sat, 17 Sep 2011 18:49:12 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 17:49:29 -0000 On 17 Sep 2011, at 10:25, John Emmas wrote: >=20 > FWIW I just tried a quick test but the address being printed doesn't = seem to be the main window's address. At the moment, I'm a bit puzzled = about what it might be.... >=20 I'm no closer to knowing which widget address is getting sent but I = think I've made a significant discovery this afternoon. By a total = fluke it just so happens that whenever I run my sample app, the TreeView = control's hex address (on my system) always happens to end in "F0D0" = (e.g. 0x02ECF0D0 would be a typical address). If I mathematically = 'fudge' the address received from drag_drop events so that they always = end in "F0D0" my TreeView's drag'n'drop functionality suddenly springs = to life - i.e. I can successfully re-order my TreeView's rows using = drag'n'drop!!! Of course, this isn't a proper solution because it totally screws up DnD = for every other type of control but that isn't the point. The point is = it shows that if the correct widget address was getting sent on Windows, = this would work. So all we need to do is find out why the wrong widget = is getting used. I'm wondering if this might be down to a difference between the = underlying window managers? For example, when a TreeView drag gets = started in X11, maybe the 'X' window manager passes the address of the = TreeView control. Whereas Windows perhaps passes a handle for the = TreeView item being dragged, rather than the TreeView control itself. = It's only a hunch but it sounds plausible to me. Maybe this is = something simple like (in Windows) GDK needs to be getting the parent of = the window handle it received, rather than just accepting the handle? John= From pcjc2@cam.ac.uk Sat Sep 17 22:21:48 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D39A97500C3 for ; Sat, 17 Sep 2011 22:21:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.704 X-Spam-Level: X-Spam-Status: No, score=-4.704 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ENZ79P6Sk1no for ; Sat, 17 Sep 2011 22:21:46 +0000 (UTC) Received: from ppsw-52.csi.cam.ac.uk (ppsw-52.csi.cam.ac.uk [131.111.8.152]) by menubar.gnome.org (Postfix) with ESMTP id 7A9C57500C2 for ; Sat, 17 Sep 2011 22:21:37 +0000 (UTC) X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc3-cmbg11-0-0-cust288.5-4.cable.virginmedia.com ([81.102.157.33]:57000 helo=[192.168.1.4]) by ppsw-52.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:465) with esmtpsa (LOGIN:pcjc2) (SSLv3:DHE-RSA-CAMELLIA256-SHA:256) id 1R53GR-0001nq-FU (Exim 4.72) (return-path ); Sat, 17 Sep 2011 23:21:35 +0100 Subject: Re: GTK TreeView control in Windows (DND issue) From: Peter Clifton To: John Emmas Date: Sat, 17 Sep 2011 23:21:33 +0100 In-Reply-To: <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-2wRvw6uTi6lwASth6wpK" X-Mailer: Evolution 3.1.91- Message-ID: <1316298095.17080.7.camel@localhost> Mime-Version: 1.0 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 22:21:49 -0000 --=-2wRvw6uTi6lwASth6wpK Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2011-09-17 at 18:49 +0100, John Emmas wrote: Have you tried the GTK patches I pointed you at here? www.clifton-electronics.com/tmp/gtk_win32_patches.tar.gz --=20 Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) --=-2wRvw6uTi6lwASth6wpK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJOdR1tAAoJEOo4D/b1x+QVPQwIAJGB7p3l1JAoLTQgzUwW7xOp MEP6Vfd4sxocCr+4X3YsgcFhIEJ/cCgPrP8u5zN7J7c8zbCUiyzVMNmMIqzvukNK y/+XmZCQ7wyA9KTchAq7Ly6nwAr20jmTbMwuWSlViTUjEa/165y1UJ0QlJY6ybNL Ks09gdHGRL3QUxp2u4HRPsfGsSYxLonKjkxt/Q1RDt2esfYqi3abF40nxfER+1Kk AExX51gOggbMAmpWAEg1FldKlYrkYPOiTqRmXKSrRhpNxE/imlGsxQraikuCqRpV w/zRBUJVLGrFH7uu9oxj6WgjPkMBkqdwW6kpCDMKyn9adavB1WaRLPDt+M0cOf0= =HCJX -----END PGP SIGNATURE----- --=-2wRvw6uTi6lwASth6wpK-- From dieterv@optionexplicit.be Sat Sep 17 23:04:01 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 45FFA7500C3 for ; Sat, 17 Sep 2011 23:04:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.515 X-Spam-Level: X-Spam-Status: No, score=-1.515 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, TW_DK=0.077, TW_GD=0.077, TW_GT=0.077, TW_HW=0.077, TW_KD=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5tOLrM-2zqrQ for ; Sat, 17 Sep 2011 23:03:57 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id 334D77500C2 for ; Sat, 17 Sep 2011 23:03:48 +0000 (UTC) Received: from [213.118.217.127] (dD576D97F.access.telenet.be [213.118.217.127]) by smtp.webfaction.com (Postfix) with ESMTP id 5EC5F59A04AA; Sat, 17 Sep 2011 18:03:46 -0500 (CDT) Message-ID: <4E75274F.8020702@optionexplicit.be> Date: Sun, 18 Sep 2011 01:03:43 +0200 From: Dieter Verfaillie User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Peter Clifton Subject: Re: GTK TreeView control in Windows (DND issue) References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> In-Reply-To: <1316298095.17080.7.camel@localhost> X-Enigmail-Version: 1.3.1 Content-Type: multipart/mixed; boundary="------------010609040102060801090108" Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 23:04:01 -0000 This is a multi-part message in MIME format. --------------010609040102060801090108 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 18/09/2011 00:21, Peter Clifton wrote: > On Sat, 2011-09-17 at 18:49 +0100, John Emmas wrote: > > Have you tried the GTK patches I pointed you at here? > > www.clifton-electronics.com/tmp/gtk_win32_patches.tar.gz I've just completed testing 2.24 with your patches (good stuff, thanks!) and compared against 2.16 (where this still worked). To clarify, I've ran "GDK_DEBUG=dnd testtreeview.exe" for both GTK+ versions. Looking at the output (the gdk_drag_find_window lines are the interesting bits), it seems dest_window is not yet correctly determined in 2.24. With the attached test results, I would have expected dest_window to be 0034061E but it is 001B069A (which is drag_window). Currently, my best guess is that the WindowFromPoint() call doesn't give us the hwnd we're supposed to get in this case (in gdkdnd-win32.c::gdk_drag_find_window_for_screen(), around line 1988 with Peter's patches applied). I suspect this might be solved by using the generalized _gdk_get_windowing_window_at_point(er) work from your patches, but have yet to take a closer look. Well, I'm getting really tired now, to the point where coffee no longer helps. Will look further when more awake ;) Thanks, Dieter ps For future reference: GTK+ development related discussions are better done one gtk-devel-list. You'll probably attract more GTK+ developers/maintainers over there. There's also a #win32 channel on irc.gnome.org in need of being repopulated with people working on the Windows bits and pieces. Also, for "GNOME Platform" [1] windows related development discussions, there's the brand new and shiny windows-devel-list mailing list. [1] take a look at the schematic on http://developer.gnome.org/ to see what fits in "GNOME Platform"... --------------010609040102060801090108 Content-Type: text/plain; name="2.24.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="2.24.txt" JCBHREtfREVCVUc9ZG5kIHRlc3R0cmVldmlldy5leGUKUnVubmluZyBhdXRvbWF0ZWQgdGVz dHMuLi4KUGFzc2VkLgpnZGtfd2luZG93X3JlZ2lzdGVyX2RuZDogMDAzNDA2MUUKZ2RrX2Ry YWdfY29udGV4dF9pbml0IDAxRTE4Njg4Cmdka19kcmFnX2ZpbmRfd2luZG93OiAwMDFCMDY5 QSArMTYyKzE0NjogMDAxQjA2OUE6IDAwMUIwNjlBIExPQ0FMCmdka19kcmFnX21vdGlvbjog TE9DQUwgc3VnZ2VzdGVkPUNPUFksIHBvc3NpYmxlPUNPUFl8TU9WRQogY29udGV4dD0wMUUx ODY4ODp7YWN0aW9uc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DFFMTg1RDg6e2Fj dGlvbnM9Q09QWXxNT1ZFLHN1Z2dlc3RlZD1DT1BZLGFjdGlvbj19Cmdka19kcmFnX2Fib3J0 Cmdka19zZWxlY3Rpb25fb3duZXJfZ2V0OiBMb2NhbERuZFNlbGVjdGlvbiA9IDAwMEIwNjk4 Cmdka19zZWxlY3Rpb25fb3duZXJfc2V0X2Zvcl9kaXNwbGF5OiAwMDAwMDAwMCBMb2NhbERu ZFNlbGVjdGlvbgpnZGtfZHJhZ19jb250ZXh0X2ZpbmFsaXplIDAxRTE4Njg4 --------------010609040102060801090108 Content-Type: text/plain; name="2.16.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="2.16.txt" JCBHREtfREVCVUc9ZG5kIHRlc3R0cmVldmlldy5leGUKUnVubmluZyBhdXRvbWF0ZWQgdGVz dHMuLi4KUGFzc2VkLgpnZGtfd2luZG93X3JlZ2lzdGVyX2RuZDogMDAxMDA2QTAKZ2RrX2Ry YWdfY29udGV4dF9pbml0IDAwQ0M4NUE4Cmdka19kcmFnX2ZpbmRfd2luZG93OiAwMDMxMDY5 NCArMjk1KzMwMzogMDAxMDA2QTA6IDAwMTAwNkEwIDYKZ2RrX2RyYWdfbW90aW9uOiBwcm90 b2NvbD1MT0NBTAogc3VnZ2VzdGVkX2FjdGlvbj1DT1BZLCBwb3NzaWJsZV9hY3Rpb25zPUNP UFl8TU9WRQogY29udGV4dD0wMENDODVBODphY3Rpb25zPUNPUFl8TU9WRSwgc3VnZ2VzdGVk X2FjdGlvbj0sIGFjdGlvbj0KbG9jYWxfc2VuZF9lbnRlcjogY29udGV4dD0wMENDODVBOCBj dXJyZW50X2Rlc3RfZHJhZz0wMDAwMDAwMApnZGtfZHJhZ19jb250ZXh0X2luaXQgMDBDQzg1 NjAKbG9jYWxfc2VuZF9tb3Rpb246IGNvbnRleHQ9MDBDQzg1QTggY3VycmVudF9kZXN0X2Ry YWc9MDBDQzg1NjAKIHJldHVybmluZyBGQUxTRQogY29udGV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2FjdGlvbj1DT1BZLCBhY3Rpb249TU9WRQpsb2NhbF9z ZW5kX21vdGlvbjogY29udGV4dD0wMENDODVBOCBjdXJyZW50X2Rlc3RfZHJhZz0wMENDODU2 MAogcmV0dXJuaW5nIEZBTFNFCiBjb250ZXh0PTAwQ0M4NUE4OmFjdGlvbnM9Q09QWXxNT1ZF LCBzdWdnZXN0ZWRfYWN0aW9uPUNPUFksIGFjdGlvbj1NT1ZFCmdka19zZWxlY3Rpb25fb3du ZXJfZ2V0OiBMb2NhbERuZFNlbGVjdGlvbiA9IDAwMDYwNjk2Cmdka19kcmFnX3N0YXR1cwpn ZGtfZHJhZ19zdGF0dXM6IGFjdGlvbj1NT1ZFCiBjb250ZXh0PTAwQ0M4NTYwOmFjdGlvbnM9 Q09QWXxNT1ZFLCBzdWdnZXN0ZWRfYWN0aW9uPUNPUFksIGFjdGlvbj1NT1ZFCmdka19kcmFn X2Ryb3AKbG9jYWxfc2VuZF9kcm9wOiBjb250ZXh0PTAwQ0M4NUE4IGN1cnJlbnRfZGVzdF9k cmFnPTAwQ0M4NTYwCmdka19zZWxlY3Rpb25fb3duZXJfZ2V0OiBMb2NhbERuZFNlbGVjdGlv biA9IDAwMDYwNjk2Cmdka19zZWxlY3Rpb25fb3duZXJfZ2V0OiBMb2NhbERuZFNlbGVjdGlv biA9IDAwMDYwNjk2Cmdka19kcm9wX2ZpbmlzaApnZGtfZHJvcF9yZXBseQpnZGtfc2VsZWN0 aW9uX293bmVyX2dldDogTG9jYWxEbmRTZWxlY3Rpb24gPSAwMDA2MDY5NgpnZGtfc2VsZWN0 aW9uX293bmVyX3NldF9mb3JfZGlzcGxheTogMDAwMDAwMDAgTG9jYWxEbmRTZWxlY3Rpb24K Z2RrX2RyYWdfY29udGV4dF9maW5hbGl6ZSAwMENDODVBOA== --------------010609040102060801090108-- From johne53@tiscali.co.uk Sun Sep 18 03:48:51 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 657A8750089 for ; Sun, 18 Sep 2011 03:48:51 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.986 X-Spam-Level: X-Spam-Status: No, score=-1.986 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, TW_DK=0.077, TW_GD=0.077, TW_GT=0.077, TW_KD=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zaxLI67tepFh for ; Sun, 18 Sep 2011 03:48:48 +0000 (UTC) Received: from mk-filter-1-a-1.mail.uk.tiscali.com (mk-filter-1-a-1.mail.tiscali.co.uk [212.74.100.52]) by menubar.gnome.org (Postfix) with ESMTP id D54FA75007D for ; Sun, 18 Sep 2011 03:48:39 +0000 (UTC) X-Trace: 674980516/mk-filter-1.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjENAOJodU5YaAIK/2dsb2JhbABBgkeWYI46eIFTAQEEAToPDTMLNRE5HogQAgK1GIYYYASYVIwj X-IronPort-AV: E=Sophos;i="4.68,399,1312153200"; d="scan'208";a="674980516" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 18 Sep 2011 04:48:36 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <1316298095.17080.7.camel@localhost> Date: Sun, 18 Sep 2011 04:48:36 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <7A3ABAF0-203D-4B96-A956-030F4A611A02@tiscali.co.uk> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 03:48:51 -0000 On 17 Sep 2011, at 23:21, Peter Clifton wrote: >=20 > Have you tried the GTK patches I pointed you at here? >=20 > www.clifton-electronics.com/tmp/gtk_win32_patches.tar.gz >=20 Sorry Peter. Your patches are on my TODO list but I haven't had time to = look at them yet. My gut feeling (though I'd love to be proved wrong) = is that this probably (!) isn't connected with grabbing. It seems to be = the drag motion events that are getting screwed up (drag_motion, = drag_enter, drag_leave etc). When a grabbed item gets dragged around = over various windows, each window apparently gets tested to see if it's = a drop target. Something's going wrong with that process when a = TreeView's involved (possibly the grabbed item is being tested instead = of the underlying window? It's worth keeping in mind). However.... On 18 Sep 2011, at 00:03, Dieter Verfaillie wrote: >=20 > I've just completed testing 2.24 with your patches (good > stuff, thanks!) and compared against 2.16 (where this > still worked). >=20 I must admit, I hadn't realised that it was working so recently. I'm = using 2.20 (where it's broken) so maybe we should just be looking for = what changed between 2.16 and 2.20. Like Dieter, I'm tending to favour = a problem in gdk_drag_find_window_for_screen() - or if not there, = definitely an issue in either gdkdnd.c or gdkdnd-win32.c. Currently I'm = not using version control at my end but if anyone else is, could they = take a look at the change log for those files around that time? After = all, sudden regressions are exactly the kind of problem that version = control is supposed to help with! If there's no-one here who can inspect the change log, maybe I'll move = this discussion to gtk-devel. Thanks for everyone's help. John= From yeti@physics.muni.cz Sun Sep 18 08:47:14 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 204A17501C4 for ; Sun, 18 Sep 2011 08:47:14 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.704 X-Spam-Level: X-Spam-Status: No, score=-4.704 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r9EcXdODwH32 for ; Sun, 18 Sep 2011 08:47:11 +0000 (UTC) Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by menubar.gnome.org (Postfix) with ESMTP id 8F46F7500FD for ; Sun, 18 Sep 2011 08:47:01 +0000 (UTC) Received: from monoceros.physics.muni.cz (postfix@monoceros.physics.muni.cz [147.251.27.2]) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id p8I8kvtg001792; Sun, 18 Sep 2011 10:46:58 +0200 Received: by monoceros.physics.muni.cz (Postfix, from userid 16809) id 83BAFC1B830; Sun, 18 Sep 2011 10:46:57 +0200 (CEST) Date: Sun, 18 Sep 2011 10:46:57 +0200 From: David =?utf-8?B?TmXEjWFz?= To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) Message-ID: <20110918084657.GA31580@physics.muni.cz> References: <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) X-Muni-Spam-TestIP: 147.251.27.2 X-Muni-Envelope-From: yeti@physics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Sun, 18 Sep 2011 10:46:59 +0200 (CEST) Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 08:47:14 -0000 On Sat, Sep 17, 2011 at 10:25:58AM +0100, John Emmas wrote: > > > FWIW I just tried a quick test but the address being printed doesn't > seem to be the main window's address. At the moment, I'm a bit > puzzled about what it might be.... It might be the DnD icon (or whatever) window. You can add a debug print to gtk_window_new() to see what is created when... Also if you have a window a want to know what's inside, call this on it: static void print_hierarchy(GtkWidget *widget, guint indent) { guint i; for (i = 0; i < indent; i++) g_print(" "); g_print("%s \"%s\" %p\n", G_OBJECT_TYPE_NAME(widget), gtk_widget_get_name(widget), widget); if (GTK_IS_CONTAINER(widget)) { GList *children = gtk_container_get_children(GTK_CONTAINER(widget)), *child; for (child = children; child; child = g_list_next(child)) print_hierarchy(GTK_WIDGET(child->data), indent+1); g_list_free(children); } } Obviously, you cannot do this in GLib but you can insert this to the Gtk+ code that calls g_object_get_data() to find "gtk-drag-dest". Yeti From dieterv@optionexplicit.be Sun Sep 18 09:00:33 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8455675007D for ; Sun, 18 Sep 2011 09:00:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.592 X-Spam-Level: X-Spam-Status: No, score=-1.592 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, TW_DK=0.077, TW_GD=0.077, TW_HW=0.077, TW_KD=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nag7spwvSflG for ; Sun, 18 Sep 2011 09:00:31 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id 32AF775000B for ; Sun, 18 Sep 2011 09:00:22 +0000 (UTC) Received: from [213.118.217.127] (dD576D97F.access.telenet.be [213.118.217.127]) by smtp.webfaction.com (Postfix) with ESMTP id 80DC559A2886; Sun, 18 Sep 2011 04:00:20 -0500 (CDT) Message-ID: <4E75B321.1060204@optionexplicit.be> Date: Sun, 18 Sep 2011 11:00:17 +0200 From: Dieter Verfaillie User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Peter Clifton Subject: Re: GTK TreeView control in Windows (DND issue) References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> In-Reply-To: <4E75274F.8020702@optionexplicit.be> X-Enigmail-Version: 1.3.1 Content-Type: multipart/mixed; boundary="------------040209070003020108020606" Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 09:00:33 -0000 This is a multi-part message in MIME format. --------------040209070003020108020606 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 18/09/2011 01:03, Dieter Verfaillie wrote: > Currently, my best guess is that the WindowFromPoint() call > doesn't give us the hwnd we're supposed to get in this case > (in gdkdnd-win32.c::gdk_drag_find_window_for_screen(), around > line 1988 with Peter's patches applied). Digging deeper, it is part of the changes done in commit http://git.gnome.org/browse/gtk+/commit/gdk/win32/gdkdnd-win32.c?h=gtk-2-24&id=eb21a7df290936223f6a80cef36b52a8c68a1d22 that is responsible for this problem. Reverting gdk_drag_find_window_for_screen to the 2.16 era logic effectively fixes treeview dnd (see attached patch). Have not yet tested if this breaks other things so this patch needs more work. This does most likely does break the wip generic OLE DnD method though, but I'm not sure if we should care much about that in the 2.24 branch? So we're getting closer :) mvg, Dieter --------------040209070003020108020606 Content-Type: text/plain; name="0001-WIP-Revert-gdk_drag_find_window_for_screen-to-GTK-2..patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-WIP-Revert-gdk_drag_find_window_for_screen-to-GTK-2..pa"; filename*1="tch" >From e058ed7653b0166bb0ef88de0309ce94af8d7a01 Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Sun, 18 Sep 2011 10:54:55 +0200 Subject: [PATCH] [WIP] Revert gdk_drag_find_window_for_screen to GTK+ 2.16 era logic. Fixes TreeView DnD, but most likely breaks generic OLE DnD... --- gdk/win32/gdkdnd-win32.c | 73 ++++++++++++++++++++++++++++++++++++---------- 1 files changed, 57 insertions(+), 16 deletions(-) diff --git a/gdk/win32/gdkdnd-win32.c b/gdk/win32/gdkdnd-win32.c index daf5291..c01f998 100644 --- a/gdk/win32/gdkdnd-win32.c +++ b/gdk/win32/gdkdnd-win32.c @@ -1970,6 +1970,43 @@ gdk_drag_get_protocol_for_display (GdkDisplay *display, return 0; } +typedef struct { + gint x; + gint y; + HWND ignore; + HWND result; +} find_window_enum_arg; + +static BOOL CALLBACK +find_window_enum_proc (HWND hwnd, + LPARAM lparam) +{ + RECT rect; + POINT tl, br; + find_window_enum_arg *a = (find_window_enum_arg *) lparam; + + if (hwnd == a->ignore) + return TRUE; + + if (!IsWindowVisible (hwnd)) + return TRUE; + + tl.x = tl.y = 0; + ClientToScreen (hwnd, &tl); + GetClientRect (hwnd, &rect); + br.x = rect.right; + br.y = rect.bottom; + ClientToScreen (hwnd, &br); + + if (a->x >= tl.x && a->y >= tl.y && a->x < br.x && a->y < br.y) + { + a->result = hwnd; + return FALSE; + } + else + return TRUE; +} + void gdk_drag_find_window_for_screen (GdkDragContext *context, GdkWindow *drag_window, @@ -1979,37 +2016,41 @@ gdk_drag_find_window_for_screen (GdkDragContext *context, GdkWindow **dest_window, GdkDragProtocol *protocol) { - POINT pt; - HWND hwnd; + find_window_enum_arg a; - pt.x = x_root - _gdk_offset_x; - pt.y = y_root - _gdk_offset_y; + a.x = x_root - _gdk_offset_x; + a.y = y_root - _gdk_offset_y; + a.ignore = drag_window ? GDK_WINDOW_HWND (drag_window) : NULL; + a.result = NULL; - hwnd = WindowFromPoint (pt); + EnumWindows (find_window_enum_proc, (LPARAM) &a); - if (hwnd == NULL) + if (a.result == NULL) *dest_window = NULL; else { - *dest_window = gdk_win32_handle_table_lookup (hwnd); + *dest_window = gdk_win32_handle_table_lookup (a.result); if (*dest_window) - g_object_ref (*dest_window); - else - *dest_window = gdk_window_foreign_new_for_display (_gdk_display, hwnd); - - if (use_ole2_dnd) - *protocol = GDK_DRAG_PROTO_OLE2; - else if (context->source_window) + { + *dest_window = gdk_window_get_toplevel (*dest_window); + g_object_ref (*dest_window); + } + + if (context->source_window) +#ifdef OLE2_DND + *protocol = GDK_DRAG_PROTO_OLE2; +#else *protocol = GDK_DRAG_PROTO_LOCAL; +#endif else - *protocol = GDK_DRAG_PROTO_WIN32_DROPFILES; + *protocol = GDK_DRAG_PROTO_WIN32_DROPFILES; } GDK_NOTE (DND, g_print ("gdk_drag_find_window: %p %+d%+d: %p: %p %s\n", (drag_window ? GDK_WINDOW_HWND (drag_window) : NULL), x_root, y_root, - hwnd, + a.result, (*dest_window ? GDK_WINDOW_HWND (*dest_window) : NULL), _gdk_win32_drag_protocol_to_string (*protocol))); } -- 1.7.6.msysgit.0 --------------040209070003020108020606-- From dieterv@optionexplicit.be Sun Sep 18 10:05:44 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 2D5D8750024 for ; Sun, 18 Sep 2011 10:05:44 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.746 X-Spam-Level: X-Spam-Status: No, score=-1.746 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, TW_GT=0.077, TW_HW=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8d41brp+cC+m for ; Sun, 18 Sep 2011 10:05:42 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id EFF7A75000B for ; Sun, 18 Sep 2011 10:05:33 +0000 (UTC) Received: from [213.118.217.127] (dD576D97F.access.telenet.be [213.118.217.127]) by smtp.webfaction.com (Postfix) with ESMTP id B134659A2939; Sun, 18 Sep 2011 05:04:31 -0500 (CDT) Message-ID: <4E75C22C.4060208@optionexplicit.be> Date: Sun, 18 Sep 2011 12:04:28 +0200 From: Dieter Verfaillie User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Peter Clifton Subject: Re: GTK TreeView control in Windows (DND issue) References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> In-Reply-To: <4E75B321.1060204@optionexplicit.be> X-Enigmail-Version: 1.3.1 Content-Type: multipart/mixed; boundary="------------020001030202080704070208" Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 10:05:44 -0000 This is a multi-part message in MIME format. --------------020001030202080704070208 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 18/09/2011 11:00, Dieter Verfaillie wrote: > This does most likely does break the wip generic OLE DnD method > though, but I'm not sure if we should care much about that in > the 2.24 branch? Cleaned up patch fixing the above. Tested various DnD operations with testtreeview and gtk-demo. Together with Peter's patch-set, GTK+ 2.24 is starting to behave as it should again :) mvg, Dieter --------------020001030202080704070208 Content-Type: text/plain; name="0001-win32-Fix-TreeView-DnD.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-win32-Fix-TreeView-DnD.patch" >From 0fb53f625235ebb71ca250c480c0888d9a376879 Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Sun, 18 Sep 2011 11:44:37 +0200 Subject: [PATCH] win32: Fix TreeView DnD By reverting gdk_drag_find_window_for_screen logic to what it was before eb21a7df290936223f6a80cef36b52a8c68a1d22. The old logic knew how to ignore drag_window when searching for dest_window, but that code was removed (I guess by accident) in eb21a7df290936223f6a80cef36b52a8c68a1d22 --- gdk/win32/gdkdnd-win32.c | 65 +++++++++++++++++++++++++++++++++++++-------- 1 files changed, 53 insertions(+), 12 deletions(-) diff --git a/gdk/win32/gdkdnd-win32.c b/gdk/win32/gdkdnd-win32.c index daf5291..16abed7 100644 --- a/gdk/win32/gdkdnd-win32.c +++ b/gdk/win32/gdkdnd-win32.c @@ -1970,6 +1970,43 @@ gdk_drag_get_protocol_for_display (GdkDisplay *display, return 0; } +typedef struct { + gint x; + gint y; + HWND ignore; + HWND result; +} find_window_enum_arg; + +static BOOL CALLBACK +find_window_enum_proc (HWND hwnd, + LPARAM lparam) +{ + RECT rect; + POINT tl, br; + find_window_enum_arg *a = (find_window_enum_arg *) lparam; + + if (hwnd == a->ignore) + return TRUE; + + if (!IsWindowVisible (hwnd)) + return TRUE; + + tl.x = tl.y = 0; + ClientToScreen (hwnd, &tl); + GetClientRect (hwnd, &rect); + br.x = rect.right; + br.y = rect.bottom; + ClientToScreen (hwnd, &br); + + if (a->x >= tl.x && a->y >= tl.y && a->x < br.x && a->y < br.y) + { + a->result = hwnd; + return FALSE; + } + else + return TRUE; +} + void gdk_drag_find_window_for_screen (GdkDragContext *context, GdkWindow *drag_window, @@ -1979,37 +2016,41 @@ gdk_drag_find_window_for_screen (GdkDragContext *context, GdkWindow **dest_window, GdkDragProtocol *protocol) { - POINT pt; - HWND hwnd; + find_window_enum_arg a; - pt.x = x_root - _gdk_offset_x; - pt.y = y_root - _gdk_offset_y; + a.x = x_root - _gdk_offset_x; + a.y = y_root - _gdk_offset_y; + a.ignore = drag_window ? GDK_WINDOW_HWND (drag_window) : NULL; + a.result = NULL; - hwnd = WindowFromPoint (pt); + EnumWindows (find_window_enum_proc, (LPARAM) &a); - if (hwnd == NULL) + if (a.result == NULL) *dest_window = NULL; else { - *dest_window = gdk_win32_handle_table_lookup (hwnd); + *dest_window = gdk_win32_handle_table_lookup (a.result); if (*dest_window) - g_object_ref (*dest_window); + { + *dest_window = gdk_window_get_toplevel (*dest_window); + g_object_ref (*dest_window); + } else - *dest_window = gdk_window_foreign_new_for_display (_gdk_display, hwnd); + *dest_window = gdk_win32_window_foreign_new_for_display (_gdk_display, a.result); if (use_ole2_dnd) - *protocol = GDK_DRAG_PROTO_OLE2; + *protocol = GDK_DRAG_PROTO_OLE2; else if (context->source_window) *protocol = GDK_DRAG_PROTO_LOCAL; else - *protocol = GDK_DRAG_PROTO_WIN32_DROPFILES; + *protocol = GDK_DRAG_PROTO_WIN32_DROPFILES; } GDK_NOTE (DND, g_print ("gdk_drag_find_window: %p %+d%+d: %p: %p %s\n", (drag_window ? GDK_WINDOW_HWND (drag_window) : NULL), x_root, y_root, - hwnd, + a.result, (*dest_window ? GDK_WINDOW_HWND (*dest_window) : NULL), _gdk_win32_drag_protocol_to_string (*protocol))); } -- 1.7.6.msysgit.0 --------------020001030202080704070208-- From johne53@tiscali.co.uk Sun Sep 18 10:18:49 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7E4B9750065 for ; Sun, 18 Sep 2011 10:18:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.218 X-Spam-Level: X-Spam-Status: No, score=-2.218 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kHDsdpm5uaMi for ; Sun, 18 Sep 2011 10:18:46 +0000 (UTC) Received: from mk-filter-3-a-1.mail.uk.tiscali.com (mk-filter-3-a-1.mail.tiscali.co.uk [212.74.100.54]) by menubar.gnome.org (Postfix) with ESMTP id 7111575000B for ; Sun, 18 Sep 2011 10:18:37 +0000 (UTC) X-Trace: 671819091/mk-filter-3.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhUNAJ7EdU5YaAIK/2dsb2JhbABBgkeWRY46eIFTAQEEATocMwtGOR4zh10CtHiGGGAEmFSMIw X-IronPort-AV: E=Sophos;i="4.68,400,1312153200"; d="scan'208";a="671819091" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 18 Sep 2011 11:18:35 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <4E75B321.1060204@optionexplicit.be> Date: Sun, 18 Sep 2011 11:18:34 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 10:18:49 -0000 On 18 Sep 2011, at 10:00, Dieter Verfaillie wrote: >=20 > Reverting gdk_drag_find_window_for_screen to the 2.16 era logic > effectively fixes treeview dnd (see attached patch). Have not yet > tested if this breaks other things so this patch needs more work. >=20 Great news! The patch is quite straightforward (fortunately, because I = had to revert it manually!) but I can confirm that it does solve the = problem. Dieter is right that it probably screws up whatever was = intended by the original change so we do need to flag this up to the = development team. It looks like the intention was to upgrade the DnD = mechanism to use OLE. I'm away for the next few days but I'll try = contacting a developer on IRC this afternoon so we can at least let = someone know. Failing that, I'll post something on the gtk-devel list. = Great teamwork! Now to take a look at Peter's patches.... John From dieterv@optionexplicit.be Sun Sep 18 10:54:43 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 52D94750065 for ; Sun, 18 Sep 2011 10:54:43 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.823 X-Spam-Level: X-Spam-Status: No, score=-1.823 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BDEdP8TfUuQN for ; Sun, 18 Sep 2011 10:54:40 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id B9F9675000B for ; Sun, 18 Sep 2011 10:54:32 +0000 (UTC) Received: from [213.118.217.127] (dD576D97F.access.telenet.be [213.118.217.127]) by smtp.webfaction.com (Postfix) with ESMTP id 48E8B59A29A1; Sun, 18 Sep 2011 05:54:29 -0500 (CDT) Message-ID: <4E75CDE2.6080702@optionexplicit.be> Date: Sun, 18 Sep 2011 12:54:26 +0200 From: Dieter Verfaillie User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> In-Reply-To: <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 10:54:43 -0000 On 18/09/2011 12:18, John Emmas wrote: > On 18 Sep 2011, at 10:00, Dieter Verfaillie wrote: >> Reverting gdk_drag_find_window_for_screen to the 2.16 era logic >> effectively fixes treeview dnd (see attached patch). Have not yet >> tested if this breaks other things so this patch needs more work. > > Great news! The patch is quite straightforward (fortunately, because > I had to revert it manually!) but I can confirm that it does solve the > problem. Dieter is right that it probably screws up whatever was > intended by the original change so we do need to flag this up to the > development team. Already fixed in a followup patch. See my latest message in this thread :) > It looks like the intention was to upgrade the DnD > mechanism to use OLE. >From my current understanding of win32 GTK/GDK, OLE2 DnD has been a long term goal for a long time (since the GTK+ 1.X days even), but is not yet functional. > I'm away for the next few days but I'll try > contacting a developer on IRC this afternoon so we can at least let > someone know. Failing that, I'll post something on the gtk-devel > list. Probably best to attach this to some bug report and start marking the other TreeView DnD related reports as duplicates. Then we have a bug report to show the maintainers (I think that's the preferred way of working) and it's shows me mean business here ;) Well, I'm preparing our meal now, will be back in about an hour or so. > Great teamwork! Feels great, doesn't it :) > Now to take a look at Peter's patches.... Really good stuff in there. I can move a scrollbar handle again even when the pointer is outside of the GtkWindow containing said scrollbar. mvg, Dieter From johne53@tiscali.co.uk Sun Sep 18 11:11:23 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3735175007D for ; Sun, 18 Sep 2011 11:11:23 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.295 X-Spam-Level: X-Spam-Status: No, score=-2.295 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R+OcqmPyNWbc for ; Sun, 18 Sep 2011 11:11:20 +0000 (UTC) Received: from mk-filter-4-a-1.mail.uk.tiscali.com (mk-filter-4-a-1.mail.tiscali.co.uk [212.74.100.55]) by menubar.gnome.org (Postfix) with ESMTP id E1B4F75000B for ; Sun, 18 Sep 2011 11:11:11 +0000 (UTC) X-Trace: 665201254/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhUNAGnRdU5YaAIK/2dsb2JhbABBgkeWRY46eIFTAQEEATocMwtGOR40h1wCtRGGGGAEmFSMIw X-IronPort-AV: E=Sophos;i="4.68,400,1312153200"; d="scan'208";a="665201254" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 18 Sep 2011 12:10:44 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <4E75CDE2.6080702@optionexplicit.be> Date: Sun, 18 Sep 2011 12:10:21 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 11:11:23 -0000 On 18 Sep 2011, at 11:54, Dieter Verfaillie wrote: >=20 > Probably best to attach this to some bug report and start marking > the other TreeView DnD related reports as duplicates. Then we have > a bug report to show the maintainers (I think that's the preferred > way of working) and it's shows me mean business here ;) >=20 Can I leave that to you then, Dieter? It sounds like you're a bit more = experienced in that area than I am. >=20 >> Now to take a look at Peter's patches.... >=20 > Really good stuff in there. I can move a scrollbar handle again > even when the pointer is outside of the GtkWindow containing > said scrollbar. >=20 It might be worth my while to apply them soon then, since I've found a = problem with reverting that patch. After testing more extensively, the = only issue I've found is when I have two top-level GTK windows = (physically separated on the screen) such as a main window and child = dialog. If I try to drag something from one window to the other, the = drag cursor doesn't "travel" between the two windows. It stops at the = edge of the first GTK window and then resumes when my mouse pointer = enters the second window. This worked a lot smoother with the original = 2.20 code. I think there's a longer term solution needed to fix the new = code, rather than reverting to the old code. unless Peter's changes can = help? John= From pcjc2@cam.ac.uk Sun Sep 18 11:12:39 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 69DC3750065 for ; Sun, 18 Sep 2011 11:12:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.319 X-Spam-Level: X-Spam-Status: No, score=-4.319 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504, TW_DK=0.077, TW_GD=0.077, TW_GT=0.077, TW_HW=0.077, TW_KD=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jj22qWJI+EfD for ; Sun, 18 Sep 2011 11:12:37 +0000 (UTC) Received: from ppsw-52.csi.cam.ac.uk (ppsw-52.csi.cam.ac.uk [131.111.8.152]) by menubar.gnome.org (Postfix) with ESMTP id B713075000B for ; Sun, 18 Sep 2011 11:12:28 +0000 (UTC) X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc3-cmbg11-0-0-cust288.5-4.cable.virginmedia.com ([81.102.157.33]:57554 helo=[192.168.1.4]) by ppsw-52.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:465) with esmtpsa (LOGIN:pcjc2) (SSLv3:DHE-RSA-CAMELLIA256-SHA:256) id 1R5FIQ-0000sm-Dj (Exim 4.72) (return-path ); Sun, 18 Sep 2011 12:12:26 +0100 Subject: Re: GTK TreeView control in Windows (DND issue) From: Peter Clifton To: Dieter Verfaillie Date: Sun, 18 Sep 2011 12:12:23 +0100 In-Reply-To: <4E75274F.8020702@optionexplicit.be> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-fQ/6ai4X2/4JaOdGn1Jy" X-Mailer: Evolution 3.1.91- Message-ID: <1316344346.19465.2.camel@localhost> Mime-Version: 1.0 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 11:12:39 -0000 --=-fQ/6ai4X2/4JaOdGn1Jy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2011-09-18 at 01:03 +0200, Dieter Verfaillie wrote: > To clarify, I've ran "GDK_DEBUG=3Ddnd testtreeview.exe" for > both GTK+ versions. >=20 > Looking at the output (the gdk_drag_find_window lines are > the interesting bits), it seems dest_window is not yet > correctly determined in 2.24. With the attached test results, > I would have expected dest_window to be 0034061E but it is > 001B069A (which is drag_window). >=20 > Currently, my best guess is that the WindowFromPoint() call > doesn't give us the hwnd we're supposed to get in this case > (in gdkdnd-win32.c::gdk_drag_find_window_for_screen(), around > line 1988 with Peter's patches applied). >=20 > I suspect this might be solved by using the generalized > _gdk_get_windowing_window_at_point(er) work from your patches, > but have yet to take a closer look. I did think that at one point, but now I'm not so sure. I suspect it may actually be the grab code which is incorrect. You might need something more like the "find_window_for_mouse_event()" call in gdkevents-win32.c. > ps For future reference: GTK+ development related discussions > are better done one gtk-devel-list. You'll probably attract > more GTK+ developers/maintainers over there. There's also > a #win32 channel on irc.gnome.org in need of being repopulated > with people working on the Windows bits and pieces. Thanks. --=20 Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) --=-fQ/6ai4X2/4JaOdGn1Jy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJOddIXAAoJEOo4D/b1x+QVrrkH/RoKU7zDYucL5oK7uUztmDRQ 0rDP7G3Z7wtKXriYcOqdD9Ha7kDgaaz5L5hXu5C2rykDz+9hYMgiUhWrZIb8BP2d ulxq1pFMSFMI8xBYvzxx6qrGCk52Z3yzr9CJiKzaNfLOM6dzm5QnPxbidrBDYDwh oMmF78cLqpb8zxvEMZiPlQLHY+7ixe1DlFYn3YK5w0WN0v91cAVolFl6k6sguIc2 P1Jnlfffc8D11yKzNTem9lwVFkIqZ3+iCXLyFdT6z1MDa/84IBS6ejql1+4Y4Vji 6UV49UY9mVkijm8NKaQStdySF02w7bIIx3ZcJKjH/IBtrS4I0Bt8jWIi15pnres= =PByD -----END PGP SIGNATURE----- --=-fQ/6ai4X2/4JaOdGn1Jy-- From pcjc2@cam.ac.uk Sun Sep 18 11:14:44 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 55CE37500A8 for ; Sun, 18 Sep 2011 11:14:44 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.627 X-Spam-Level: X-Spam-Status: No, score=-4.627 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bUdYz+tan0Xt for ; Sun, 18 Sep 2011 11:14:42 +0000 (UTC) Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141]) by menubar.gnome.org (Postfix) with ESMTP id A381675007D for ; Sun, 18 Sep 2011 11:14:33 +0000 (UTC) X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc3-cmbg11-0-0-cust288.5-4.cable.virginmedia.com ([81.102.157.33]:36922 helo=[192.168.1.4]) by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:465) with esmtpsa (LOGIN:pcjc2) (SSLv3:DHE-RSA-CAMELLIA256-SHA:256) id 1R5FKR-0007R1-Qc (Exim 4.72) (return-path ); Sun, 18 Sep 2011 12:14:31 +0100 Subject: Re: GTK TreeView control in Windows (DND issue) From: Peter Clifton To: Dieter Verfaillie Date: Sun, 18 Sep 2011 12:14:28 +0100 In-Reply-To: <4E75C22C.4060208@optionexplicit.be> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <4E75C22C.4060208@optionexplicit.be> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-aiU+7cfFroTUXkIaiBWd" X-Mailer: Evolution 3.1.91- Message-ID: <1316344471.19465.3.camel@localhost> Mime-Version: 1.0 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 11:14:44 -0000 --=-aiU+7cfFroTUXkIaiBWd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2011-09-18 at 12:04 +0200, Dieter Verfaillie wrote: > On 18/09/2011 11:00, Dieter Verfaillie wrote: > > This does most likely does break the wip generic OLE DnD method > > though, but I'm not sure if we should care much about that in > > the 2.24 branch? >=20 > Cleaned up patch fixing the above. Tested various DnD > operations with testtreeview and gtk-demo. Together > with Peter's patch-set, GTK+ 2.24 is starting to behave > as it should again :) Unfortunately, my patches still don't fix the pointer grab case correctly. (Menus don't work correctly with GDK_NATIVE_WINDOWS=3D1) Glad to see there are others working to get GTK 2.24 up and running on Win32 again. Best wishes, --=20 Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) --=-aiU+7cfFroTUXkIaiBWd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJOddKUAAoJEOo4D/b1x+QVwDwH/RNLhnj+F9B5ly1UnQsqsSVf MgP2ASWgtGx10skWfiIvT4a2t/gjB6OO2DPvam2kCcrenahKiEuugWhbX/7xIwqm BKaKArkis1X/PnUZLGh1phpW/WvFiqpbvdoA5DiL29CCCXmWcFiXpy7zgPvzHUJv pEQF1TdAkfAtlNyMkt5kOopqMk71/fdBA1MXTbfoemSSrYw3flsDHjou01QLIls9 gJtIoeiMuMaoPUu2BsplwvmFyqAX+hJA/hF70iIp7JqaTMLs2SsFmAy4zwW3lTey 8LqgSMRoIvoLjDhKLSuuPa7J/YNnXEdnL7mFX/RHEcK3PNPxLhuKwG6M6TZyKdo= =srms -----END PGP SIGNATURE----- --=-aiU+7cfFroTUXkIaiBWd-- From dieterv@optionexplicit.be Sun Sep 18 11:40:13 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B1E69750065 for ; Sun, 18 Sep 2011 11:40:13 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AlqUZExuoIxd for ; Sun, 18 Sep 2011 11:40:11 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id A1E8975000B for ; Sun, 18 Sep 2011 11:40:02 +0000 (UTC) Received: from [213.118.217.127] (dD576D97F.access.telenet.be [213.118.217.127]) by smtp.webfaction.com (Postfix) with ESMTP id 2ED0C59A2A4F; Sun, 18 Sep 2011 06:40:00 -0500 (CDT) Message-ID: <4E75D88A.2010000@optionexplicit.be> Date: Sun, 18 Sep 2011 13:39:54 +0200 From: Dieter Verfaillie User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> In-Reply-To: X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 11:40:13 -0000 On 18/09/2011 13:10, John Emmas wrote: > Can I leave that to you then, Dieter? It sounds like you're a > bit more experienced in that area than I am. Sure. I'll start looking into it this afternoon/evening. Feel free to still drop by on irc.gnome.org though (#win32 should serve us well to prepare all this). Always better having 2 pair of eyes going over bugzilla :) I'm there as dieterv (or dieterv_afk when real life requires my attention). > It might be worth my while to apply them soon then, since I've found > a problem with reverting that patch. After testing more extensively, > the only issue I've found is when I have two top-level GTK windows > (physically separated on the screen) such as a main window and child > dialog. If I try to drag something from one window to the other, the > drag cursor doesn't "travel" between the two windows. It stops at the > edge of the first GTK window and then resumes when my mouse pointer > enters the second window. This worked a lot smoother with the > original 2.20 code. I think there's a longer term solution needed to > fix the new code, rather than reverting to the old code. unless > Peter's changes can help? If you mean the drag preview thing that sits under the pointer while dragging then yes, it continues to follow the pointer even when it leaves the bounds of the parent GtkWindow with Peter's patches applied. Don't attempt applying those manually though, have a look at http://code.google.com/p/msysgit/downloads/list and save yourself some manual labor. I've been using the PortableGit flavor more than a year now and it has served me well :) mvg, Dieter From johne53@tiscali.co.uk Sun Sep 18 11:45:48 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1BD1A750065 for ; Sun, 18 Sep 2011 11:45:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.217 X-Spam-Level: X-Spam-Status: No, score=-2.217 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MjJL6vwonNLh for ; Sun, 18 Sep 2011 11:45:45 +0000 (UTC) Received: from mk-filter-4-a-1.mail.uk.tiscali.com (mk-filter-4-a-1.mail.tiscali.co.uk [212.74.100.55]) by menubar.gnome.org (Postfix) with ESMTP id 0859375000B for ; Sun, 18 Sep 2011 11:45:36 +0000 (UTC) X-Trace: 665211969/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AocNAKvZdU5YaAIK/2dsb2JhbABBgkeWRYcSAYcneIFTAQEEAVYYGwsEQjkQAQ2IEAKjbJEyhhhgBJhUjCM X-IronPort-AV: E=Sophos;i="4.68,400,1312153200"; d="scan'208,217";a="665211969" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 18 Sep 2011 12:45:15 +0100 From: John Emmas Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-1-884182011 Subject: Re: GTK TreeView control in Windows (DND issue) Date: Sun, 18 Sep 2011 12:45:14 +0100 In-Reply-To: <1316344471.19465.3.camel@localhost> To: gtk-list@gnome.org References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <4E75C22C.4060208@optionexplicit.be> <1316344471.19465.3.camel@localhost> Message-Id: <6FD3092F-B880-4DC4-A1E1-7AC2CBC9BA9C@tiscali.co.uk> X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 11:45:48 -0000 --Apple-Mail-1-884182011 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 18 Sep 2011, at 00:03, Dieter Verfaillie wrote: >=20 > ps For future reference: GTK+ development related discussions > are better done one gtk-devel-list. You'll probably attract > more GTK+ developers/maintainers over there. There's also > a #win32 channel on irc.gnome.org in need of being repopulated > with people working on the Windows bits and pieces. >=20 > Also, for "GNOME Platform" [1] windows related development > discussions, there's the brand new and shiny windows-devel-list > mailing list. >=20 On 18 Sep 2011, at 12:14, Peter Clifton wrote: >=20 > Glad to see there are others working to get GTK 2.24 up and running on > Win32 again. >=20 I think you've both hit the nail on the head there. There's a tendency = for gtk-windows users to feel very isolated. I moved to GTK+ after a = lengthy period of using Microsoft's MFC and I wouldn't dream of going = back to MFC again (despite GTK's infuriating memory leaks!!). But for a = long time I genuinely felt as if I was the only person developing for = Windows using GTK+. It's great to know that others share my enthusiasm = for GTK+ on Windows.! John= --Apple-Mail-1-884182011 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

ps = For future reference: GTK+ development related discussions
are better = done one gtk-devel-list. You'll probably attract
more GTK+ = developers/maintainers over there. There's also
a #win32 channel on = irc.gnome.org in need of being = repopulated
with people working on the Windows bits and = pieces.

Also, for "GNOME Platform" [1] windows related = development
discussions, there's the brand new and shiny = windows-devel-list
mailing = list.



On 18 = Sep 2011, at 12:14, Peter Clifton wrote:


Glad to see there are others = working to get GTK 2.24 up and running on
Win32 = again.


I think you've both hit the = nail on the head there.  There's a tendency for gtk-windows users = to feel very isolated.  I moved to GTK+ after a lengthy period of = using Microsoft's MFC and I wouldn't dream of going back to MFC again = (despite GTK's infuriating memory leaks!!).  But for a long time I = genuinely felt as if I was the only person developing for Windows using = GTK+.  It's great to know that others share my enthusiasm for GTK+ = on Windows.!

John
= --Apple-Mail-1-884182011-- From desrt@desrt.ca Sun Sep 18 14:47:21 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 5FA5C75005B; Sun, 18 Sep 2011 14:47:21 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.404 X-Spam-Level: X-Spam-Status: No, score=-2.404 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DRCeXodFXoJn; Sun, 18 Sep 2011 14:47:18 +0000 (UTC) Received: from mail.desrt.ca (manic.desrt.ca [207.192.74.61]) by menubar.gnome.org (Postfix) with ESMTP id A1F4C75002C; Sun, 18 Sep 2011 14:47:10 +0000 (UTC) Received: from [172.16.0.159] (173-230-190-244.cable.teksavvy.com [173.230.190.244]) by manic.desrt.ca (Postfix) with ESMTPSA id 7519080BE; Sun, 18 Sep 2011 09:47:08 -0500 (EST) Subject: GLib 2.29.92 From: Ryan Lortie To: gtk-devel-list@gnome.org, gnome-announce-list@gnome.org, gtk-app-devel-list@gnome.org, gtk-list@gnome.org Date: Sun, 18 Sep 2011 10:47:07 -0400 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.0.2 (3.0.2-3.fc15) Content-Transfer-Encoding: 8bit Message-ID: <1316357228.10313.6.camel@moonpix.lan> Mime-Version: 1.0 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gtk-devel-list@gnome.org List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 14:47:21 -0000 hi all, GLib 2.29.92 has been released. This release is intended to be included as part of GNOME 3.1.92. http://download.gnome.org/sources/glib/2.29/ 1f68d7990d03a52cf81284f039de94b041c3f5eb3d53663166b31e477557e8b1 glib-2.29.92.tar.xz 2.30.0 will be released on or slightly before September 26th. Overview of changes from GLib 2.29.90 to 2.29.92 ================================================ This release contains only bugfixes, docs changes and translations updates. Translation will continue, but otherwise this should be considered a release candidate for 2.30.0. * GDBus bug fixes - fix segfault when remote property is invalidated (#659070) - take more care in connection teardown to avoid use-after-free (#651268) * GMappedFile: return an error when trying to map a device (#659212) * GSettings: always deliver signals to the correct thread (#657255) * some small documentation changes * Translation updates: Belarusian Brazilian Portuguese British English French Hindi Hungarian Italian Japanese Latvian Norwegian bokmål Persian Polish Punjabi Russian Simplified Chinese Spanish Swedish Tamil Thank you to the contributors to this release: A S Alam Alexandre Franke Antonio Fernandes C. Neto Arash Mousavi Aron Xu Bruce Cowan Daniel Mustieles Daniel Nylander David Zeuthen Gabor Kelemen I Felix Ihar Hrachyshka Jiro Matsuzawa Jorge González Josselin Mouette Kjartan Maraas Luca Ferretti Matthias Clasen Piotr Drąg Rajesh Ranjan Rudolfs Mazurs Simon McVittie Tomas Bzatek Yuri Myasoedov Cheers From dieterv@optionexplicit.be Sun Sep 18 20:29:09 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id AA95975004D for ; Sun, 18 Sep 2011 20:29:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GXsU0sNl0PeC for ; Sun, 18 Sep 2011 20:29:07 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id 7E08175002C for ; Sun, 18 Sep 2011 20:28:58 +0000 (UTC) Received: from [213.118.217.127] (dD576D97F.access.telenet.be [213.118.217.127]) by smtp.webfaction.com (Postfix) with ESMTP id E15FF59A2784; Sun, 18 Sep 2011 15:28:56 -0500 (CDT) Message-ID: <4E765485.9070308@optionexplicit.be> Date: Sun, 18 Sep 2011 22:28:53 +0200 From: Dieter Verfaillie User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E75D88A.2010000@optionexplicit.b e> In-Reply-To: <4E75D88A.2010000@optionexplicit.be> X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2011 20:29:09 -0000 On 18/09/2011 13:39, Dieter Verfaillie wrote: > On 18/09/2011 13:10, John Emmas wrote: >> Can I leave that to you then, Dieter? It sounds like you're a >> bit more experienced in that area than I am. > > Sure. I'll start looking into it this afternoon/evening. Well, things never seem to go the way I'd want to so if all goes well it'll be tomorrow instead... mvg, Dieter From jonathan.s.shapiro@gmail.com Mon Sep 19 04:39:39 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6A3907501EF for ; Mon, 19 Sep 2011 04:39:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.589 X-Spam-Level: X-Spam-Status: No, score=-2.589 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n9wOJ0aIKB10 for ; Mon, 19 Sep 2011 04:39:37 +0000 (UTC) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by menubar.gnome.org (Postfix) with ESMTP id B6221750122 for ; Mon, 19 Sep 2011 04:39:28 +0000 (UTC) Received: by eyg7 with SMTP id 7so3603428eyg.27 for ; Sun, 18 Sep 2011 21:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=ClhTrbr+5YBTzkbAwZ7Z7DZ8+SthvbST3dCs7/fjOVs=; b=LBfpL4Ofdsp0yTmBhB3mWSTq1Z1C4b/IpE4zw5DE2IwN57ZUtsPIPViVvBQiKRsryg 5nlvlBRoq3MrAjuXz3Icdz57ejFglvZZVTQ8nINIge/PUXX1Nm9QnVKAZfY70RKDqCw1 isefNke54ARtdGkOGQvP3aCHNJWlC8o3gscCk= MIME-Version: 1.0 Received: by 10.14.20.65 with SMTP id o41mr600091eeo.55.1316407166399; Sun, 18 Sep 2011 21:39:26 -0700 (PDT) Sender: jonathan.s.shapiro@gmail.com Received: by 10.14.53.67 with HTTP; Sun, 18 Sep 2011 21:39:26 -0700 (PDT) Date: Sun, 18 Sep 2011 21:39:26 -0700 X-Google-Sender-Auth: O0ZaLKK23bBCfsOP1oHH2PahbZ0 Message-ID: Subject: Stable cross-platform version? From: "Jonathan S. Shapiro" To: gtk-list@gnome.org Content-Type: multipart/alternative; boundary=0016e6d625f088761404ad43eddd X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 04:39:39 -0000 --0016e6d625f088761404ad43eddd Content-Type: text/plain; charset=ISO-8859-1 I'm new, and I'm willing to work on the issues I'm about to raise, but I could use some guidance. We're building a cross-platform app, and it would be nice to be on the latest "stable" version of GTK+. On the main page, that appears to be GTK+3.0 with GLib 2.28, *but*: - The Windows binary installers still seem to be for GTK+ 2.22.1 - GTKMM binary installers are similarly out of date - There seem to be build problems on OS X Lion These facts are disheartening, since they raise questions about whether the non-Linux platforms are being maintained. As I say, we are very willing to contribute and to help actively, but I'm too new to GTK+ to feel comfortable with the current version discrepancies. I can get the current stable versions packaged, if necessary, but for Win7 I'm kind of surprised that this hasn't already happened. Here are my immediate questions: 1. For people doing cross-platform work, which branch should be viewed as "current-stable", in the sense that it is current and stable **and available on all platforms**? 2. Should we give up on the binary packages and work from source? 3. Why don't GTK+ 3 binary and dev packages exist for Windows? Are people just being conservative about moving forward from GTK+ 2.22? Too much to do with limited time? Lack of interest? 4. What is the significance of GDK-Quartz? Can GTK+ be used practically given it's current state? If it's just that the packages haven't been built yet, I might be willing to volunteer, and I'd *certainly* be willing to write up a refreshed "getting started" note for people who are trying to work cross-platform. But before I go volunteering to do something that isn't actually helpful, I'd like to understand better what the current state of things really is and how to address it *usefully*. Can anybody shed some light? Thank you in advance. Jonathan --0016e6d625f088761404ad43eddd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm new, and I'm willing to work on the issues I'm about to rai= se, but I could use some guidance.

We're building a = cross-platform app, and it would be nice to be on the latest "stable&q= uot; version of GTK+. On the main page, that appears to be GTK+3.0 with GLi= b 2.28, *but*:

=A0 - The Windows binary installers still seem to be fo= r GTK+ 2.22.1
=A0 - GTKMM binary installers are similarly out of = date
=A0 - There seem to be build problems on OS X Lion

These facts are disheartening, since they raise questions about = whether the non-Linux platforms are being maintained. As I say, we are very= willing to contribute and to help actively, but I'm too new to GTK+ to= feel comfortable with the current version discrepancies. I can get the cur= rent stable versions packaged, if necessary, but for Win7 I'm kind of s= urprised that this hasn't already happened.

Here are my immediate questions:

1. For people doing cross-platform work, which branch should be viewed a= s "current-stable", in the sense that it is current and stable = =A0**and available on all platforms**?
2. Should we give up on the binary packages and work from source?
3. Why don't GTK+ 3 binary and dev packages exist for Windows? Ar= e people just being conservative about moving forward from GTK+ 2.22? Too m= uch to do with limited time? Lack of interest?
4. What is the significance of GDK-Quartz? Can GTK+ be used practicall= y given it's current state?

If it's just t= hat the packages haven't been built yet, I might be willing to voluntee= r, and I'd *certainly* be willing to write up a refreshed "getting= started" note for people who are trying to work cross-platform.

But before I go volunteering to do something that isn&#= 39;t actually helpful, I'd like to understand better what the current s= tate of things really is and how to address it *usefully*. Can anybody shed= some light?

Thank you in advance.


Jonathan
--0016e6d625f088761404ad43eddd-- From dieterv@optionexplicit.be Mon Sep 19 08:06:09 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6BE527501FA for ; Mon, 19 Sep 2011 08:06:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.671 X-Spam-Level: X-Spam-Status: No, score=-1.671 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, SARE_SUB_ENC_UTF8=0.152, TW_GT=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2RUlB-YQ36o9 for ; Mon, 19 Sep 2011 08:06:06 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id 8E409750127 for ; Mon, 19 Sep 2011 08:05:58 +0000 (UTC) Received: from webmail.webfaction.com (wf2.webfaction.com [174.133.50.206]) by smtp.webfaction.com (Postfix) with ESMTP id 75FEA59A4213; Mon, 19 Sep 2011 03:05:56 -0500 (CDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 19 Sep 2011 10:05:56 +0200 From: dieterv To: "Jonathan S. Shapiro" Subject: Re: Stable cross-platform =?UTF-8?Q?version=3F?= In-Reply-To: References: Message-ID: <76fa982fa12fd9d9bd2d6419d376a4f8@mail.webfaction.com> X-Sender: dieterv@optionexplicit.be User-Agent: Roundcube Webmail/0.5.4 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 08:06:09 -0000 On Sun, 18 Sep 2011 21:39:26 -0700, Jonathan S. Shapiro wrote: > I'm new, and I'm willing to work on the issues I'm about to raise, > but > I could use some guidance. > > We're building a cross-platform app, and it would be nice to be on > the > latest "stable" version of GTK+. On the main page, that appears to be > GTK+3.0 with GLib 2.28, *but*: > >   - The Windows binary installers still seem to be for GTK+ 2.22.1 If you're referring to the binaries on ftp.gnome.org/www.gtk.org, then I'll update these to GTK+ 2.24.5 (hopefully) somewhere this week. If you can't wait they are currently living here: https://github.com/dieterv/legacynativebuilds/downloads Building 2.24.6 is on my TODO list (don't seem to have received a release announcement for this one?). I've volunteered to continue maintenance for these MinGW builds for GTK+ 2.24 only, because there's still loads of software out there that depend on the way things are done in these builds. But if you're starting a new project, maybe it's best to read the following paragraphs: There are also other options. For example there's a treasure trove of both 32 and 64 bit Windows binaries built by the Open Build Service here: https://build.opensuse.org/project/show?project=windows%3Amingw%3Awin32 https://build.opensuse.org/project/show?project=windows%3Amingw%3Awin64 And an automated download script here: http://lists.opensuse.org/opensuse-mingw/2011-03/msg00020.html http://www.bosmans.ch/pulseaudio/download-mingw-rpm.py >   - GTKMM binary installers are similarly out of date >   - There seem to be build problems on OS X Lion Can't help you with these, sorry. > These facts are disheartening, since they raise questions about > whether the non-Linux platforms are being maintained. There are very few people left actively working on the windows port. But recently it looks like more people are starting to realize GTK+ needs all the help it can get. As a result various bugfixes for GTK+ 2.24 are being worked on. I'm very interested in forward porting these fixes to GTK+ 3 (and I'm sure others are too), but properly testing these things take time. > Here are my immediate questions: > > 1. For people doing cross-platform work, which branch should be > viewed > as "current-stable", in the sense that it is current and stable >  **and available on all platforms**? I'd say if current efforts continue GTK+ 2.24. If all our patches get rejected (not likely, but you never know) 2.16 is still the most stable/functional/bugfree branch on Windows. > 2. Should we give up on the binary packages and work from source? I you truly plan on contributing (as I said, we need all the help we can get with the Windows port!), having a source tree around is inevitable. > 3. Why don't GTK+ 3 binary and dev packages exist for Windows? Are > people just being conservative about moving forward from GTK+ 2.22? > Too much to do with limited time? Lack of interest? > 4. What is the significance of GDK-Quartz? Can GTK+ be used > practically given it's current state? GTK+ 3 in it's current state is barely usable on Windows. OBS provides builds (see links above) for 3.0.12, so you could start having a look there. > If it's just that the packages haven't been built yet, I might be > willing to volunteer, and I'd *certainly* be willing to write up a > refreshed "getting started" note for people who are trying to work > cross-platform. There's been huge discussion on gtk-devel-list last week. Including what to do with the win32/64 pages on gtk.org. You might want to catch up and read the archives: https://mail.gnome.org/archives/gtk-devel-list/2011-September/thread.html There's also a lot of information on the wiki: https://live.gnome.org/GTK%2B/Win32 We've also recently asked and received a new mailing list for windows related development that's not limited to GTK+ alone but intended to be a friendly place for hackers interested in development of all components that are part of the GNOME Platform: https://mail.gnome.org/mailman/listinfo/windows-devel-list Also, feel free to join #win32 on irc.gnome.org. It's a bit too silent in there lately! Hope this helps, mvg, Dieter From paul@linuxaudiosystems.com Mon Sep 19 10:30:12 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A4A357502FC for ; Mon, 19 Sep 2011 10:30:12 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JLFUXieaFYAr for ; Mon, 19 Sep 2011 10:30:10 +0000 (UTC) Received: from mail-vw0-f45.google.com (mail-vw0-f45.google.com [209.85.212.45]) by menubar.gnome.org (Postfix) with ESMTP id 3DB907502C1 for ; Mon, 19 Sep 2011 10:30:01 +0000 (UTC) Received: by vws17 with SMTP id 17so11973143vws.4 for ; Mon, 19 Sep 2011 03:30:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.142.79 with SMTP id p15mr573574vcu.77.1316428199934; Mon, 19 Sep 2011 03:29:59 -0700 (PDT) Received: by 10.220.193.74 with HTTP; Mon, 19 Sep 2011 03:29:59 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Sep 2011 06:29:59 -0400 Message-ID: Subject: Re: Stable cross-platform version? From: Paul Davis To: "Jonathan S. Shapiro" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 10:30:12 -0000 On Mon, Sep 19, 2011 at 12:39 AM, Jonathan S. Shapiro wr= ote: > I'm new, and I'm willing to work on the issues I'm about to raise, but I > could use some guidance. > We're building a cross-platform app, and it would be nice to be on the > latest "stable" version of GTK+. On the main page, that appears to be > GTK+3.0 with GLib 2.28, *but*: > =A0 - The Windows binary installers still seem to be for GTK+ 2.22.1 > =A0 - GTKMM binary installers are similarly out of date you really don't want these anyway for windows or OS X. > =A0 - There seem to be build problems on OS X Lion 3.0 is somewhat off the radar of most of the us who care about OS X at this point. nobody maintains the OS X or Windows ports "just because" - they normally have 1 or more apps that they need to run on those platforms. Most (particularly x-platform) apps haven't transitioned to 3.0 explicitly at this point, so we're mostly still focused on 2.24. From ashaduri@gmail.com Mon Sep 19 10:56:43 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 440467502C1 for ; Mon, 19 Sep 2011 10:56:43 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28cp6Jq3bMJC for ; Mon, 19 Sep 2011 10:56:40 +0000 (UTC) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by menubar.gnome.org (Postfix) with ESMTP id 14238750254 for ; Mon, 19 Sep 2011 10:56:31 +0000 (UTC) Received: by fxg9 with SMTP id 9so6982650fxg.27 for ; Mon, 19 Sep 2011 03:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=njddurcz1pvSUGUxFOpkzgRMeacwO3jUElHOc8bf2gc=; b=n9QnzjfUKX6DLHktvD+SEe3kF7xeJX7jUqzutc+3Xa8mfSy5FjYM8lsLg3rN5SkyIa 2an00moj/MitAkdi1tCdJ6WHAIH3T6tsB+w7NZuIdRLEEjCCO6vHEdTn5TbzZ7yvyXyw GTWAGBDhovzvCxxoC+GqSl6pjcOQ7uapR1Jhs= Received: by 10.223.52.140 with SMTP id i12mr4903697fag.149.1316429785110; Mon, 19 Sep 2011 03:56:25 -0700 (PDT) Received: from linux.localdomain (94-43-182-138.dsl.utg.ge. [94.43.182.138]) by mx.google.com with ESMTPS id e17sm21413010fae.17.2011.09.19.03.56.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Sep 2011 03:56:24 -0700 (PDT) Date: Mon, 19 Sep 2011 14:56:16 +0400 From: Alexander Shaduri To: dieterv Subject: Re: Stable cross-platform version? Message-ID: <20110919145616.0b701e8b@linux.localdomain> In-Reply-To: <76fa982fa12fd9d9bd2d6419d376a4f8@mail.webfaction.com> References: <76fa982fa12fd9d9bd2d6419d376a4f8@mail.webfaction.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 10:56:43 -0000 Hello, On Mon, 19 Sep 2011 10:05:56 +0200 dieterv wrote: > If you're referring to the binaries on ftp.gnome.org/www.gtk.org, then > I'll > update these to GTK+ 2.24.5 (hopefully) somewhere this week. If you > can't > wait they are currently living here: > https://github.com/dieterv/legacynativebuilds/downloads Thanks a lot for these packages! Could you please indicate somewhere which versions of gcc/binutils/ mingw-runtime/etc... you used to build those? The thing is that sometimes there are minor compatibility problems between the versions, so it would be great to know the exact versions to rule out the incompatibility in case of problems. Are you using mingw or mingw-w64? A file in gtk+-bundle describing the versions would be ideal. Thanks! > There are also other options. For example there's a treasure trove of > both 32 and 64 bit Windows binaries built by the Open Build Service > here: > https://build.opensuse.org/project/show?project=windows%3Amingw%3Awin32 > https://build.opensuse.org/project/show?project=windows%3Amingw%3Awin64 I'm not exactly familiar with these, are they binary compatible with your zip files? Thanks, Alexander From yeti@physics.muni.cz Mon Sep 19 11:42:02 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B2874750254 for ; Mon, 19 Sep 2011 11:42:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.704 X-Spam-Level: X-Spam-Status: No, score=-4.704 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0LOyiDd8nXiS for ; Mon, 19 Sep 2011 11:41:59 +0000 (UTC) Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by menubar.gnome.org (Postfix) with ESMTP id 8056F750108 for ; Mon, 19 Sep 2011 11:41:50 +0000 (UTC) Received: from monoceros.physics.muni.cz (postfix@monoceros.physics.muni.cz [147.251.27.2]) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id p8JBfkdY002542 for ; Mon, 19 Sep 2011 13:41:48 +0200 Received: by monoceros.physics.muni.cz (Postfix, from userid 16809) id EB9B9C1B830; Mon, 19 Sep 2011 13:41:46 +0200 (CEST) Date: Mon, 19 Sep 2011 13:41:46 +0200 From: David =?utf-8?B?TmXEjWFz?= To: gtk-list@gnome.org Subject: Interface data/multiple inheritance Message-ID: <20110919114146.GG2957@physics.muni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Muni-Spam-TestIP: 147.251.27.2 X-Muni-Envelope-From: yeti@physics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Mon, 19 Sep 2011 13:41:48 +0200 (CEST) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 11:42:02 -0000 Hello, GObject does not support multiple inheritance. GInterface cannot have any data members (g_type_class_add_private() is not possible either). Is there any other way to create a class that has is-a relation to two classes/interfaces/whatever that each carries data? I have control over all the classes/interfaces involved. The thing I want to avoid is replication of identical code handling the data that logically goes with the interface in each class that implements the interface. Yeti From dieterv@optionexplicit.be Mon Sep 19 18:55:54 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E07C875017D for ; Mon, 19 Sep 2011 18:55:54 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nNT1SKLAyQX6 for ; Mon, 19 Sep 2011 18:55:51 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id CA64B7500DC for ; Mon, 19 Sep 2011 18:55:43 +0000 (UTC) Received: from [213.118.220.41] (dD576DC29.access.telenet.be [213.118.220.41]) by smtp.webfaction.com (Postfix) with ESMTP id 1B59859A281A; Mon, 19 Sep 2011 13:55:40 -0500 (CDT) Message-ID: <4E779028.8010200@optionexplicit.be> Date: Mon, 19 Sep 2011 20:55:36 +0200 From: Dieter Verfaillie User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> In-Reply-To: X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 18:55:55 -0000 On 18/09/2011 13:10, John Emmas wrote: > On 18 Sep 2011, at 11:54, Dieter Verfaillie wrote: > >> >> Probably best to attach this to some bug report and start marking >> the other TreeView DnD related reports as duplicates. Then we have >> a bug report to show the maintainers (I think that's the preferred >> way of working) and it's shows me mean business here ;) >> > Can I leave that to you then, Dieter? It sounds like you're a bit more experienced in that area than I am. Did some more test last night and this is more general than just TreeView DnD being broken. The moment any drag icon is below the pointer things break. It's just more evident with TreeView DnD because it sets a huge "icon" and explicitly places it at the center of the pointer. Other GTK+ widgets' DnD operations do not do this AFAIK. Confirmed our patch fixes other cases of a drag icon being below the pointer. Searched bugzilla and learned somebody else already discovered which commit broke DnD behavior. It had a patch to simply revert that commit, but that's a no go (loosing the OLE2 DnD work that's there, even if not functional, would be a great loss IMHO). Sad there's over 3000 bugs for the GTK+ product in bugzilla. We could have saved ourselves some time debugging. Oh wel ;) So took hold of https://bugzilla.gnome.org/show_bug.cgi?id=616544 , marked duplicates and attached our patch. Then asked for review on #win32 (before pestering a GTK+ maintainer on #gtk+). pbor had some remarks (thanks & fixed), tml dropped by (requested by Fridrich). Fridrich made me extremely nervous by doing that! I'd rather have respected tml's choice of no longer working on the win32 port of GTK+. Got over it though ;) Had a nice chat with tml, he didn't remember much from the days when he committed the patch that broke DnD and didn't see anything obviously wrong with the patch we are now proposing to fix it up again. Good! Will go seek a GTK+ maintainer now on #gtk+. Add yourself to the CC list of bug #616544 if you want to keep informed, I'll no longer notify this list about this particular issue. Also had a look at forward porting this to gtk3. Sadly, win32 DnD is completely broken in new and exciting ways. Something for another day though... mvg, Dieter From doug.blank@gmail.com Mon Sep 19 20:05:21 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 79E6575034C for ; Mon, 19 Sep 2011 20:05:21 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9JM-Eowzd90w for ; Mon, 19 Sep 2011 20:05:18 +0000 (UTC) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by menubar.gnome.org (Postfix) with ESMTP id 0326F750092 for ; Mon, 19 Sep 2011 20:05:09 +0000 (UTC) Received: by fxg9 with SMTP id 9so7987526fxg.27 for ; Mon, 19 Sep 2011 13:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=kaMwBybBjIBm1/YBHYoiR2uGBTX2ef0naLFRiNmQHlg=; b=sJBR5PfjeucaIv/3SOSMCNIwPn4q6pMyWyEfiBCOAc/ZEOYYKOXa8SSpaZRlfX1+Ju rA+aobA0KP5D3lmdjwxHsaKEiYhcbwCTREko2agJxxbHc6afJ7pW7gZoZIIfZWB4qJ+u XwYxWPF+y31NgkJVhRb49RvD6qmz2xRZuFZNA= MIME-Version: 1.0 Received: by 10.223.33.145 with SMTP id h17mr5650034fad.130.1316462707682; Mon, 19 Sep 2011 13:05:07 -0700 (PDT) Received: by 10.223.63.7 with HTTP; Mon, 19 Sep 2011 13:05:07 -0700 (PDT) In-Reply-To: <4E779028.8010200@optionexplicit.be> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.be> Date: Mon, 19 Sep 2011 16:05:07 -0400 Message-ID: Subject: Re: GTK TreeView control in Windows (DND issue) From: Doug Blank To: Dieter Verfaillie Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 20:05:21 -0000 On Mon, Sep 19, 2011 at 2:55 PM, Dieter Verfaillie wrote: > On 18/09/2011 13:10, John Emmas wrote: >> On 18 Sep 2011, at 11:54, Dieter Verfaillie wrote: >> >>> >>> Probably best to attach this to some bug report and start marking >>> the other TreeView DnD related reports as duplicates. Then we have >>> a bug report to show the maintainers (I think that's the preferred >>> way of working) and it's shows me mean business here ;) >>> >> Can I leave that to you then, Dieter? =A0It sounds like you're a bit mor= e experienced in that area than I am. > > Did some more test last night and this is more general than just > TreeView DnD being broken. The moment any drag icon is below the > pointer things break. It's just more evident with TreeView DnD > because it sets a huge "icon" and explicitly places it at the > center of the pointer. Other GTK+ widgets' DnD operations do > not do this AFAIK. > > Confirmed our patch fixes other cases of a drag icon being below > the pointer. > > Searched bugzilla and learned somebody else already discovered > which commit broke DnD behavior. It had a patch to simply > revert that commit, but that's a no go (loosing the OLE2 DnD > work that's there, even if not functional, would be a great > loss IMHO). > > Sad there's over 3000 bugs for the GTK+ product in bugzilla. We > could have saved ourselves some time debugging. Oh wel ;) > > So took hold of https://bugzilla.gnome.org/show_bug.cgi?id=3D616544 , > marked duplicates and attached our patch. Then asked for review on > #win32 (before pestering a GTK+ maintainer on #gtk+). > > pbor had some remarks (thanks & fixed), tml dropped by (requested > by Fridrich). Fridrich made me extremely nervous by doing that! > I'd rather have respected tml's choice of no longer working on > the win32 port of GTK+. Got over it though ;) > > Had a nice chat with tml, he didn't remember much from the days > when he committed the patch that broke DnD and didn't see anything > obviously wrong with the patch we are now proposing to fix it up > again. Good! > > Will go seek a GTK+ maintainer now on #gtk+. Add yourself to the > CC list of bug #616544 if you want to keep informed, I'll no longer > notify this list about this particular issue. Thanks all! BTW, do you think that these fixes will have any effect on Mac OSX? I am getting the same behavior there, and am hopeful that we can restore functionality there too. -Doug > Also had a look at forward porting this to gtk3. Sadly, win32 DnD is > completely broken in new and exciting ways. Something for another day > though... > > mvg, > Dieter > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-list > From paul@linuxaudiosystems.com Mon Sep 19 20:11:04 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D86E77503F2 for ; Mon, 19 Sep 2011 20:11:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.523 X-Spam-Level: X-Spam-Status: No, score=-2.523 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SmgnnbQt-vwn for ; Mon, 19 Sep 2011 20:11:03 +0000 (UTC) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by menubar.gnome.org (Postfix) with ESMTP id 3A2B37503E8 for ; Mon, 19 Sep 2011 20:10:54 +0000 (UTC) Received: by yia13 with SMTP id 13so4585025yia.27 for ; Mon, 19 Sep 2011 13:10:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.30.47 with SMTP id p15mr2614061vdh.130.1316463053401; Mon, 19 Sep 2011 13:10:53 -0700 (PDT) Received: by 10.220.193.74 with HTTP; Mon, 19 Sep 2011 13:10:52 -0700 (PDT) In-Reply-To: References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.be> Date: Mon, 19 Sep 2011 16:10:52 -0400 Message-ID: Subject: Re: GTK TreeView control in Windows (DND issue) From: Paul Davis To: Doug Blank Content-Type: text/plain; charset=ISO-8859-1 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 20:11:05 -0000 On Mon, Sep 19, 2011 at 4:05 PM, Doug Blank wrote: > BTW, do you think that these fixes will have any effect on Mac OSX? I > am getting the same behavior there, and am hopeful that we can restore > functionality there too. which behaviour? DnD on OS X with 2.24 built with the gtk-osx moduleset works fine for me. From doug.blank@gmail.com Mon Sep 19 20:43:04 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B69D8750334 for ; Mon, 19 Sep 2011 20:43:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7k6Q-9QVo0Vl for ; Mon, 19 Sep 2011 20:43:02 +0000 (UTC) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by menubar.gnome.org (Postfix) with ESMTP id 92148750092 for ; Mon, 19 Sep 2011 20:42:54 +0000 (UTC) Received: by fxg9 with SMTP id 9so8050818fxg.27 for ; Mon, 19 Sep 2011 13:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FHdTUSgnw5yFRWBwyVF+0GcbhBO6xf332SCo/R7q0FA=; b=KRgayGFTj+kaevaKxw+2XOE+0qRXxR1GTul3JCYd4oelLo/lSyDDTBWPrOyoYJMPK3 GUjERQAXHwZ8TfLwKe+RCTVuqKqMM7GSWATF7xG5wGxQ9JSjiIImtAJxdEJKJIHpoQwH +P/670RHbv7gnQWkRvAhqtx4NVsKaYQlZISLI= MIME-Version: 1.0 Received: by 10.223.33.145 with SMTP id h17mr5700957fad.130.1316464972310; Mon, 19 Sep 2011 13:42:52 -0700 (PDT) Received: by 10.223.63.7 with HTTP; Mon, 19 Sep 2011 13:42:52 -0700 (PDT) In-Reply-To: References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.be> Date: Mon, 19 Sep 2011 16:42:52 -0400 Message-ID: Subject: Re: GTK TreeView control in Windows (DND issue) From: Doug Blank To: Paul Davis Content-Type: text/plain; charset=ISO-8859-1 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 20:43:04 -0000 On Mon, Sep 19, 2011 at 4:10 PM, Paul Davis wrote: > On Mon, Sep 19, 2011 at 4:05 PM, Doug Blank wrote: > >> BTW, do you think that these fixes will have any effect on Mac OSX? I >> am getting the same behavior there, and am hopeful that we can restore >> functionality there too. > > which behaviour? DnD on OS X with 2.24 built with the gtk-osx > moduleset works fine for me. Behavior: Dragging and dropping an item from a Gtk.TreeView doesn't work. I'm using the Mono + Gtk from the standard Mono download, which was Mono 2.10.4 with Gtk 2.12: http://www.go-mono.com/mono-downloads/download.html Is there a better place to get Mono + Gtk for the Mac? -Doug From dieterv@optionexplicit.be Mon Sep 19 21:00:49 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6123875017D for ; Mon, 19 Sep 2011 21:00:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1JGcJZVoWdCq for ; Mon, 19 Sep 2011 21:00:47 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id DCEE0750093 for ; Mon, 19 Sep 2011 21:00:39 +0000 (UTC) Received: from [213.118.220.41] (dD576DC29.access.telenet.be [213.118.220.41]) by smtp.webfaction.com (Postfix) with ESMTP id F14906993798; Mon, 19 Sep 2011 16:00:36 -0500 (CDT) Message-ID: <4E77AD71.1080800@optionexplicit.be> Date: Mon, 19 Sep 2011 23:00:33 +0200 From: Dieter Verfaillie User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Doug Blank Subject: Re: GTK TreeView control in Windows (DND issue) References: <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.be> In-Reply-To: X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 21:00:49 -0000 On 19/09/2011 22:05, Doug Blank wrote: > BTW, do you think that these fixes will have any effect on Mac OSX? I > am getting the same behavior there, and am hopeful that we can restore > functionality there too. No, these are specific to the win32 GDK backend. Sorry. mvg, Dieter From paul@linuxaudiosystems.com Mon Sep 19 21:57:02 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E14E57500E0 for ; Mon, 19 Sep 2011 21:57:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.523 X-Spam-Level: X-Spam-Status: No, score=-2.523 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P86lRrRPuQPI for ; Mon, 19 Sep 2011 21:57:01 +0000 (UTC) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by menubar.gnome.org (Postfix) with ESMTP id 1044675008C for ; Mon, 19 Sep 2011 21:56:52 +0000 (UTC) Received: by gyf2 with SMTP id 2so7047713gyf.27 for ; Mon, 19 Sep 2011 14:56:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.27.6 with SMTP id p6mr36290vdg.63.1316469411332; Mon, 19 Sep 2011 14:56:51 -0700 (PDT) Received: by 10.220.193.74 with HTTP; Mon, 19 Sep 2011 14:56:51 -0700 (PDT) In-Reply-To: References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.be> Date: Mon, 19 Sep 2011 17:56:51 -0400 Message-ID: Subject: Re: GTK TreeView control in Windows (DND issue) From: Paul Davis To: Doug Blank Content-Type: text/plain; charset=ISO-8859-1 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 21:57:03 -0000 On Mon, Sep 19, 2011 at 4:42 PM, Doug Blank wrote: > On Mon, Sep 19, 2011 at 4:10 PM, Paul Davis wrote: >> On Mon, Sep 19, 2011 at 4:05 PM, Doug Blank wrote: >> >>> BTW, do you think that these fixes will have any effect on Mac OSX? I >>> am getting the same behavior there, and am hopeful that we can restore >>> functionality there too. >> >> which behaviour? DnD on OS X with 2.24 built with the gtk-osx >> moduleset works fine for me. > > Behavior: Dragging and dropping an item from a Gtk.TreeView doesn't work. from a treeview to some other widget? or from a treeview to the same treeview? GTK does not support DnD from treeviews to other widgets without some work by the app to provide new data types for the drag. this is true on all platforms that GTK supports. its a major limitation of the treeview as-is but working around it is not *that* hard. From paul@linuxaudiosystems.com Mon Sep 19 21:59:11 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 80B7F7500E0 for ; Mon, 19 Sep 2011 21:59:11 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.523 X-Spam-Level: X-Spam-Status: No, score=-2.523 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WX6g3ge1ehdg for ; Mon, 19 Sep 2011 21:59:08 +0000 (UTC) Received: from mail-ew0-f45.google.com (mail-ew0-f45.google.com [209.85.215.45]) by menubar.gnome.org (Postfix) with ESMTP id B28D875008C for ; Mon, 19 Sep 2011 21:58:59 +0000 (UTC) Received: by ewy28 with SMTP id 28so1167282ewy.4 for ; Mon, 19 Sep 2011 14:58:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.30.47 with SMTP id p15mr32673vdh.130.1316469536833; Mon, 19 Sep 2011 14:58:56 -0700 (PDT) Received: by 10.220.193.74 with HTTP; Mon, 19 Sep 2011 14:58:56 -0700 (PDT) In-Reply-To: References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.be> Date: Mon, 19 Sep 2011 17:58:56 -0400 Message-ID: Subject: Re: GTK TreeView control in Windows (DND issue) From: Paul Davis To: Doug Blank Content-Type: text/plain; charset=ISO-8859-1 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 21:59:11 -0000 On Mon, Sep 19, 2011 at 4:42 PM, Doug Blank wrote: > On Mon, Sep 19, 2011 at 4:10 PM, Paul Davis wrote: >> On Mon, Sep 19, 2011 at 4:05 PM, Doug Blank wrote: >> >>> BTW, do you think that these fixes will have any effect on Mac OSX? I >>> am getting the same behavior there, and am hopeful that we can restore >>> functionality there too. >> >> which behaviour? DnD on OS X with 2.24 built with the gtk-osx >> moduleset works fine for me. > > Behavior: Dragging and dropping an item from a Gtk.TreeView doesn't work. > > I'm using the Mono + Gtk from the standard Mono download, which was > Mono 2.10.4 with Gtk 2.12: > > http://www.go-mono.com/mono-downloads/download.html > > Is there a better place to get Mono + Gtk for the Mac? prebuilt? i have no idea. but i don't know why anyone would want to use Gtk 2.12 when the current 2.X version is 2.24. does 2.12 even include client-side windows? building from source? http://gtk-osx.sourceforge.net/ (possibly transitioning back toward gnome.org, or possibly not). --p From doug.blank@gmail.com Mon Sep 19 22:08:01 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 453E9750489 for ; Mon, 19 Sep 2011 22:08:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cGlWpHHkREL7 for ; Mon, 19 Sep 2011 22:07:58 +0000 (UTC) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by menubar.gnome.org (Postfix) with ESMTP id B76BC750472 for ; Mon, 19 Sep 2011 22:07:49 +0000 (UTC) Received: by fxg9 with SMTP id 9so8178213fxg.27 for ; Mon, 19 Sep 2011 15:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=oE0ymOlfoQddjb4d5vo7tiwOBNL9WDyL6uDkqcAPN2A=; b=fTrs5bF0qycuTLDXVzwvGXoka31vXmbA4z/4+7X1dTW4A/YUddcGKwdR9qApddrib1 xc3aRJI/ImBp/v3wplO/cw7R4wuSlmf0fDnuIi5QrM7qG21q5AcSEDkeapyx522NA8Ku Hifmzmca77Rey+9Cw9jFuB8tRcAhYcaOxG1X4= MIME-Version: 1.0 Received: by 10.223.52.140 with SMTP id i12mr16474fag.149.1316470067581; Mon, 19 Sep 2011 15:07:47 -0700 (PDT) Received: by 10.223.63.7 with HTTP; Mon, 19 Sep 2011 15:07:47 -0700 (PDT) In-Reply-To: References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.be> Date: Mon, 19 Sep 2011 18:07:47 -0400 Message-ID: Subject: Re: GTK TreeView control in Windows (DND issue) From: Doug Blank To: Paul Davis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 22:08:01 -0000 On Mon, Sep 19, 2011 at 5:58 PM, Paul Davis wr= ote: > On Mon, Sep 19, 2011 at 4:42 PM, Doug Blank wrote: >> On Mon, Sep 19, 2011 at 4:10 PM, Paul Davis = wrote: >>> On Mon, Sep 19, 2011 at 4:05 PM, Doug Blank wrot= e: >>> >>>> BTW, do you think that these fixes will have any effect on Mac OSX? I >>>> am getting the same behavior there, and am hopeful that we can restore >>>> functionality there too. >>> >>> which behaviour? DnD on OS X with 2.24 built with the gtk-osx >>> moduleset works fine for me. >> >> Behavior: Dragging and dropping an item from a Gtk.TreeView doesn't work= . >> >> I'm using the Mono + Gtk from the standard Mono download, which was >> Mono 2.10.4 with Gtk 2.12: >> >> http://www.go-mono.com/mono-downloads/download.html >> >> Is there a better place to get Mono + Gtk for the Mac? > > prebuilt? i have no idea. but i don't know why anyone would want to > use Gtk 2.12 when the current 2.X version is 2.24. Because we have users that install Gtk#, and then run our application, and we don't want to maintain building from source for all of the platforms. That seems straightforward. > does 2.12 even > include client-side windows? As opposed to...? > building from source? =A0http://gtk-osx.sourceforge.net/ (possibly > transitioning back toward gnome.org, or possibly not). There are just too many platforms. -Doug > --p > From doug.blank@gmail.com Mon Sep 19 22:09:49 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 58F0C7504B2 for ; Mon, 19 Sep 2011 22:09:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uaKDF0sETXFM for ; Mon, 19 Sep 2011 22:09:47 +0000 (UTC) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by menubar.gnome.org (Postfix) with ESMTP id B7FBD75049B for ; Mon, 19 Sep 2011 22:09:38 +0000 (UTC) Received: by fxg9 with SMTP id 9so8180450fxg.27 for ; Mon, 19 Sep 2011 15:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=zn9KjwtxEyi2xYjlUOeRFjSE1o/EE3L7gN67fSvcvQE=; b=RQOxnNZe5Hwxr4Jk205GdbvH4Fn41gZAqEeRfKgDzJGKj5hoZFZkKElCUOOWGsh7ht nzoc3G9PyBaAxmXkevMV952mkGlIQPnyIcf+BZUUBXWr4yd9qbYYcJTabdMnGVK8V2km zzSsai/11oCQhIlAXdZCZrDXKUTmr5KBwaz70= MIME-Version: 1.0 Received: by 10.223.62.212 with SMTP id y20mr39206fah.111.1316470176820; Mon, 19 Sep 2011 15:09:36 -0700 (PDT) Received: by 10.223.63.7 with HTTP; Mon, 19 Sep 2011 15:09:36 -0700 (PDT) In-Reply-To: References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.be> Date: Mon, 19 Sep 2011 18:09:36 -0400 Message-ID: Subject: Re: GTK TreeView control in Windows (DND issue) From: Doug Blank To: Paul Davis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 22:09:49 -0000 On Mon, Sep 19, 2011 at 5:56 PM, Paul Davis wr= ote: > On Mon, Sep 19, 2011 at 4:42 PM, Doug Blank wrote: >> On Mon, Sep 19, 2011 at 4:10 PM, Paul Davis = wrote: >>> On Mon, Sep 19, 2011 at 4:05 PM, Doug Blank wrot= e: >>> >>>> BTW, do you think that these fixes will have any effect on Mac OSX? I >>>> am getting the same behavior there, and am hopeful that we can restore >>>> functionality there too. >>> >>> which behaviour? DnD on OS X with 2.24 built with the gtk-osx >>> moduleset works fine for me. >> >> Behavior: Dragging and dropping an item from a Gtk.TreeView doesn't work= . > > from a treeview to some other widget? or from a treeview to the same tree= view? Some other widget. > GTK does not support DnD from treeviews to other widgets without some > work by the app to provide new data types for the drag. =A0this is true > on all platforms that GTK supports. its a major limitation of the > treeview as-is but working around it is not *that* hard. Works on Linux. Maybe we just need to rewrite our code to work on Windows/O= SX... -Doug From paul@linuxaudiosystems.com Mon Sep 19 22:13:34 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 83CB2750429 for ; Mon, 19 Sep 2011 22:13:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.523 X-Spam-Level: X-Spam-Status: No, score=-2.523 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CnJoL6hfZMWJ for ; Mon, 19 Sep 2011 22:13:32 +0000 (UTC) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by menubar.gnome.org (Postfix) with ESMTP id 4E9FB7500E0 for ; Mon, 19 Sep 2011 22:13:23 +0000 (UTC) Received: by gxk28 with SMTP id 28so7068729gxk.27 for ; Mon, 19 Sep 2011 15:13:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.72.17 with SMTP id z17mr29845vdu.264.1316470402199; Mon, 19 Sep 2011 15:13:22 -0700 (PDT) Received: by 10.220.193.74 with HTTP; Mon, 19 Sep 2011 15:13:22 -0700 (PDT) In-Reply-To: References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.be> Date: Mon, 19 Sep 2011 18:13:22 -0400 Message-ID: Subject: Re: GTK TreeView control in Windows (DND issue) From: Paul Davis To: Doug Blank Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 22:13:34 -0000 On Mon, Sep 19, 2011 at 6:09 PM, Doug Blank wrote: > On Mon, Sep 19, 2011 at 5:56 PM, Paul Davis = wrote: >> On Mon, Sep 19, 2011 at 4:42 PM, Doug Blank wrote= : >>> On Mon, Sep 19, 2011 at 4:10 PM, Paul Davis wrote: >>>> On Mon, Sep 19, 2011 at 4:05 PM, Doug Blank wro= te: >>>> >>>>> BTW, do you think that these fixes will have any effect on Mac OSX? I >>>>> am getting the same behavior there, and am hopeful that we can restor= e >>>>> functionality there too. >>>> >>>> which behaviour? DnD on OS X with 2.24 built with the gtk-osx >>>> moduleset works fine for me. >>> >>> Behavior: Dragging and dropping an item from a Gtk.TreeView doesn't wor= k. >> >> from a treeview to some other widget? or from a treeview to the same tre= eview? > > Some other widget. > >> GTK does not support DnD from treeviews to other widgets without some >> work by the app to provide new data types for the drag. =A0this is true >> on all platforms that GTK supports. its a major limitation of the >> treeview as-is but working around it is not *that* hard. > > Works on Linux. Maybe we just need to rewrite our code to work on Windows= /OSX... well, i guess it depends on what data type you ask for. last time i looked, the treeview could only provide information that made sense inside the context of the treeview (e.g. row/col stuff) or text. that's not my idea of "working". we have DnD from treeviews to other widgets working on OS X without issues in ardour (http://ardour.org), and we drag actual data from them, not just text. From mclasen@redhat.com Mon Sep 19 22:21:32 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1C55D7500E0; Mon, 19 Sep 2011 22:21:32 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -7.329 X-Spam-Level: X-Spam-Status: No, score=-7.329 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xLSQ4jVIecPI; Mon, 19 Sep 2011 22:21:29 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by menubar.gnome.org (Postfix) with ESMTP id 3B9867503F2; Mon, 19 Sep 2011 22:21:20 +0000 (UTC) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8JMLJ4Y028646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 19 Sep 2011 18:21:19 -0400 Received: from [10.11.8.225] (vpn-8-225.rdu.redhat.com [10.11.8.225]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p8JMLIqD006344; Mon, 19 Sep 2011 18:21:18 -0400 Subject: GTK+ 3.1.92 released From: Matthias Clasen To: gnome-announce-list@gnome.org, gtk-devel-list@gnome.org, gtk-app-devel-list@gnome.org, gtk-list@gnome.org Date: Mon, 19 Sep 2011 18:20:52 -0400 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Message-ID: <1316470853.22468.34.camel@lemur> Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gtk-devel-list@gnome.org List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2011 22:21:32 -0000 GTK+ 3.1.92 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.1/ http://download.gnome.org/sources/gtk+/3.1/ e6ce9549b8bb3a9796223d1ae9768503ce66e8755b66dd2529c7a149b9ebea64 gtk +-3.1.92.tar.xz e131fd2f3b1a38960d37aaf517c183905e52c255d4f4e028233a2d3bfb81a729 gtk +-3.1.92.tar.bz2 Last stop on the way to 3.2. ============ GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites. GTK+ has been designed from the ground up to support a range of languages, not only C/C++. Using GTK+ from languages such as Perl and Python (especially in combination with the Glade GUI builder) provides an effective method of rapid application development. GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties. Overview of Changes in GTK+ 3.1.92 ================================== * GtkIconView: - Cells will now be prelighted, if you set the GtkCellRendererPixbuf::follow-state property. * GtkFontChooser: - Speed up population of the font list somewhat. More speedups are expected in 3.2 * Bugs fixed: 615501 GtkIconView does not support prelight cells 658981 Inability to effectively clear string indicator in stf imp... 659241 GtkPaned initially allocates space for separator, even if... 659247 link-button: Reset the mouse cursor when destroyed * Translation updates: Asturian Belarussian Brazilian Portuguese British English Bulgarian French Galician German Latvian Portuguese Punjabi Russian Serbian Slovenian Swedish Thanks to Benjamin Otte Chris Coulson Kristian Rietveld Bastien Nocera Javier Jardón Cosimo Cecchi Ryan Lortie ...and many translators September 19, 2011 Matthias Clasen From dan.stanger@ieee.org Wed Sep 21 02:15:16 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4587E7500C5 for ; Wed, 21 Sep 2011 02:15:16 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.044 X-Spam-Level: X-Spam-Status: No, score=-1.044 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.779, TW_GD=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B6shTCh99OWt for ; Wed, 21 Sep 2011 02:15:15 +0000 (UTC) X-Greylist: delayed 3631 seconds by postgrey-1.32 at menubar.gnome.org; Wed, 21 Sep 2011 02:15:14 UTC Received: from vms173017pub.verizon.net (vms173017pub.verizon.net [206.46.173.17]) by menubar.gnome.org (Postfix) with ESMTP id ED769750070 for ; Wed, 21 Sep 2011 02:15:04 +0000 (UTC) Received: from [127.0.0.1] ([unknown] [72.93.211.221]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LRU00G3WM3PT4E0@vms173017.mailsrvcs.net> for gtk-list@gnome.org; Tue, 20 Sep 2011 20:14:13 -0500 (CDT) Message-id: <4E793A5A.4060509@ieee.org> Date: Tue, 20 Sep 2011 21:14:02 -0400 From: Dan Stanger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 MIME-version: 1.0 To: gtk-list@gnome.org Subject: MS Windows porting question Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2011 02:15:16 -0000 Hello All, I have an application back end written for xlib, and would like to port it to MS windows, and was thinking of using gdk to do this. My reasoning is that I want to provide events to the application, and gdk seems to provide a layer that may make it easier. Does this make sense? Any advice would be appreciated. Thank you, Dan Stanger From gtglus@gmail.com Wed Sep 21 16:16:34 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 82D4F750199 for ; Wed, 21 Sep 2011 16:16:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.69 X-Spam-Level: X-Spam-Status: No, score=-2.69 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FH3kHZ37mDnV for ; Wed, 21 Sep 2011 16:16:29 +0000 (UTC) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by menubar.gnome.org (Postfix) with ESMTP id BEB6F7500F7 for ; Wed, 21 Sep 2011 16:16:21 +0000 (UTC) Received: by ywp17 with SMTP id 17so2020396ywp.27 for ; Wed, 21 Sep 2011 09:16:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=WEHD5y1OpIU9gnf0h2Oe3Q+/BEuf3EG16fsnGFAW7jY=; b=MiZSnTVXk7e/nnMLMpyeOjKSXUu6TFfqGxti5SroZ6wfXbXwQ1XctvzH7uxkzBghmL od4T84dNa2seZOSqvkAVQ2ilHR0jT9sFvsZ3GfZhJpj1FdRUr6AllffaqHu9w6UZxeyN Q0rTX7NjTPbZV59a2KhYvQm2GfKbTQnsCgLw0= MIME-Version: 1.0 Received: by 10.43.132.68 with SMTP id ht4mr187596icc.196.1316621779726; Wed, 21 Sep 2011 09:16:19 -0700 (PDT) Received: by 10.43.134.70 with HTTP; Wed, 21 Sep 2011 09:16:19 -0700 (PDT) Date: Wed, 21 Sep 2011 18:16:19 +0200 Message-ID: Subject: GtkFrame in Gtk+-3.0 From: Glus Xof To: gtk-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2011 16:16:34 -0000 Hi guys, It seems that the effects for all Gtk+3.0 frames shadow type are the same for almost the GtkShadowType values: GTK_SHADOW_IN, GTK_SHADOW_OUT, GTK_SHADOW_ETCHED_IN and GTK_SHADOW_ETCHED_OUT. Is there any mistake on my side ? It's a bug ? or a feature not yet fixed ? Glus From gtglus@gmail.com Wed Sep 21 21:55:11 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 52FD975010E for ; Wed, 21 Sep 2011 21:55:11 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.69 X-Spam-Level: X-Spam-Status: No, score=-2.69 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DNHdIkXn7auB for ; Wed, 21 Sep 2011 21:55:09 +0000 (UTC) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by menubar.gnome.org (Postfix) with ESMTP id 77AF2750106 for ; Wed, 21 Sep 2011 21:55:01 +0000 (UTC) Received: by iadk27 with SMTP id k27so4493657iad.27 for ; Wed, 21 Sep 2011 14:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TeLvmqNnSTln4WA6+bheKzBUVJICdwQ3rvgOg4gcmDE=; b=lv/fnnF+Dj4/Y3VFMhpR8dqpSSH0XKjz7Y7SuQo33jmWIZ64D1txL7orI6XzhG/pj5 F1SeBmWxyb4gK+KA0514uoDegJxNDpglVNHkh6kPYfeoeGQ42qsN13S9pcoW+1WcD2gI 0KfDx5U3NhU5gEU3jwXvvrQT2DcT/ue7mi4tc= MIME-Version: 1.0 Received: by 10.42.115.10 with SMTP id i10mr810684icq.23.1316642099613; Wed, 21 Sep 2011 14:54:59 -0700 (PDT) Received: by 10.42.2.76 with HTTP; Wed, 21 Sep 2011 14:54:59 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 Sep 2011 23:54:59 +0200 Message-ID: Subject: Re: GtkFrame in Gtk+-3.0 From: Glus Xof To: gtk-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2011 21:55:11 -0000 Hi guys, > It seems that the effects for all Gtk+3.0 frames shadow type are the > same for almost the GtkShadowType values: GTK_SHADOW_IN, > GTK_SHADOW_OUT, GTK_SHADOW_ETCHED_IN and GTK_SHADOW_ETCHED_OUT. Doing frame1 = gtk_frame_new("My Frame"); gtk_frame_set_shadow_type(GTK_FRAME(frame1), GTK_SHADOW_IN); or frame1 = gtk_frame_new("My Frame"); gtk_frame_set_shadow_type(GTK_FRAME(frame1), GTK_SHADOW_OUT); throws the same frame shadow type to me... I'd like just ask you if it's normal at this point of current Gtk+-3.0 developpment status.... > Is there any mistake on my side ? It's a bug ? or a feature not yet fixed ? Glus From internalerror@gmail.com Thu Sep 22 08:53:45 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B0243750231 for ; Thu, 22 Sep 2011 08:53:45 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.612 X-Spam-Level: X-Spam-Status: No, score=-2.612 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Eu7bO6TcQhB2 for ; Thu, 22 Sep 2011 08:53:43 +0000 (UTC) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by menubar.gnome.org (Postfix) with ESMTP id D42B07500D0 for ; Thu, 22 Sep 2011 08:53:34 +0000 (UTC) Received: by iadk27 with SMTP id k27so5521727iad.27 for ; Thu, 22 Sep 2011 01:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JKRfpiPx5NRdBvn74gkTiGONX9sNXFA6ad4CrVKPSek=; b=P++HZOgXbx1GmetG17IM+PQVLvgMhVr0dD7+pF03QTDfrT9vli20+4ujBXOmoDeVHo WNHTFV0bdUPM8kAEH1rkTSUSr5Jur/IXCCBPskvPa8mjraX95k4Ttbn01AOBm3Mw+k5S OPBt5RWE2tXuEI3EBUhj+rfqA8fuazHH+JfWg= MIME-Version: 1.0 Received: by 10.42.74.195 with SMTP id x3mr1802438icj.2.1316681613366; Thu, 22 Sep 2011 01:53:33 -0700 (PDT) Received: by 10.231.199.72 with HTTP; Thu, 22 Sep 2011 01:53:33 -0700 (PDT) In-Reply-To: References: Date: Thu, 22 Sep 2011 10:53:33 +0200 Message-ID: Subject: Re: GtkFrame in Gtk+-3.0 From: Milosz Derezynski To: gtk-list@gnome.org Content-Type: multipart/alternative; boundary=90e6ba3fcde7d8d71004ad83d308 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2011 08:53:45 -0000 --90e6ba3fcde7d8d71004ad83d308 Content-Type: text/plain; charset=UTF-8 Hey, Which theme and engine are you using? Did you try this with different themes? Regards Milosz On Wed, Sep 21, 2011 at 11:54 PM, Glus Xof wrote: > Hi guys, > > > It seems that the effects for all Gtk+3.0 frames shadow type are the > > same for almost the GtkShadowType values: GTK_SHADOW_IN, > > GTK_SHADOW_OUT, GTK_SHADOW_ETCHED_IN and GTK_SHADOW_ETCHED_OUT. > > Doing > > frame1 = gtk_frame_new("My Frame"); > gtk_frame_set_shadow_type(GTK_FRAME(frame1), GTK_SHADOW_IN); > > or > > frame1 = gtk_frame_new("My Frame"); > gtk_frame_set_shadow_type(GTK_FRAME(frame1), GTK_SHADOW_OUT); > > throws the same frame shadow type to me... > > I'd like just ask you if it's normal at this point of current Gtk+-3.0 > developpment status.... > > > Is there any mistake on my side ? It's a bug ? or a feature not yet fixed > ? > > Glus > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-list > -- Everything is Original. --90e6ba3fcde7d8d71004ad83d308 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey,

Which theme and engine are you using? Did you try t= his with different themes?

Regards
Milos= z

On Wed, Sep 21, 2011 at 11:54 PM, Glus = Xof <gtglus@gmail.= com> wrote:
Hi guys,

> It seems that the effects for all Gtk+3.0 frames shadow type are the > same for almost the GtkShadowType values: GTK_SHADOW_IN,
> GTK_SHADOW_OUT, GTK_SHADOW_ETCHED_IN and GTK_SHADOW_ETCHED_OUT.

Doing

=C2=A0frame1 =3D gtk_frame_new("My Frame");
=C2=A0gtk_frame_set_shadow_type(GTK_FRAME(frame1), GTK_SHADOW_IN);

or

=C2=A0frame1 =3D gtk_frame_new("My Frame");
=C2=A0gtk_frame_set_shadow_type(GTK_FRAME(frame1), GTK_SHADOW_OUT);

throws the same frame shadow type to me...

I'd like just ask you if it's normal at this point of current Gtk+-= 3.0
developpment status....

> Is there any mistake on my side ? It's a bug ? or a feature not ye= t fixed ?

Glus
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list



--
= Everything is Original.
--90e6ba3fcde7d8d71004ad83d308-- From gtglus@gmail.com Thu Sep 22 09:28:05 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 00610750231 for ; Thu, 22 Sep 2011 09:28:05 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.69 X-Spam-Level: X-Spam-Status: No, score=-2.69 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i4H8t5+3pnzR for ; Thu, 22 Sep 2011 09:28:02 +0000 (UTC) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by menubar.gnome.org (Postfix) with ESMTP id 64AD775028D for ; Thu, 22 Sep 2011 09:27:54 +0000 (UTC) Received: by iadk27 with SMTP id k27so5583555iad.27 for ; Thu, 22 Sep 2011 02:27:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2nyDw/+T0XrWjemuTbTweklzQ99lfMMchQ0tIDyNqnU=; b=kQkqwsOnEFYRcFIofV49Onc1Yp7dJmFB0Z/HKOaOKxLyhg5FqISnO0e9WOisUJzzMs NXKksFUQ7PjNY/5nwAeBfbYwIYIhJe2pxgdYRAppwHIkSC1ZxMjUyf4D5ectIQRQTP2F VJ6jSPYmpPZ1HsuUN3ArSXEkUaWEuNGbUXF+8= MIME-Version: 1.0 Received: by 10.42.115.10 with SMTP id i10mr1878924icq.23.1316683672745; Thu, 22 Sep 2011 02:27:52 -0700 (PDT) Received: by 10.42.2.76 with HTTP; Thu, 22 Sep 2011 02:27:52 -0700 (PDT) In-Reply-To: References: Date: Thu, 22 Sep 2011 11:27:52 +0200 Message-ID: Subject: Re: GtkFrame in Gtk+-3.0 From: Glus Xof To: gtk-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2011 09:28:05 -0000 Dear Milosz, First of all, thanks a lot for your answer.. > Which theme and engine are you using? Theme: Crux Engine: Xorg + metacity... > Did you try this with different themes? Yes... same results. Glus >>> It seems that the effects for all Gtk+3.0 frames shadow type are the >>> same for almost the GtkShadowType values: GTK_SHADOW_IN, >>> GTK_SHADOW_OUT, GTK_SHADOW_ETCHED_IN and GTK_SHADOW_ETCHED_OUT. >> Doing >> frame1 = gtk_frame_new("My Frame"); >> gtk_frame_set_shadow_type(GTK_FRAME(frame1), GTK_SHADOW_IN); >> or >> frame1 = gtk_frame_new("My Frame"); >> gtk_frame_set_shadow_type(GTK_FRAME(frame1), GTK_SHADOW_OUT); >> throws the same frame shadow type to me... >>> I'd like just ask you if it's normal at this point of current Gtk+-3.0 developpment status.... >>> Is there any mistake on my side ? It's a bug ? or a feature not yet fixed ? From yanjingtao@innlab.net Thu Sep 22 13:40:02 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6924E7502F7 for ; Thu, 22 Sep 2011 13:40:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.791 X-Spam-Level: X-Spam-Status: No, score=-1.791 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YsHYd14MqSyp for ; Thu, 22 Sep 2011 13:39:52 +0000 (UTC) X-Greylist: delayed 444 seconds by postgrey-1.32 at menubar.gnome.org; Thu, 22 Sep 2011 13:39:52 UTC Received: from smtpbg218.qq.com (SMTPBG218.QQ.COM [113.108.77.20]) by menubar.gnome.org (Postfix) with SMTP id 3846A7502FA for ; Thu, 22 Sep 2011 13:39:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s0907; t=1316698782; bh=pav7moJQvxJy35bn5tTOQsW3SpgVebXXGmVj4RZ3qcQ=; h=X-QQ-mid:Received:X-QQ-SSF:Message-ID:Disposition-Notification-To: Date:From:User-Agent:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=MxaoZq9KjGw4gsqbhDttES5XS4hn97pkA1KkCRiFM5aMOXtMtzGYLb4QSEMH0sttp ZVu/oQjTKoIwmpWLnWUO37yCikqkCW3J3958j0//5rHdS1jGgE7RZ6fsdNU3Z2c X-QQ-mid: Yesmtp12t1316698337t610t2326 Received: from tom.awaysoft.com (unknown [218.75.208.61]) by esmtp4.qq.com (ESMTP) with SMTP id 0 for ; Thu, 22 Sep 2011 21:32:17 +0800 (CST) X-QQ-SSF: 0000000000000010F33200000000000 Message-ID: <4E7B38E0.4090406@innlab.net> Date: Thu, 22 Sep 2011 21:32:16 +0800 From: yanjingtao User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: gtk-list@gnome.org Subject: How to set a button's height? Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2011 13:40:02 -0000 I want to set a button's height to 15px,but I found when I use gtk_widget_set_size_request (button, 15, 15); The button has becomt 15 * 32. From chris@cvine.freeserve.co.uk Thu Sep 22 20:37:40 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 18F31750129 for ; Thu, 22 Sep 2011 20:37:40 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id okBVYwf9FcM1 for ; Thu, 22 Sep 2011 20:37:37 +0000 (UTC) X-Greylist: delayed 787 seconds by postgrey-1.32 at menubar.gnome.org; Thu, 22 Sep 2011 20:37:36 UTC Received: from relay.ptn-ipout01.plus.net (relay.ptn-ipout01.plus.net [212.159.7.35]) by menubar.gnome.org (Postfix) with ESMTP id E43687500C9 for ; Thu, 22 Sep 2011 20:37:28 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgYFAEWZe05UXeb6/2dsb2JhbABCmlONL3iBUwEBBTo/EAsOCi4hNgYTh3q1SIZ9BJNQhR+EdYcc Received: from outmx05.plus.net ([84.93.230.250]) by relay.ptn-ipout01.plus.net with ESMTP; 22 Sep 2011 21:24:14 +0100 Received: from [87.114.177.201] (helo=laptop.homenet) by outmx05.plus.net with esmtp (Exim) id 1R6pob-0000Xd-Ha; Thu, 22 Sep 2011 21:24:13 +0100 Received: from laptop.homenet (IDENT:1000@localhost [127.0.0.1]) by laptop.homenet (8.14.4/8.14.4) with ESMTP id p8MKOKn4022033; Thu, 22 Sep 2011 21:24:21 +0100 Date: Thu, 22 Sep 2011 21:24:20 +0100 From: Chris Vine To: Glus Xof Subject: Re: GtkFrame in Gtk+-3.0 Message-ID: <20110922212420.47547938@laptop.homenet> In-Reply-To: References: X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.5; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2011 20:37:40 -0000 On Thu, 22 Sep 2011 11:27:52 +0200 Glus Xof wrote: > Dear Milosz, > > First of all, thanks a lot for your answer.. > > > Which theme and engine are you using? > > Theme: Crux > Engine: Xorg + metacity... Are you sure about that? I didn't think there was a working Crux theme for GTK+-3/gnome-3. Adwaita seems to be the default GTK+-3 theme. If you pick Crux (or most other themes other than Adwaita, High Contrast or High Contrast Inverse) with gnome-tweak-tools you get the default "no theme" theme with GTK+3. That does show the effects you mention. Adwaita is even stranger. I doesn't display the GtkFrame shadow effects at all. The GtkFrame object attributes just seems to be ignored. I do wish it would be fixed though. I, like you, puzzle that the default themes seem so broken with regard to GtkFrame in a now stable library. Chris From gtglus@gmail.com Thu Sep 22 22:11:18 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id DB45075013F for ; Thu, 22 Sep 2011 22:11:18 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cnn3Q2tXwfCK for ; Thu, 22 Sep 2011 22:11:16 +0000 (UTC) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by menubar.gnome.org (Postfix) with ESMTP id 4642F75005F for ; Thu, 22 Sep 2011 22:11:07 +0000 (UTC) Received: by iadk27 with SMTP id k27so6821471iad.27 for ; Thu, 22 Sep 2011 15:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6eD9fM7AhfDJh5R9u5HU7I9/7SPcjEtVFwYx4WGpR+U=; b=YYQRPkOrk8khO4InSI8aft+0aPV/bknOVS1WVIwhEfWWRmi1LVE8+cY3ANMQJo67LU XDV5bNC4ijNit13mGZtLPI99AK8bwEwuY5yyelYG1H2z66BNJdSwiteqOdXlcH1Gxre5 OzdA1NUtr2nj7/RuETcvvYJcZ74Y/BUuhJDz4= MIME-Version: 1.0 Received: by 10.42.28.65 with SMTP id m1mr3110873icc.110.1316729465968; Thu, 22 Sep 2011 15:11:05 -0700 (PDT) Received: by 10.42.2.76 with HTTP; Thu, 22 Sep 2011 15:11:05 -0700 (PDT) In-Reply-To: <20110922212420.47547938@laptop.homenet> References: <20110922212420.47547938@laptop.homenet> Date: Fri, 23 Sep 2011 00:11:05 +0200 Message-ID: Subject: Re: GtkFrame in Gtk+-3.0 From: Glus Xof To: Chris Vine Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2011 22:11:19 -0000 2011/9/22 Chris Vine : > On Thu, 22 Sep 2011 11:27:52 +0200 > Glus Xof wrote: >> Dear Milosz, >> >> First of all, thanks a lot for your answer.. >> >> > Which theme and engine are you using? >> >> Theme: Crux >> Engine: Xorg + metacity... Hi Chris, Thanks also for your answer.. In fact, I don't use Gnome-3 yet, just Gnome 2.30.2... I think that it would not be incompatibilities, wouldn't it ? (I compile the sources with Gtk+ 3.1.92) > Are you sure about that? =A0I didn't think there was a working Crux theme > for GTK+-3/gnome-3. =A0Adwaita seems to be the default GTK+-3 theme. > > If you pick Crux (or most other themes other than Adwaita, High Contrast > or High Contrast Inverse) with gnome-tweak-tools you get the default "no > theme" theme with GTK+3. That does show the effects you mention. > > Adwaita is even stranger. =A0I doesn't display the GtkFrame shadow > effects at all. =A0The GtkFrame object attributes just seems to be > ignored. > > I do wish it would be fixed though. =A0I, like you, puzzle that the > default themes seem so broken with regard to GtkFrame in a now stable > library. From chris@cvine.freeserve.co.uk Fri Sep 23 08:20:20 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B58D375039F for ; Fri, 23 Sep 2011 08:20:20 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j8TEL4ebt-pi for ; Fri, 23 Sep 2011 08:20:18 +0000 (UTC) Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36]) by menubar.gnome.org (Postfix) with ESMTP id 351D57501CB for ; Fri, 23 Sep 2011 08:20:09 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAJhAfE7Unw4T/2dsb2JhbABCqBF4gVMBAQU6PxALDgouITYGE4d7tQOGfQSTUoUghHWHHQ Received: from outmx04.plus.net ([212.159.14.19]) by relay.ptn-ipout02.plus.net with ESMTP; 23 Sep 2011 09:20:07 +0100 Received: from [87.114.177.201] (helo=laptop.homenet) by outmx04.plus.net with esmtp (Exim) id 1R70zO-00032p-N3; Fri, 23 Sep 2011 09:20:06 +0100 Received: from laptop.homenet (IDENT:1000@localhost [127.0.0.1]) by laptop.homenet (8.14.4/8.14.4) with ESMTP id p8N8KFe8000471; Fri, 23 Sep 2011 09:20:15 +0100 Date: Fri, 23 Sep 2011 09:20:15 +0100 From: Chris Vine To: Glus Xof Subject: Re: GtkFrame in Gtk+-3.0 Message-ID: <20110923092015.23a0ed46@laptop.homenet> In-Reply-To: References: <20110922212420.47547938@laptop.homenet> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.5; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 08:20:20 -0000 On Fri, 23 Sep 2011 00:11:05 +0200 Glus Xof wrote: > Hi Chris, > > Thanks also for your answer.. > > In fact, I don't use Gnome-3 yet, just Gnome 2.30.2... I think that it > would not be incompatibilities, wouldn't it ? > > (I compile the sources with Gtk+ 3.1.92) No it isn't incompatibilities. However, GTK+3 will not use GTK+2 themes (it uses a different theming engine). In your situation you will get the no-theme theme with GTK+3, which has the defects with GtkFixed which you have mentioned. As I said, the Adwaita theme also does not work correctly with GtkFixed. I should file a bug report. Chris From chris@cvine.freeserve.co.uk Fri Sep 23 08:25:34 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3EF947504CB for ; Fri, 23 Sep 2011 08:25:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XZT8eFVc8jm4 for ; Fri, 23 Sep 2011 08:25:32 +0000 (UTC) Received: from relay.ptn-ipout01.plus.net (relay.ptn-ipout01.plus.net [212.159.7.35]) by menubar.gnome.org (Postfix) with ESMTP id C0C9D75039F for ; Fri, 23 Sep 2011 08:25:23 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAAxCfE7Unw4T/2dsb2JhbABCqBF4gVMBAQU6PxALDgouVwYTh3u1AoZ9BJNShSCMEg Received: from outmx04.plus.net ([212.159.14.19]) by relay.ptn-ipout01.plus.net with ESMTP; 23 Sep 2011 09:25:21 +0100 Received: from [87.114.177.201] (helo=laptop.homenet) by outmx04.plus.net with esmtp (Exim) id 1R714S-0003wT-Lp; Fri, 23 Sep 2011 09:25:20 +0100 Received: from laptop.homenet (IDENT:1000@localhost [127.0.0.1]) by laptop.homenet (8.14.4/8.14.4) with ESMTP id p8N8PTQo000666; Fri, 23 Sep 2011 09:25:29 +0100 Date: Fri, 23 Sep 2011 09:25:29 +0100 From: Chris Vine To: Glus Xof Subject: Re: GtkFrame in Gtk+-3.0 Message-ID: <20110923092529.1c44ed1c@laptop.homenet> In-Reply-To: <20110923092015.23a0ed46@laptop.homenet> References: <20110922212420.47547938@laptop.homenet> <20110923092015.23a0ed46@laptop.homenet> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.5; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 08:25:34 -0000 On Fri, 23 Sep 2011 09:20:15 +0100 Chris Vine wrote: > No it isn't incompatibilities. However, GTK+3 will not use GTK+2 > themes (it uses a different theming engine). In your situation you > will get the no-theme theme with GTK+3, which has the defects with > GtkFixed which you have mentioned. As I said, the Adwaita theme also > does not work correctly with GtkFixed. I meant GtkFrame, not GtkFixed, of course. Chris From johne53@tiscali.co.uk Fri Sep 23 09:20:53 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 2B0507500FD for ; Fri, 23 Sep 2011 09:20:53 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.141 X-Spam-Level: X-Spam-Status: No, score=-2.141 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TW_GD=0.077, TW_HW=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ui5Y9Xfk6Ndc for ; Fri, 23 Sep 2011 09:20:49 +0000 (UTC) Received: from mk-filter-4-a-1.mail.uk.tiscali.com (mk-filter-4-a-1.mail.tiscali.co.uk [212.74.100.55]) by menubar.gnome.org (Postfix) with ESMTP id 6A60B7500C6 for ; Fri, 23 Sep 2011 09:20:40 +0000 (UTC) X-Trace: 667464370/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AucNADZOfE5YaAIK/2dsb2JhbABCgkeXEI45eYFTAQEFJxMcMwstGTkeEIgEtQyDaII1YASYYIwk X-IronPort-AV: E=Sophos;i="4.68,428,1312153200"; d="scan'208";a="667464370" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 23 Sep 2011 10:20:38 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: GTK TreeView control in Windows (DND issue) From: John Emmas In-Reply-To: <4E779028.8010200@optionexplicit.be> Date: Fri, 23 Sep 2011 10:20:37 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <06A7F85F-4CC3-40AB-97AA-8FB38B1B9B55@tiscali.co.uk> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.b e> To: gtk-list@gnome.org X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 09:20:53 -0000 Just a final footnote to this issue (hopefully):- I noticed pbor's comment in bugzilla about the inelegant use of = 'dest_window' so I checked our mods and realised that we'd probably = reverted too much of the function. In fact, only the first 10 lines or = so need to be reverted. The remainder can be left in its 2.20 state. = In fact, it's quite important to do it this way, since (in the more = recent gdk library) the decision to use OLE2 style DnD is dependent on a = runtime condition, rather than the previous compile time preprocessor = directive. By reverting the entire function we'd effectively undone = that decision for this particular function. My function in its entirety = is shown below. Currently I don't have a bugzilla account but I'll = create one and transfer this comment over to bugzilla if that's more = convenient. John void gdk_drag_find_window_for_screen (GdkDragContext *context, GdkWindow = *drag_window, GdkScreen = *screen, gint x_root, gint y_root, GdkWindow = **dest_window, = GdkDragProtocol *protocol) { HWND hwnd; //////// This is the section we reverted find_window_enum_arg a; a.x =3D x_root - _gdk_offset_x; a.y =3D y_root - _gdk_offset_y; a.ignore =3D drag_window ? GDK_WINDOW_HWND (drag_window) : NULL; a.result =3D NULL; EnumWindows (find_window_enum_proc, (LPARAM) &a); if (a.result =3D=3D NULL) *dest_window =3D NULL; else { hwnd =3D a.result; // Added by JE - 19-Sept-2011 //////// =46rom here forward, it's back to the 2.20 code *dest_window =3D gdk_win32_handle_table_lookup (hwnd); if (*dest_window) g_object_ref (*dest_window); else *dest_window =3D gdk_window_foreign_new_for_display = (_gdk_display, hwnd); if (use_ole2_dnd) *protocol =3D GDK_DRAG_PROTO_OLE2; else if (context->source_window) *protocol =3D GDK_DRAG_PROTO_LOCAL; else *protocol =3D GDK_DRAG_PROTO_WIN32_DROPFILES; } GDK_NOTE (DND, g_print ("gdk_drag_find_window: %p %+d%+d: %p: %p = %s\n", (drag_window ? GDK_WINDOW_HWND (drag_window) : NULL), x_root, y_root, hwnd, (*dest_window ? GDK_WINDOW_HWND (*dest_window) : = NULL), _gdk_win32_drag_protocol_to_string (*protocol))); } From gtglus@gmail.com Fri Sep 23 09:34:10 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 2857B750161 for ; Fri, 23 Sep 2011 09:34:10 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NPqBvdaDm9kJ for ; Fri, 23 Sep 2011 09:34:08 +0000 (UTC) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by menubar.gnome.org (Postfix) with ESMTP id 77F6C7500C6 for ; Fri, 23 Sep 2011 09:34:00 +0000 (UTC) Received: by iadk27 with SMTP id k27so7914404iad.27 for ; Fri, 23 Sep 2011 02:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=iFDYu0B1pOU/yRwZL312PSwj/XFXi5Q2FswIP187c3s=; b=rJmE15s7SjYh2EdQYMA73rg+zEdl1CyycUPj/oVkExS9AUdpq84OvtO6ejUXxraunP klB/C/nF9KDYQxntPMJF6y8JG2iY97Qy8zjurwiQpv6ijL2XuxPkuiKU5Lv+EL9SPUmr WeQQuDkNsH27jDcenZvL/FRhd614lEFzUSfk0= MIME-Version: 1.0 Received: by 10.42.136.199 with SMTP id v7mr4107838ict.81.1316770438883; Fri, 23 Sep 2011 02:33:58 -0700 (PDT) Received: by 10.42.2.76 with HTTP; Fri, 23 Sep 2011 02:33:58 -0700 (PDT) In-Reply-To: <20110923092015.23a0ed46@laptop.homenet> References: <20110922212420.47547938@laptop.homenet> <20110923092015.23a0ed46@laptop.homenet> Date: Fri, 23 Sep 2011 11:33:58 +0200 Message-ID: Subject: Re: GtkFrame in Gtk+-3.0 From: Glus Xof To: Chris Vine Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 09:34:10 -0000 > I should file a bug report. Bug yet repported to bugzilla with n=BA 659926 From dieterv@optionexplicit.be Fri Sep 23 09:55:52 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 674AD750161 for ; Fri, 23 Sep 2011 09:55:52 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.823 X-Spam-Level: X-Spam-Status: No, score=-1.823 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, TW_GD=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xqeCZWjOn7w7 for ; Fri, 23 Sep 2011 09:55:50 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by menubar.gnome.org (Postfix) with ESMTP id 357477500C6 for ; Fri, 23 Sep 2011 09:55:41 +0000 (UTC) Received: from webmail.webfaction.com (wf2.webfaction.com [174.133.50.206]) by smtp.webfaction.com (Postfix) with ESMTP id 5345459B3EC5; Fri, 23 Sep 2011 04:55:40 -0500 (CDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 23 Sep 2011 11:55:40 +0200 From: Dieter Verfaillie To: John Emmas Subject: Re: GTK TreeView control in Windows (DND issue) In-Reply-To: <06A7F85F-4CC3-40AB-97AA-8FB38B1B9B55@tiscali.co.uk> References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.b e> <06A7F85F-4CC3-40AB-97AA-8FB38B1B9B55@tiscali.co.uk> Message-ID: <9e98a9643deff2f8fd3cd0b5efe41c5c@mail.webfaction.com> X-Sender: dieterv@optionexplicit.be User-Agent: Roundcube Webmail/0.5.4 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 09:55:52 -0000 Hi John, Thanks for having another look at this! On Fri, 23 Sep 2011 10:20:37 +0100, John Emmas wrote: > Just a final footnote to this issue (hopefully):- > > I noticed pbor's comment in bugzilla about the inelegant use of > 'dest_window' so I checked our mods and realised that we'd probably > reverted too much of the function. In fact, only the first 10 lines > or so need to be reverted. The remainder can be left in its 2.20 > state. In fact, it's quite important to do it this way, since (in > the > more recent gdk library) the decision to use OLE2 style DnD is > dependent on a runtime condition, rather than the previous compile > time preprocessor directive. By reverting the entire function we'd > effectively undone that decision for this particular function. My > function in its entirety is shown below. I'll have to point out that the current proposed patch on bug #616544 [1] is more subtle than you think in that it is not a plain revert. It already does the right thing for the wip OLE2 DnD codepath :) The dw vs dest_window remark by pbor was more a stylistic nitpicking about assigning the result of gdk_win32_handle_table_lookup () to *dest_window and then setting *dest_window again (in the patched version) for each branch of the if-else condition immediately following. Compare: ## the original proposed patch ## *dest_window = gdk_win32_handle_table_lookup (a.result); if (*dest_window) { *dest_window = gdk_window_get_toplevel (dw); g_object_ref (*dest_window); } else *dest_window = gdk_window_foreign_new_for_display (_gdk_display, a.result); ## the current proposed patch ## dw = gdk_win32_handle_table_lookup (a.result); if (dw) { *dest_window = gdk_window_get_toplevel (dw); g_object_ref (*dest_window); } else *dest_window = gdk_window_foreign_new_for_display (_gdk_display, a.result); ## > Currently I don't have a > bugzilla account but I'll create one and transfer this comment over > to > bugzilla if that's more convenient. For future discussion and patch review, doing it on bz might be a good idea. You can always ping me on irc.gnome.org (aka gimpnet) too ;) mvg, Dieter [1] https://bugzilla.gnome.org/attachment.cgi?id=196999 From johne53@tiscali.co.uk Fri Sep 23 10:09:28 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 17642750161 for ; Fri, 23 Sep 2011 10:09:28 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.293 X-Spam-Level: X-Spam-Status: No, score=-2.293 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9zeq5DXVek7J for ; Fri, 23 Sep 2011 10:09:25 +0000 (UTC) Received: from mk-filter-1-a-1.mail.uk.tiscali.com (mk-filter-1-a-1.mail.tiscali.co.uk [212.74.100.52]) by menubar.gnome.org (Postfix) with ESMTP id 795AD7500C6 for ; Fri, 23 Sep 2011 10:09:16 +0000 (UTC) X-Trace: 677410617/mk-filter-1.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/88.104.2.10/None/johne53@tiscali.co.uk X-SBRS: None X-RemoteIP: 88.104.2.10 X-IP-MAIL-FROM: johne53@tiscali.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: Apple Mail (2.1084) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AucNALVZfE5YaAIK/2dsb2JhbABCgkeXEo46eYFKCQEBBAFWKAsLAwFCOR6IEgIEtRCGHWAEmGCMJA X-IronPort-AV: E=Sophos;i="4.68,428,1312153200"; d="scan'208,217";a="677410617" Received: from 88-104-2-10.dynamic.dsl.as9105.com (HELO 37l4247d28-05.lan) ([88.104.2.10]) by smtp.tiscali.co.uk with ESMTP; 23 Sep 2011 11:09:09 +0100 From: John Emmas Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-2--837067005 Subject: Re: GTK TreeView control in Windows (DND issue) Date: Fri, 23 Sep 2011 11:09:09 +0100 In-Reply-To: <9e98a9643deff2f8fd3cd0b5efe41c5c@mail.webfaction.com> To: gtk-list@gnome.org References: <5DDA4323-C3C9-4E0F-BFAD-007B414B4A9C@tiscali.co.uk> <20110915133216.GD5757@physics.muni.cz> <20110915173554.GF5757@physics.muni.cz> <97E47C1F-2662-4C52-B38F-44FA4B4B9051@tiscali.co.uk> <20110915190441.GG5757@physics.muni.cz> <423401E7-EB8F-49B5-951E-23B02B76AE5D@tiscali.co.uk> <20110915200803.GH5757@physics.muni.cz> <057472E6-E55E-4304-867F-EFEE33723F12@tiscali.co.uk> <9E248023-D47C-4EF8-884C-F108DDC61550@tiscali.co.uk> <2C5C8625-0EA7-4323-AAF3-87A869436CA4@tiscali.co.uk> <1316298095.17080.7.camel@localhost> <4E75274F.8020702@optionexplicit.be> <4E75B321.1060204@optionexplicit.be> <88716E6B-E61A-4566-B9E1-D4A597DDF22D@tiscali.co.uk> <4E75CDE2.6080702@optionexplicit.be> <4E779028.8010200@optionexplicit.b e> <06A7F85F-4CC3-40AB-97AA-8FB38B1B9B55@tiscali.co.uk> <9e98a9643deff2f8fd3cd0b5efe41c5c@mail.webfaction.com> Message-Id: <046F5FC7-5487-4382-B257-A6C6A880AD7C@tiscali.co.uk> X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 10:09:28 -0000 --Apple-Mail-2--837067005 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 23 Sep 2011, at 10:55, Dieter Verfaillie wrote: > Hi John, > > Thanks for having another look at this! > > [...] > > I'll have to point out that the current proposed patch on bug #616544 [1] > is more subtle than you think in that it is not a plain revert. It already > does the right thing for the wip OLE2 DnD codepath :) > > [...] > > [1] https://bugzilla.gnome.org/attachment.cgi?id=196999 > Ah yes, I see you already reached the same conclusion..! ;) John --Apple-Mail-2--837067005 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
On 23 Sep 2011, at 10:55, Dieter Verfaillie wrote:

Hi John,

Thanks for having another look at this!

[...]

I'll have to point out that the current proposed patch on bug #616544 [1]
is more subtle than you think in that it is not a plain revert. It already
does the right thing for the wip OLE2 DnD codepath :)

[...]

[1] https://bugzilla.gnome.org/attachment.cgi?id=196999

Ah yes, I see you already reached the same conclusion..!  ;)

John
--Apple-Mail-2--837067005-- From osmoma@gmail.com Sat Sep 24 08:21:16 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3CE70750077 for ; Sat, 24 Sep 2011 08:21:16 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.579 X-Spam-Level: X-Spam-Status: No, score=-1.579 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIM_INVALID=0.01, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bqC2CzstMYuE for ; Sat, 24 Sep 2011 08:21:04 +0000 (UTC) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by menubar.gnome.org (Postfix) with ESMTP id C0E6D75002C for ; Sat, 24 Sep 2011 08:20:55 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so7240353bkb.27 for ; Sat, 24 Sep 2011 01:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=va68aIX5D45L4x8eOaxkJNyuRSmKAD3L0vUo7Q9hQhI=; b=IZVtGjc/vDMfLu9BSIvTj6eqPJ0OpYVuDkP50bm2Sxp5pLYz4hPp5actVbhAboBtoW gUO99bEYpjYaTZS28Mm+16jYCoHMA1TVA9iJStCc78IXwIFyu1hel0OU12tZazmgRUsY Hv69XoHfPtVt0NlRV4P50CkLgWaZPSflhGkZw= Received: by 10.204.129.130 with SMTP id o2mr3108689bks.397.1316852453371; Sat, 24 Sep 2011 01:20:53 -0700 (PDT) Received: from [192.168.0.194] ([77.88.121.145]) by mx.google.com with ESMTPS id v16sm13609818bkd.6.2011.09.24.01.20.51 (version=SSLv3 cipher=OTHER); Sat, 24 Sep 2011 01:20:52 -0700 (PDT) Message-ID: <4E7D92DD.1020404@gmail.com> Date: Sat, 24 Sep 2011 10:20:45 +0200 From: Osmo Antero User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110906 Thunderbird/7.0 MIME-Version: 1.0 To: gtk-list@gnome.org Subject: Adding new keys to GSettings registry during runtime. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2011 08:21:16 -0000 Hello, I want to convert my application to use GSettings (and dconf) instead of GConf2. In the old GConf it was possible to add new keys and values during runtime. Eg. I could recklessly write conf_save_int_value("a_new_key", 1234); and GCond simply created "a_new_key" and saved the value in the registry. No complains or errors, it just worked. And it was good. The old GConf-based code is here: http://bazaar.launchpad.net/~osmoma/audio-recorder/trunk/view/head:/src/gconf.c --- GSettings seems to be different. All keys and their types must be *strictly pre-defined* in a xml schema file. And the schema must be compiled and installed to /usr/share/glib-2.0/schemas/ directory. Ok, I have successfully defined and installed my schema file. Ref: http://www.futuredesktop.com/tmp/org.gnome.audio-recorder.gschema.xml (a simple test). And I can read/write the values via the GSettings object. That's fine! Ref: http://www.futuredesktop.com/tmp/dconf.c But sometimes my code gets a new key (eg. a device name), and I want to store it and its value to GSettings registry. ?It's impossible to add new keys to schema (and GSettings) during runtime? Is the predefined schema the only way? Guides: http://live.gnome.org/GnomeGoals/GSettingsMigration http://developer.gnome.org/gio/2.28/GSettings.html // Osmo Antero From osmoma@gmail.com Sat Sep 24 08:27:28 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 35688750122 for ; Sat, 24 Sep 2011 08:27:28 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.558 X-Spam-Level: X-Spam-Status: No, score=-0.558 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, MISSING_HEADERS=1.021, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIM_INVALID=0.01, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N-bPjb3x5FVe for ; Sat, 24 Sep 2011 08:27:07 +0000 (UTC) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by menubar.gnome.org (Postfix) with ESMTP id C91B7750077 for ; Sat, 24 Sep 2011 08:26:58 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so7244030bkb.27 for ; Sat, 24 Sep 2011 01:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=7NA8EydCY12XTr1ZLdpSnTuFjSStexBYSaXmol/v9tQ=; b=q1jYA6gGFGnHSUnMRm7iTtc09BFTw5PfJtmz4MbgkiqD2T5ei40p/QYJTun511b7kv Oppb8PsNai3w5By0aJjzv9d0lgSlOm4azX/iq6MOKBRJbRxYrKrWhff9Ysz5YgP+MZm8 IbHn3+1d1Bo0NROIVoOhw9FXarkt7yikUIxHE= Received: by 10.204.147.215 with SMTP id m23mr3071924bkv.93.1316852816799; Sat, 24 Sep 2011 01:26:56 -0700 (PDT) Received: from [192.168.0.194] ([77.88.121.145]) by mx.google.com with ESMTPS id z7sm13625618bkt.5.2011.09.24.01.26.55 (version=SSLv3 cipher=OTHER); Sat, 24 Sep 2011 01:26:55 -0700 (PDT) Message-ID: <4E7D944E.306@gmail.com> Date: Sat, 24 Sep 2011 10:26:54 +0200 From: Osmo Antero User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110906 Thunderbird/7.0 MIME-Version: 1.0 CC: gtk-list@gnome.org Subject: Re: Adding new keys to GSettings registry during runtime. References: <4E7D92DD.1020404@gmail.com> In-Reply-To: <4E7D92DD.1020404@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2011 08:27:28 -0000 Typo: The final question should be: IS IT possible to add new keys to schema (and GSettings) during runtime? Is the predefined schema the only way to handle the keys? From osmoma@gmail.com Sat Sep 24 16:54:25 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 01032750127 for ; Sat, 24 Sep 2011 16:54:25 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.558 X-Spam-Level: X-Spam-Status: No, score=-0.558 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, MISSING_HEADERS=1.021, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIM_INVALID=0.01, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AQ2S2f+jL0ZJ for ; Sat, 24 Sep 2011 16:54:02 +0000 (UTC) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by menubar.gnome.org (Postfix) with ESMTP id 2467B7500AA for ; Sat, 24 Sep 2011 16:53:53 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so7625142bkb.27 for ; Sat, 24 Sep 2011 09:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=l2rex7cLK2uff0trC/riMevEsDio1IP4SQeWWRDHizA=; b=ojR3kmYdIcxWxqh94PCBeZXBmgdsyBC5XvEZrex3HOo5BABt2Ze1z+MEmAc3BuDOri jkkFKfycANDhgQdQUxr2SJq9qbOhUCnI833GbNZpjGVCFjkCTDGKXv1X4rrf+Us2Gxzv V0burfD+LL3aqNP4nNzyrhOTEu6txtb9/9+gw= Received: by 10.204.129.151 with SMTP id o23mr3252174bks.67.1316883231695; Sat, 24 Sep 2011 09:53:51 -0700 (PDT) Received: from [192.168.0.194] ([77.88.121.145]) by mx.google.com with ESMTPS id m18sm14835557bkt.12.2011.09.24.09.53.49 (version=SSLv3 cipher=OTHER); Sat, 24 Sep 2011 09:53:50 -0700 (PDT) Message-ID: <4E7E0B17.2020907@gmail.com> Date: Sat, 24 Sep 2011 18:53:43 +0200 From: Osmo Antero User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110918 Thunderbird/7.0 MIME-Version: 1.0 CC: gtk-list@gnome.org Subject: Re: Adding new keys to GSettings registry during runtime. References: <4E7D92DD.1020404@gmail.com> <4E7D944E.306@gmail.com> In-Reply-To: <4E7D944E.306@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2011 16:54:25 -0000 Ok, I found a simple solution. I simply defined a string array for each device type. The key is the device type (enum value). [] [] [] ... It's not very elegant but works just fine. I could have used enumeration but I need the string array type (type="as") to store a list of device ids that come from pulseaudio/gstreamer. Ref: http://www.futuredesktop.com/tmp/org.gnome.audio-recorder.gschema.xml So long. // Osmo Antero On 09/24/2011 10:26 AM, Osmo Antero wrote: > Typo: > The final question should be: > > IS IT possible to add new keys to schema (and GSettings) during runtime? > Is the predefined schema the only way to handle the keys? From bounces@nabble.com Thu Sep 22 20:31:51 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id BC94675013F for ; Thu, 22 Sep 2011 20:31:51 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.416 X-Spam-Level: X-Spam-Status: No, score=-1.416 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, TW_GT=0.077, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FijEbdj8bJx1 for ; Thu, 22 Sep 2011 20:31:50 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by menubar.gnome.org (Postfix) with ESMTP id 6ED927500C9 for ; Thu, 22 Sep 2011 20:31:42 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R6pvp-00037Y-Hk for gtk-list@gnome.org; Thu, 22 Sep 2011 13:31:41 -0700 Message-ID: <32503837.post@talk.nabble.com> Date: Thu, 22 Sep 2011 13:31:41 -0700 (PDT) From: sirthunder516 To: gtk-list@gnome.org Subject: Using GLists MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nickel516@gmail.com X-Mailman-Approved-At: Sat, 24 Sep 2011 18:47:22 +0000 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2011 20:31:52 -0000 Hi. I'm new to GTK+. Currently I'm using GTK+ (not gtkmm) in C++ with the MinGW compiler for Windows. I have a gtkiconview that contains both text and images. I know that I can get a GList from the selected item with gtk_icon_view_get_selected_items(), but how do I get the that information from the GList? I don't need to get the icon of the currently selected item, just the text. Or is there a better way to get the text from the currently selected item? Thanks in advance. -- View this message in context: http://old.nabble.com/Using-GLists-tp32503837p32503837.html Sent from the Gtk+ - General mailing list archive at Nabble.com. From yeti@physics.muni.cz Sat Sep 24 19:08:56 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 728DF750372 for ; Sat, 24 Sep 2011 19:08:56 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -4.627 X-Spam-Level: X-Spam-Status: No, score=-4.627 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0SoxPYmh2VCv for ; Sat, 24 Sep 2011 19:08:34 +0000 (UTC) Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by menubar.gnome.org (Postfix) with ESMTP id A6B73750130 for ; Sat, 24 Sep 2011 19:08:24 +0000 (UTC) Received: from monoceros.physics.muni.cz (postfix@monoceros.physics.muni.cz [147.251.27.2]) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id p8OJ8K4L015303; Sat, 24 Sep 2011 21:08:21 +0200 Received: by monoceros.physics.muni.cz (Postfix, from userid 16809) id DB231C1B832; Sat, 24 Sep 2011 21:08:20 +0200 (CEST) Date: Sat, 24 Sep 2011 21:08:20 +0200 From: David =?utf-8?B?TmXEjWFz?= To: sirthunder516 Subject: Re: Using GLists Message-ID: <20110924190820.GC10584@physics.muni.cz> References: <32503837.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32503837.post@talk.nabble.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Muni-Spam-TestIP: 147.251.27.2 X-Muni-Envelope-From: yeti@physics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Sat, 24 Sep 2011 21:08:22 +0200 (CEST) Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2011 19:08:56 -0000 On Thu, Sep 22, 2011 at 01:31:41PM -0700, sirthunder516 wrote: > I have a gtkiconview that contains both text and images. I know that I can > get a GList from the selected item with gtk_icon_view_get_selected_items(), > but how do I get the that information from the GList? I don't need to get > the icon of the currently selected item, just the text. Or is there a better > way to get the text from the currently selected item? The items of the list returned by gtk_icon_view_get_selected_items() are, according to http://developer.gnome.org/gtk3/stable/GtkIconView.html#gtk-icon-view-get-selected-items GtkTreePaths. So to obtain the items you normally use gtk_tree_model_get_iter() to convert the paths to iterators and then gtk_tree_model_get(), using these iterators, to obtain data from the underlying tree model. What you can obtain from the tree model and how depends how the model looks like. Yeti From mclasen@redhat.com Mon Sep 26 03:37:29 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 33AD475007F; Mon, 26 Sep 2011 03:37:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -5.823 X-Spam-Level: X-Spam-Status: No, score=-5.823 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.504, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, SUBJ_ALL_CAPS=1.506, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 86Sl9Tk-87wA; Mon, 26 Sep 2011 03:37:25 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by menubar.gnome.org (Postfix) with ESMTP id 34FBC75002F; Mon, 26 Sep 2011 03:37:16 +0000 (UTC) Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8Q3bFiX001081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 25 Sep 2011 23:37:15 -0400 Received: from [10.11.8.179] (vpn-8-179.rdu.redhat.com [10.11.8.179]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p8Q3bDjq013279; Sun, 25 Sep 2011 23:37:14 -0400 Message-ID: <1317008208.13161.10.camel@lemur> Subject: GTK+ 3.2.0 From: Matthias Clasen To: gnome-announce-list@gnome.org, gtk-devel-list@gnome.org, gtk-app-devel-list@gnome.org, gtk-list@gnome.org Date: Sun, 25 Sep 2011 23:36:48 -0400 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gtk-devel-list@gnome.org List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2011 03:37:29 -0000 GTK+ 3.2.0 is now available for download at: http://download.gnome.org/sources/gtk+/3.2/ ftp://ftp.gtk.org/pub/gtk/3.2/ bce3c1a9be6afd7552c795268656d8fdd09c299765a7faaf5a76498bb82ed44c gtk +-3.2.0.tar.xz b285074ffefb4ff4364f6dd50fe68c7e85b11293e0c1dd3bdeac56052344dadb gtk +-3.2.0.tar.bz2 What is GTK+ ============ GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites. GTK+ has been designed from the ground up to support a range of languages, not only C/C++. Using GTK+ from languages such as Perl and Python (especially in combination with the Glade GUI builder) provides an effective method of rapid application development. GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties. GTK+ is the only 100% free-of-cost open source industrial-strength GUI toolkit available today. Since its origins as the toolkit for the GNU Image Manipulation Program (GIMP), GTK+ has been used in a wide range of software. Notably, GTK+ is the foundation of the GNOME desktop. What's new in GTK+ 3.2 ====================== * Many improvements to the CSS theming support * Width-for-height support in many more widgets: GtkPaned, GtkMenuBar, GtkNotebook, * New experimental Wayland and HTML5 backends * GtkFileChooser and GtkAssistant have received face-lifts * The GtkFontSelection has been replaced by a new family of GtkFontChooser widgets * New widgets: GtkLockButton and GtkOVerlay For more details and lists of fixed bugs, see the announcements for the 3.1.x development releases: http://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00072.html http://mail.gnome.org/archives/gtk-devel-list/2011-May/msg00031.html http://mail.gnome.org/archives/gtk-devel-list/2011-June/msg00040.html http://mail.gnome.org/archives/gtk-devel-list/2011-July/msg00002.html http://mail.gnome.org/archives/gtk-devel-list/2011-July/msg00053.html http://mail.gnome.org/archives/gtk-devel-list/2011-August/msg00035.html http://mail.gnome.org/archives/gtk-devel-list/2011-September/msg00009.html http://mail.gnome.org/archives/gtk-devel-list/2011-September/msg00148.html http://mail.gnome.org/archives/gtk-devel-list/2011-September/msg00165.html Where to get more information about GTK+ ======================================== Information about GTK+ including links to documentation can be found at: http://www.gtk.org/ An installation guide for GTK+ 2.x is found at: http://library.gnome.org/devel/gtk/stable/gtk-building.html Common questions: http://library.gnome.org/devel/gtk/stable/gtk-question-index.html Contributing ============ GTK+ is a large project and relies on voluntary contributions. We are actively searching for new contributors in various areas and invite everyone to help project development. If you are willing to participate, please subscribe to the project mailing lists to offer your help and read over our list of vacant project tasks: http://live.gnome.org/GtkTasks GTK+ is the product of many people. Apart from the core GTK+ team, many others also contributed to this release: Alberto Ruiz, Alejandro Piñeiro, Alexander Larsson, Alexander Saprykin, Andrea Cimitan, Andre Klapper, Arnel Borja, Arx Cruz, Bastien Nocera, Behdad Esfahbod, Benjamin Berg, Benjamin Otte, Brian Cameron, Carlos Garnacho, Chris Coulson, Christian Persch, Chun-wei Fan, Claudio Saavedra, Colin Walters, Cosimo Cecchi, Daniel Drake, Dan Winship, David King, David Zeuthen, Diego Celix, Eitan Isaacson, Federico Mena Quintero, Felix Riemann, Florian Müllner, Greg Hellings, Ignacio Casal Quinteiro, Javier Jardón, Jesse van den Kieboom, Joachim Breitner, Johan Dahlin, John Lindgren, John Palmieri, John Ralls, John Stowers, José Aliste, Juan A. Suarez Romero, Juan Pablo Ugarte, Jürg Billeter, Kalev Lember, Kazuki Iwamoto, Kjell Ahlstedt, Kristian Høgsberg, Kristian Rietveld, Lapo Calamandrei, Laszlo Pandy, Marc-André Lureau, Marek Kašík, Matt Barnes, Matthew Barnes, Micah Carrick, Michael Hutchinson, Michael Natterer, Michael Terry, Michal Suchanek, Mike Gorse, Murray Cumming, Paolo Borelli, Patrick Welche, Pavel Holejsovsky, Philip Withnall, Richard Hughes, Rico Tzschichholz, Rui Matos, Ryan Lortie, Ryo Hashimoto, Scott Moreau, Sébastien Granjoux, Stéphane Maniaci, Tristan Van Berkom, Vincent Bernat, Vincent Untz, William Jon McCann, Will Thompson, Xan Lopez, Xavier Claessens Special thanks to Alberto Ruiz for his work on GtkFontChooser September 25, 2011 Matthias Clasen From papperspaul@hotmail.com Mon Sep 26 12:40:59 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C21B17500A9 for ; Mon, 26 Sep 2011 12:40:59 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -102.403 X-Spam-Level: X-Spam-Status: No, score=-102.403 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eR6KbUmzWkUW for ; Mon, 26 Sep 2011 12:40:52 +0000 (UTC) X-Greylist: delayed 340 seconds by postgrey-1.32 at menubar.gnome.org; Mon, 26 Sep 2011 12:40:52 UTC Received: from col0-omc1-s16.col0.hotmail.com (col0-omc1-s16.col0.hotmail.com [65.55.34.26]) by menubar.gnome.org (Postfix) with ESMTP id B1CAA75006B for ; Mon, 26 Sep 2011 12:40:44 +0000 (UTC) Received: from COL107-W38 ([65.55.34.7]) by col0-omc1-s16.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 26 Sep 2011 05:35:03 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_c30ea76d-8d60-45a5-b6ba-5faabf8bfa71_" X-Originating-IP: [85.224.199.7] From: paul papper To: Subject: Breaking while loop from on_destroy Date: Mon, 26 Sep 2011 14:35:02 +0200 Importance: Normal In-Reply-To: <1317008208.13161.10.camel@lemur> References: <1317008208.13161.10.camel@lemur> MIME-Version: 1.0 X-OriginalArrivalTime: 26 Sep 2011 12:35:03.0071 (UTC) FILETIME=[B6A5CAF0:01CC7C48] X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2011 12:41:00 -0000 --_c30ea76d-8d60-45a5-b6ba-5faabf8bfa71_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm taking pictures from an industrial camera within a loop to make it a co= ntinuous live display. The images are attached to an Image-widget. Works fi= ne=2C but when the main program window is closed by the user I want to free= the resources used by the camera in the while loop. There are a lot of buf= fers and data structures that need clean up there. Problem is=2C I don't kn= ow how to interrupt the picture taking while loop. I tried using a variable= =2C e.g. while (grabbing) {pic =3D TakePicture()=3B ...} setting the grabb= ing variable to false from the on_destroy callback but this is never regist= ered from the camera while loop. Maybe GTK runs the picture taking in anoth= er process? How can I solve this in any other way? /Paul = --_c30ea76d-8d60-45a5-b6ba-5faabf8bfa71_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable


I'm taking pictures from an industrial camera within a loop to= make it a continuous live display. The images are attached to an Image-wid= get. Works fine=2C but when the main program window is closed by the user I= want to free the resources used by the camera in the while loop. There are= a lot of buffers and data structures that need clean up there. Problem is= =2C I don't know how to interrupt the picture taking while loop. I tried us= ing a variable=2C e.g.  =3Bwhile (grabbing) {pic =3D TakePicture()=3B .= ..} setting the grabbing variable to false from the on_destroy callback but= this is never registered from the camera while loop. Maybe GTK runs the pi= cture taking in another process? How can I solve this in any other way?

/Paul
= --_c30ea76d-8d60-45a5-b6ba-5faabf8bfa71_-- From azagli@libero.it Tue Sep 27 15:58:11 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C3C627502C8 for ; Tue, 27 Sep 2011 15:58:11 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.393 X-Spam-Level: X-Spam-Status: No, score=-2.393 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4haAilKZLXKX for ; Tue, 27 Sep 2011 15:58:08 +0000 (UTC) X-Greylist: delayed 343 seconds by postgrey-1.32 at menubar.gnome.org; Tue, 27 Sep 2011 15:58:07 UTC Received: from outrelay06.libero.it (cp-out10.libero.it [212.52.84.79]) by menubar.gnome.org (Postfix) with ESMTP id F03D1750270 for ; Tue, 27 Sep 2011 15:58:02 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B020A.4E81F131.0030,ss=1,re=0.000,fgs=0 X-libjamoibt: 1823 Received: from phobos.saetta.homelinux.org (151.40.176.110) by outrelay06.libero.it (8.5.133) (authenticated as azagli@libero.it) id 4DF73B8D095C0F8D for gtk-list@gnome.org; Tue, 27 Sep 2011 17:52:17 +0200 Received: from localhost (localhost [127.0.0.1]) by phobos.saetta.homelinux.org (Postfix) with ESMTP id 050429EA7 for ; Tue, 27 Sep 2011 17:52:14 +0200 (CEST) Received: from asterix.comune.scandicci.fi.it (asterix.comune.scandicci.fi.it [159.213.80.197]) by saetta.homelinux.org (Horde Framework) with HTTP; Tue, 27 Sep 2011 17:52:12 +0200 Date: Tue, 27 Sep 2011 17:52:11 +0200 Message-ID: <20110927175211.Horde.aVt4Whs-3RBOgfErn5IG3-A@saetta.homelinux.org> From: Andrea Zagli To: gtk-list@gnome.org Subject: GtkTreeModelFilter on GtkTreeModelSort User-Agent: Internet Messaging Program (IMP) H4 (5.0.13) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2011 15:58:12 -0000 can i have a GtkTreeView based on GtkTreeModelFilter based on a GtkTreeModelSort? i tried but when i click on a column header i get "invalid cast from `GtkTreeModelFilter' to `GtkTreeSortable'" thanks in advance From desrt@desrt.ca Tue Sep 27 19:14:31 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D14637500D7; Tue, 27 Sep 2011 19:14:31 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.404 X-Spam-Level: X-Spam-Status: No, score=-2.404 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x4n1z1v2xHhs; Tue, 27 Sep 2011 19:14:28 +0000 (UTC) Received: from mail.desrt.ca (manic.desrt.ca [207.192.74.61]) by menubar.gnome.org (Postfix) with ESMTP id C72627500D0; Tue, 27 Sep 2011 19:14:22 +0000 (UTC) Received: from [172.16.0.159] (173-230-190-244.cable.teksavvy.com [173.230.190.244]) by manic.desrt.ca (Postfix) with ESMTPSA id 5815E80B2; Tue, 27 Sep 2011 14:14:20 -0500 (EST) Subject: GLib 2.30.0 From: Ryan Lortie To: gtk-devel-list@gnome.org, gnome-announce-list@gnome.org, gtk-app-devel-list@gnome.org, gtk-list@gnome.org Date: Tue, 27 Sep 2011 15:14:19 -0400 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.0.3 (3.0.3-1.fc15) Content-Transfer-Encoding: 8bit Message-ID: <1317150860.6355.13.camel@moonpix.lan> Mime-Version: 1.0 X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gtk-devel-list@gnome.org List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2011 19:14:32 -0000 hello everyone. GLib 2.30.0 has been released. http://download.gnome.org/sources/glib/2.30/ d64c00b43409eabb89aad78501fcb1a992b002b314a4414a9bd069585cb7cdc1 glib-2.30.0.tar.xz This major release of GLib represents 1174 commits from 151 individual authors, including 35 contributors with 5 or more commits. Over a dozen companies have made a substantial contribution to this release. Countless others have contributed testing, bug reports, packaging, online support and other valuable work throughout the cycle. In addition to hundreds of bug fixes and enhancements made this cycle, the following major features were added: - GDBus has been improved by the addition of a high-level object manager and code generation facilities that make use of it. See http://davidz25.blogspot.com/2011/09/new-d-bus-features-in-glib-230.html for more information. - GLib has added an extensible TLS database where certificates and keys can be found and used, laying the foundation for integration with smart cards and other key stores. GLib now also supports HMAC hashes (which are used when implementing web technologies like OAuth). - The atomic operations have been expanded to include bit operations (and, or, xor) and so that all operations are supported on pointer-sized operands. The implementation has been made more correct and performant by way of GCC intrinsics and better use of the Interlocked API on Windows. Bitlocks now work on pointer-sized operands. - New API has been added to allow UNIX signals to be dispatched via the mainloop. Additionally, there is a new UNIX-specific API to allow race-free creation of close-on-exec pipes with a fallback on platforms where this is not possible. - GMainContext and GCancellable now use eventfd when available, instead of less efficient pipe pairs. - GApplication now supports non-single-instance applications. We had one small API break to an interface that wasn't used except from inside GLib itself: the name of the 'set_state' virtual function call on the interface of GAction changed to 'change_state' in order to avoid conflicts with the 'set_state' method on GSimpleAction. To avoid compatibility problems, those who will implement GAction going forward are suggested to assume that this feature appeared for the first time in this release of GLib. This release of GLib has had a fantastic amount of work put in by translators. Despite being one of the most difficult modules to translate, we have 100% coverage of 32 languages, including: Assamese, Basque, Brazilian Portuguese, British English, Bulgarian, Canadian English, Catalan (Valencian), Catalan, Chinese (China), Czech, Danish, French, Galician, German, Hungarian, Indonesian, Italian, Korean, Latvian, Lithuanian, Norwegian Bokmål, Polish, Portuguese, Punjabi, Russian, Serbian, Serbian Latin, Slovenian, Spanish and Swedish. Special mention goes to the translations of Tamil and Esperanto which were both at approximately 50% last cycle and made it to 100% this cycle. 12 other languages (Chinese (Hong Kong), Chinese (Taiwan), Belarusian, Hebrew, Uighur, Finnish, Greek, Romanian, Vietnamese, Armenian, Japanese, Gujarati) are above the 80% level. Finally, Chun-wei Fan has invested a substantial effort to ensure that it is once again possible to build GLib using Visual Studio on Windows. Release announcements (and more detailed change summaries) for the individual unstable point releases made during this cycle can be found here: 2.29.92: https://mail.gnome.org/archives/gtk-devel-list/2011-September/msg00153.html 2.29.90: https://mail.gnome.org/archives/gtk-devel-list/2011-September/msg00018.html 2.29.16: https://mail.gnome.org/archives/gtk-devel-list/2011-August/msg00034.html 2.29.14: https://mail.gnome.org/archives/gtk-devel-list/2011-July/msg00038.html 2.29.12: https://mail.gnome.org/archives/gtk-devel-list/2011-July/msg00034.html 2.29.10: https://mail.gnome.org/archives/gtk-devel-list/2011-July/msg00003.html 2.29.8: https://mail.gnome.org/archives/gtk-devel-list/2011-June/msg00041.html 2.29.6: https://mail.gnome.org/archives/gtk-devel-list/2011-June/msg00011.html 2.29.4: https://mail.gnome.org/archives/gtk-devel-list/2011-May/msg00012.html 2.29.2: https://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00071.html I won't try to list everyone who contributed to this release. You know who you are; a huge thank you to you all. From philhart@iinet.net.au Wed Sep 28 07:51:40 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7FA1975010D for ; Wed, 28 Sep 2011 07:51:40 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.404 X-Spam-Level: X-Spam-Status: No, score=-2.404 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SWF-3LLttNKU for ; Wed, 28 Sep 2011 07:51:38 +0000 (UTC) X-Greylist: delayed 622 seconds by postgrey-1.32 at menubar.gnome.org; Wed, 28 Sep 2011 07:51:37 UTC Received: from outbound.icp-osb-irony-out9.iinet.net.au (outbound.icp-osb-irony-out9.iinet.net.au [203.59.1.110]) by menubar.gnome.org (Postfix) with ESMTP id B51D4750102 for ; Wed, 28 Sep 2011 07:51:30 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An8CAEjPgk58lOVs/2dsb2JhbAAMNZlBkU9pFDQCWQgBAcAghwsEh3CLYoVBjAA X-IronPort-AV: E=Sophos;i="4.68,454,1312128000"; d="scan'208";a="37786290" Received: from unknown (HELO [10.1.1.3]) ([124.148.229.108]) by outbound.icp-osb-irony-out9.iinet.net.au with ESMTP; 28 Sep 2011 15:40:53 +0800 Message-ID: <4E82CF81.80100@iinet.net.au> Date: Wed, 28 Sep 2011 15:40:49 +0800 From: Phil Hart User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: gtk-list@gnome.org Subject: A thumbnails widget Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 07:51:40 -0000 Hello Everybody, I want (need?) a scrollable (both vertical and horizontal) widget for displaying thumbnails which also re-arranges them depending on how many thumbnails wide is chosen in an up-down counter. (Gigapan stitcher users will know what I am talking about.) Is there anything similar already around - if not, I will write one (and if I regard it as good enough, I will also publish the source code). Many Thanks In Advance, Phil From t@jollybox.de Wed Sep 28 11:20:08 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C947C750196 for ; Wed, 28 Sep 2011 11:20:08 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.404 X-Spam-Level: X-Spam-Status: No, score=-2.404 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u2rGRGwSczcO for ; Wed, 28 Sep 2011 11:20:06 +0000 (UTC) X-Greylist: delayed 599 seconds by postgrey-1.32 at menubar.gnome.org; Wed, 28 Sep 2011 11:20:06 UTC Received: from trillian.jollybox.de (trillian.jollybox.de [62.75.245.247]) by menubar.gnome.org (Postfix) with ESMTP id 5B7B575010D for ; Wed, 28 Sep 2011 11:19:58 +0000 (UTC) Received: from [192.168.1.40] (p57BA6BFB.dip.t-dialin.net [87.186.107.251]) by trillian.jollybox.de (Postfix) with ESMTPSA id 9D9E8109E8034 for ; Wed, 28 Sep 2011 11:09:56 +0000 (UTC) Message-ID: <4E83009F.1000202@jollybox.de> Date: Wed, 28 Sep 2011 13:10:23 +0200 From: Thomas Jollans User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.1) Gecko/20110831 Thunderbird/6.0.1 MIME-Version: 1.0 To: gtk-list@gnome.org Subject: Re: GtkTreeModelFilter on GtkTreeModelSort References: <20110927175211.Horde.aVt4Whs-3RBOgfErn5IG3-A@saetta.homelinux.org> In-Reply-To: <20110927175211.Horde.aVt4Whs-3RBOgfErn5IG3-A@saetta.homelinux.org> X-Enigmail-Version: 1.3.2 OpenPGP: id=5C8691ED Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig460FD1FA31514F894B7DA916" X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 11:20:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig460FD1FA31514F894B7DA916 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 27/09/11 17:52, Andrea Zagli wrote: > can i have a GtkTreeView based on GtkTreeModelFilter based on a > GtkTreeModelSort? >=20 > i tried but when i click on a column header i get "invalid cast from > `GtkTreeModelFilter' to `GtkTreeSortable'" >=20 > thanks in advance If you want the TreeView to be sortable, the GtkTreeView's model must implement GtkTreeSortable. GtkTreeModelFilter doesn't, GtkTreeModelSort does - you have to swap the two. Give the GtkTreeView a GtkTreeModelSort wrapping a GtkTreeModelFilter (which in turn can wrap your actual data) Thomas --------------enig460FD1FA31514F894B7DA916 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREIAAYFAk6DAKMACgkQVElENFyGke2M2gD/Z6MYmhDYRzHusnUAqXRA+E0W Xv9mjfXMduBZl/Lmt+8A/22HV8Rf4Z/yAHx+IxDVcawcE+xs2oRHt0XzpbD7Gupc =UGDE -----END PGP SIGNATURE----- --------------enig460FD1FA31514F894B7DA916-- From t@jollybox.de Wed Sep 28 11:28:02 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 386A4750333 for ; Wed, 28 Sep 2011 11:28:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.327 X-Spam-Level: X-Spam-Status: No, score=-2.327 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504, TW_GD=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PMvFveMyLT2d for ; Wed, 28 Sep 2011 11:28:00 +0000 (UTC) Received: from trillian.jollybox.de (trillian.jollybox.de [62.75.245.247]) by menubar.gnome.org (Postfix) with ESMTP id 2FDA5750196 for ; Wed, 28 Sep 2011 11:27:51 +0000 (UTC) Received: from [192.168.1.40] (p57BA6BFB.dip.t-dialin.net [87.186.107.251]) by trillian.jollybox.de (Postfix) with ESMTPSA id E86E5109E8034 for ; Wed, 28 Sep 2011 11:27:49 +0000 (UTC) Message-ID: <4E8304D4.7010105@jollybox.de> Date: Wed, 28 Sep 2011 13:28:20 +0200 From: Thomas Jollans User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.1) Gecko/20110831 Thunderbird/6.0.1 MIME-Version: 1.0 To: gtk-list@gnome.org Subject: Re: MS Windows porting question References: <4E793A5A.4060509@ieee.org> In-Reply-To: <4E793A5A.4060509@ieee.org> X-Enigmail-Version: 1.3.2 OpenPGP: id=5C8691ED Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigB173542A66B383BAC1D1F09E" X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 11:28:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB173542A66B383BAC1D1F09E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 21/09/11 03:14, Dan Stanger wrote: > Hello All, > I have an application back end written for xlib, and would like to port= > it to MS windows, and was thinking of using gdk to do this. > My reasoning is that I want to provide events to the application, and > gdk seems to provide a layer that may make it easier. > Does this make sense? > Any advice would be appreciated. > Thank you, > Dan Stanger Keep in mind I'm certainly not an expert here. Dependening on your needs, the simplest solution may be to simply continue using Xlib, and use a compatibility layer such as CygWin or Microsoft's own Services for UNIX to run your code on Windows. If you want to port your code to a different back-end, it'd probably be wise to use a portable back-end for all platforms to avoid duplication. Gdk sounds like a reasonable choice; SDL also comes to mind. Or you could of course use OpenGL, with a few lines of initialisation code for each system you support. If you want this port to really be just for Windows, it may be good to have a look at the GDI and Direct2D APIs, to see if either of them is a better fit for what you're doing than GDK or SDL - they might be faster, being the native libraries and all. Thomas Jollans --------------enigB173542A66B383BAC1D1F09E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREIAAYFAk6DBNQACgkQVElENFyGke2l8QD/ahPjkl/8uUm7/ywQjt13vaQg WDEwGT1hf0Uh/lw4NiEBAMiNOkxWYnkqLZQk5O/a/hpYZsVJ+4K5Lp+mQYV2jT8o =AWtu -----END PGP SIGNATURE----- --------------enigB173542A66B383BAC1D1F09E-- From philhart@iinet.net.au Wed Sep 28 11:48:25 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 44088750196 for ; Wed, 28 Sep 2011 11:48:25 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.305 X-Spam-Level: X-Spam-Status: No, score=-1.305 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, TW_GT=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2YbrCO+XeHrE for ; Wed, 28 Sep 2011 11:48:22 +0000 (UTC) Received: from outbound.icp-osb-irony-out8.iinet.net.au (outbound.icp-osb-irony-out8.iinet.net.au [203.59.1.134]) by menubar.gnome.org (Postfix) with ESMTP id AF1B77500B0 for ; Wed, 28 Sep 2011 11:48:12 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAB4Jg07LOw3W/2dsb2JhbAAMNoRlojmDMwEBAQQBAQEgSwoBEAsNCwkWCAMCAgkDAgECARUfAwENEwEFAgEBh3qmMpFvhXqBEQSHcItihUGMAA X-IronPort-AV: E=Sophos;i="4.68,455,1312128000"; d="scan'208,217";a="154490021" Received: from unknown (HELO [10.1.1.3]) ([203.59.13.214]) by outbound.icp-osb-irony-out8.iinet.net.au with ESMTP; 28 Sep 2011 19:48:09 +0800 Message-ID: <4E830976.4050704@iinet.net.au> Date: Wed, 28 Sep 2011 19:48:06 +0800 From: Phil Hart User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 CC: gtk-list@gnome.org Subject: Re: A thumbnails widget References: <4E82CF81.80100@iinet.net.au> In-Reply-To: Content-Type: multipart/alternative; boundary="------------050301070703080208060102" X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 11:48:25 -0000 This is a multi-part message in MIME format. --------------050301070703080208060102 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello Milosz, Thanks for you thoughts, I will do what I can to accommodate them. My initial thought was to reduce all input images by a fixed factor supplied by the caller (I would use 3% for my own application), along with a fixed spacing between images again supplied by the caller (again, 10px for my own application). If I can figure out how to use a user-supplied renderer, I will of course incorporate it. My own style is to develop from the base code, and my current thinking revolves around GtkImage, GtkScrollbar and GtkTable, but I need to think through the issues, and try a few experiments, before I can come to a well-informed decision. For what it is worth, I am using Code::Blocks 10.05 in a Windows 7 64-bit environment (gah!) while fighting issues on multiple fronts. Once I have "defeated the enemy(ies)", I will be looking to port to Ubuntu. Then, and only then, might I have something that might be considered useful. My ideal, which is probably unrealisable, is to have something that could be incorporated into Gtk itself. (Me, ambitious? Yes, but I have got to have *something* to aim at!) Best Regards, Phil Hart On 28/09/2011 16:27, Milosz Derezynski wrote: > Just want to throw in my "vote": I also would be very much for having > such a widget, but still leaving the thumbnail rendering routine open > to implementation (with a standard default renderer present). > > To be a little preemptive: In case someone says nuh-uh too fast: I've > never coded with Cocoa, but I imagine that the/a CoverFlow widget > exists in the library and doesn't need to be reimplemented each time. > > These days, thumbnails could be used for quite a lot of stuff. > > Also, as a last, completely intuitive and at the moment not > rationalizeable thought (I'll try it to flesh out in an upcoming > message): Please, please don't base the code for the ThumbView widget > on anything Nautilus. Please. > > > Regards > Milosz > > On Wed, Sep 28, 2011 at 9:40 AM, Phil Hart > wrote: > > Hello Everybody, > > I want (need?) a scrollable (both vertical and horizontal) widget > for displaying thumbnails which also re-arranges them depending on > how many thumbnails wide is chosen in an up-down counter. (Gigapan > stitcher users will know what I am talking about.) > > Is there anything similar already around - if not, I will write > one (and if I regard it as good enough, I will also publish the > source code). > > Many Thanks In Advance, > Phil > > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-list > > > > > -- > Everything is Original. --------------050301070703080208060102 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Hello Milosz,

Thanks for you thoughts, I will do what I can to accommodate them.

My initial thought was to reduce all input images by a fixed factor supplied by the caller (I would use 3% for my own application), along with a fixed spacing between images again supplied by the caller (again, 10px for my own application). If I can figure out how to use a user-supplied renderer, I will of course incorporate it.

My own style is to develop from the base code, and my current thinking revolves around GtkImage, GtkScrollbar and GtkTable, but I need to think through the issues, and try a few experiments, before I can come to a well-informed decision.

For what it is worth, I am using Code::Blocks 10.05 in a Windows 7 64-bit environment (gah!) while fighting issues on multiple fronts. Once I have "defeated the enemy(ies)", I will be looking to port to Ubuntu. Then, and only then, might I have something that might be considered useful. My ideal, which is probably unrealisable, is to have something that could be incorporated into Gtk itself. (Me, ambitious? Yes, but I have got to have *something* to aim at!)

Best Regards,
Phil Hart

On 28/09/2011 16:27, Milosz Derezynski wrote:
Just want to throw in my "vote": I also would be very much for having such a widget, but still leaving the thumbnail rendering routine open to implementation (with a standard default renderer present).

To be a little preemptive: In case someone says nuh-uh too  fast: I've never coded with Cocoa, but I imagine that the/a CoverFlow widget exists in the library and doesn't need to be reimplemented each time. 

These days, thumbnails could be used for quite a lot of stuff.

Also, as a last, completely intuitive and at the moment not rationalizeable thought (I'll try it to flesh out in an upcoming message): Please, please don't base the code for the ThumbView widget on anything Nautilus. Please.


Regards
Milosz

On Wed, Sep 28, 2011 at 9:40 AM, Phil Hart <philhart@iinet.net.au> wrote:
Hello Everybody,

I want (need?) a scrollable (both vertical and horizontal) widget for displaying thumbnails which also re-arranges them depending on how many thumbnails wide is chosen in an up-down counter. (Gigapan stitcher users will know what I am talking about.)

Is there anything similar already around - if not, I will write one (and if I regard it as good enough, I will also publish the source code).

Many Thanks In Advance,
Phil

_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list



--
Everything is Original.

--------------050301070703080208060102-- From internalerror@gmail.com Wed Sep 28 12:44:12 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id ACF44750161 for ; Wed, 28 Sep 2011 12:44:12 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.622 X-Spam-Level: X-Spam-Status: No, score=-2.622 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lAW56yF8bwyG for ; Wed, 28 Sep 2011 12:44:08 +0000 (UTC) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by menubar.gnome.org (Postfix) with ESMTP id 6C70C7500C6 for ; Wed, 28 Sep 2011 12:44:00 +0000 (UTC) Received: by iadk27 with SMTP id k27so14301212iad.27 for ; Wed, 28 Sep 2011 05:43:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sG+mU4dG30mBOhUk4+7CGJPYr9bs/I5VRPzBOYz0Y7g=; b=mL32sVhlx9aCllzlSRE78ussKcRmuyFvKVpLqiFzKmxSQflidyozlsicRSw3Cj/MIU ZxPtN00dJHmq0DKri3DWp7H1vOOhEacYLa6HqdrCn4iYlPAZbwRZlXIvfwCJ+wtT5/Np 61d8WAjNyiuku125WSLugH+PGSSU6cvpDMYUk= MIME-Version: 1.0 Received: by 10.231.48.142 with SMTP id r14mr3564855ibf.5.1317213838753; Wed, 28 Sep 2011 05:43:58 -0700 (PDT) Received: by 10.231.14.204 with HTTP; Wed, 28 Sep 2011 05:43:58 -0700 (PDT) In-Reply-To: <4E830976.4050704@iinet.net.au> References: <4E82CF81.80100@iinet.net.au> <4E830976.4050704@iinet.net.au> Date: Wed, 28 Sep 2011 14:43:58 +0200 Message-ID: Subject: Re: A thumbnails widget From: Milosz Derezynski To: Phil Hart Content-Type: multipart/alternative; boundary=0015176f0ac0f3bec704adffbed1 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 12:44:12 -0000 --0015176f0ac0f3bec704adffbed1 Content-Type: text/plain; charset=UTF-8 Hello Phil, A few words on your response, if I am allowed: My initial thought was to reduce all input images by a fixed factor supplied > by the caller (I would use 3% for my own application), along with a fixed > spacing between images again supplied by the caller (again, 10px for my own > application). If I can figure out how to use a user-supplied renderer, I > will of course incorporate it. > > It should be part of the design from the start, not an optional afterthought. That said, the default renderer needs to be thought out well as well, since the ideal goal is that people do *not* need to write an own renderer, since that will cause that widget to look mostly uniform in most of the applications. Ideally, the API for a custom renderer should be thought out in such a way that even if the designer of a custom renderer goes much out of his way to make it look a specific way, the combined logic and semantics, and final rendition, of the widget would enforce some kind of standard towards the look of the thumbnails. The API itself could be initially borrowed from the CellRenderer architecture. But if all of the above would be factored into the initial design there would be some degree of departure from the TreeView-CellRenderer architecture (not neccessarily bad, but it's always good to keep things as familiar as possible for future API users). I know this sounds very abstract, but if 2 people who are good up the usability ladder would focus on this for a week or two, it could be done. I would offer myself to do the usability work, if you wish (but most likely not over the course of the next month, and starting again in November; maybe you could find some other usability person to do it?). > My own style is to develop from the base code, and my current thinking > revolves around GtkImage, GtkScrollbar and GtkTable, but I need to think > through the issues, and try a few experiments, before I can come to a > well-informed decision. > > To be completely blunt, this sounds like a bad idea. Ideally, this widget would be written from scratch or perhaps based on GtkIconView, but I can't imagine anything good from how you describe it. If you're interested in why particularily, please say so and I'll explain why I think it's a bad idea! Don't hesitate! > For what it is worth, I am using Code::Blocks 10.05 in a Windows 7 64-bit > environment (gah!) while fighting issues on multiple fronts. Once I have > "defeated the enemy(ies)", I will be looking to port to Ubuntu. Then, and > only then, might I have something that might be considered useful. My ideal, > which is probably unrealisable, is to have something that could be > incorporated into Gtk itself. (Me, ambitious? Yes, but I have got to have > *something* to aim at!) > > Ambition is always good but as with all open source, you eventually need to let this go the open-source-soul-searching process. > Best Regards, > Phil Hart > > Regards, Milosz > > On 28/09/2011 16:27, Milosz Derezynski wrote: > > Just want to throw in my "vote": I also would be very much for having such > a widget, but still leaving the thumbnail rendering routine open to > implementation (with a standard default renderer present). > > To be a little preemptive: In case someone says nuh-uh too fast: I've > never coded with Cocoa, but I imagine that the/a CoverFlow widget exists in > the library and doesn't need to be reimplemented each time. > > These days, thumbnails could be used for quite a lot of stuff. > > Also, as a last, completely intuitive and at the moment not > rationalizeable thought (I'll try it to flesh out in an upcoming message): > Please, please don't base the code for the ThumbView widget on anything > Nautilus. Please. > > > Regards > Milosz > > On Wed, Sep 28, 2011 at 9:40 AM, Phil Hart wrote: > >> Hello Everybody, >> >> I want (need?) a scrollable (both vertical and horizontal) widget for >> displaying thumbnails which also re-arranges them depending on how many >> thumbnails wide is chosen in an up-down counter. (Gigapan stitcher users >> will know what I am talking about.) >> >> Is there anything similar already around - if not, I will write one (and >> if I regard it as good enough, I will also publish the source code). >> >> Many Thanks In Advance, >> Phil >> >> _______________________________________________ >> gtk-list mailing list >> gtk-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/gtk-list >> > > > > -- > Everything is Original. > > > > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-list > > -- Everything is Original. --0015176f0ac0f3bec704adffbed1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Phil,

A few words on your response, if I am allowe= d:

My initial thought was to reduce all input images by a fixed factor supplied by the caller (I would use 3% for my own application), along with a fixed spacing between images again supplied by the caller (again, 10px for my own application). If I can figure out how to use a user-supplied renderer, I will of course incorporate it.


It should be part of the des= ign from the start, not an optional afterthought. That said, the default re= nderer needs to be thought out well as well, since the ideal goal is that p= eople do not=C2=A0need to write an own renderer, since that will cau= se that widget to look mostly uniform in most of the applications. Ideally,= the API for a custom renderer should be thought out in such a way that eve= n if the designer of a custom renderer goes much out of his way to make it = look a specific way, the combined logic and semantics, and final rendition,= of the widget would enforce some kind of standard towards the look of the = thumbnails.

The API itself could be initially borrowed from the Cel= lRenderer architecture. But if all of the above would be factored into the = initial design there would be some degree of departure from the TreeView-Ce= llRenderer architecture (not neccessarily bad, but it's always good to = keep things as familiar as possible for future API users).

I know this sounds very abstract, but if 2 people who a= re good up the usability ladder would focus on this for a week or two,
it could be done. I would offer myself to do the usability work, if y= ou wish (but most likely not over the course of the next month, and startin= g again in November; maybe you could find some other usability person to do= it?).
=C2=A0
My own style is to develop from the base code, and my curre= nt thinking revolves around GtkImage, GtkScrollbar and GtkTable, but I need to think through the issues, and try a few experiments, before I can come to a well-informed decision.

To be completely blunt, this sounds like a = bad idea. Ideally, this widget would be written from scratch or perhaps bas= ed on GtkIconView, but I can't imagine anything good from how you descr= ibe it. If you're interested in why particularily, please say so and I&= #39;ll explain why I think it's a bad idea! Don't hesitate!

=C2=A0
For what it is worth, I am using Code::Blocks 10.05 in a Windows 7 64-bit environment (gah!) while fighting issues on multiple fronts. Once I have "defeated the enemy(ies)", I will be looking to p= ort to Ubuntu. Then, and only then, might I have something that might be considered useful. My ideal, which is probably unrealisable, is to have something that could be incorporated into Gtk itself. (Me, ambitious? Yes, but I have got to have *something* to aim at!)


Ambition is always good but = as with all open source, you eventually need to let this go the open-source= -soul-searching process.
=C2=A0
Best Regards,
Phil Hart


Regards,
Milosz
=C2= =A0

On 28/09/2011 16:27, Milosz Derezynski wrote:
Just want to throw in my "vote": I = also would be very much for having such a widget, but still leaving the thumbnail rendering routine open to implementation (with a standard default renderer present).

To be a little preemptive: In case someone says nuh-uh too =C2=A0fast: I've never coded with Cocoa, but I imagine that the= /a CoverFlow widget exists in the library and doesn't need to be reimplemented each time.=C2=A0

These days, thumbnails could be used for quite a lot of stuff.

Also, as a last, completely intuitive and at the moment not rationalizeable thought (I'll try it to flesh out in an upcomin= g message): Please, please don't base the code for the ThumbView widget on anything Nautilus. Please.


Regards
Milosz

On Wed, Sep 28, 2011 at 9:40 AM, Phil Hart <philhart@iinet.net.au> wrote:
Hello Everybody,

I want (need?) a scrollable (both vertical and horizontal) widget for displaying thumbnails which also re-arranges them depending on how many thumbnails wide is chosen in an up-down counter. (Gigapan stitcher users will know what I am talking about.)

Is there anything similar already around - if not, I will write one (and if I regard it as good enough, I will also publish the source code).

Many Thanks In Advance,
Phil

_______________________________________________
gtk-list mailing list
gtk-lis= t@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list



--
Everything is Original.


_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list




--
Everythi= ng is Original.
--0015176f0ac0f3bec704adffbed1-- From csaavedra@igalia.com Wed Sep 28 14:26:22 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 9DCDA750161 for ; Wed, 28 Sep 2011 14:26:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.821 X-Spam-Level: X-Spam-Status: No, score=-1.821 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_NEUTRAL=0.779] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7lbLmd9kJYcp for ; Wed, 28 Sep 2011 14:26:20 +0000 (UTC) Received: from smtp4.mundo-r.com (smtp4.mundo-r.com [212.51.32.151]) by menubar.gnome.org (Postfix) with ESMTP id A72A87500C6 for ; Wed, 28 Sep 2011 14:26:11 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArwGALEtg05bdWOb/2dsb2JhbABBmUuPNoFTAQEFOhwzCxguFCWIMbgkhwwEh2yLaZE4 X-IronPort-AV: E=Sophos;i="4.68,456,1312149600"; d="scan'208";a="815691115" Received: from 155.99.117.91.static.mundo-r.com (HELO fanzine.igalia.com) ([91.117.99.155]) by smtp4.mundo-r.com with ESMTP; 28 Sep 2011 16:26:07 +0200 Received: from maestria.local.igalia.com ([192.168.10.14] helo=mail.igalia.com) by fanzine.igalia.com with esmtps (Cipher TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim) id 1R8v5L-0003OP-9q for ; Wed, 28 Sep 2011 16:26:07 +0200 Received: from csaavedra by mail.igalia.com with local (Exim) id 1R8v5L-0000cu-1k for ; Wed, 28 Sep 2011 16:26:07 +0200 Date: Wed, 28 Sep 2011 17:26:07 +0300 From: Claudio Saavedra To: gtk-list@gnome.org Subject: Re: A thumbnails widget Message-ID: <20110928142605.GQ8794@igalia.com> References: <4E82CF81.80100@iinet.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E82CF81.80100@iinet.net.au> User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 14:26:22 -0000 On Wed, Sep 28, 2011 at 03:40:49PM +0800, Phil Hart wrote: > Hello Everybody, > > I want (need?) a scrollable (both vertical and horizontal) widget > for displaying thumbnails which also re-arranges them depending on > how many thumbnails wide is chosen in an up-down counter. (Gigapan > stitcher users will know what I am talking about.) > > Is there anything similar already around - if not, I will write one > (and if I regard it as good enough, I will also publish the source > code). You can use GtkIconView for this or even EogThumbView, which is based in the former. Claudio From mkbosmans@gmail.com Wed Sep 28 18:49:07 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D03B4750024 for ; Wed, 28 Sep 2011 18:49:07 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.546 X-Spam-Level: X-Spam-Status: No, score=-2.546 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GD=0.077, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PxbNAebv9A6N for ; Wed, 28 Sep 2011 18:49:04 +0000 (UTC) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by menubar.gnome.org (Postfix) with ESMTP id AE910750009 for ; Wed, 28 Sep 2011 18:48:56 +0000 (UTC) Received: by ywp17 with SMTP id 17so10376817ywp.27 for ; Wed, 28 Sep 2011 11:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IhxYOmxKbSMNJbwbMCLPF3LxIrgI8WmfbsJqBlOzsdQ=; b=tcEet/mRriPBJ2VI7wIkhevzaR2lmRkuSUtBF+oO7kGauGV7366wA1g7P2WhJKUCOL rqpiZgUh2aCEgDY6HdZ+7bmevOCtpTmZk7uxmn9H62dPcMa1HedwQnIxHDvKoVhDRsWe KEZ/O9xgFXj5Wt29fvbSsjjoy6UjGoQwlUJ/Y= MIME-Version: 1.0 Received: by 10.101.175.2 with SMTP id c2mr8550690anp.103.1317235734726; Wed, 28 Sep 2011 11:48:54 -0700 (PDT) Received: by 10.100.174.18 with HTTP; Wed, 28 Sep 2011 11:48:54 -0700 (PDT) In-Reply-To: <4E793A5A.4060509@ieee.org> References: <4E793A5A.4060509@ieee.org> Date: Wed, 28 Sep 2011 20:48:54 +0200 Message-ID: Subject: Re: MS Windows porting question From: Maarten Bosmans To: Dan Stanger Content-Type: text/plain; charset=UTF-8 Cc: gtk-list@gnome.org X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 18:49:08 -0000 2011/9/21 Dan Stanger : > Hello All, > I have an application back end written for xlib, and would like to port it > to MS windows, and was thinking of using gdk to do this. This probably only makes sense if you also use gtk for the linux side of your program. That way you use the same code on all platforms. Is that what you're planning to do? Maarten > My reasoning is that I want to provide events to the application, and gdk > seems to provide a layer that may make it easier. > Does this make sense? > Any advice would be appreciated. > Thank you, > Dan Stanger > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-list > From philhart@iinet.net.au Wed Sep 28 21:17:22 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1564375007D for ; Wed, 28 Sep 2011 21:17:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.327 X-Spam-Level: X-Spam-Status: No, score=-2.327 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Oio7fkdpq-k for ; Wed, 28 Sep 2011 21:17:19 +0000 (UTC) Received: from outbound.icp-osb-irony-out9.iinet.net.au (outbound.icp-osb-irony-out9.iinet.net.au [203.59.1.110]) by menubar.gnome.org (Postfix) with ESMTP id 1726F750024 for ; Wed, 28 Sep 2011 21:17:09 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgCAGqOg07LOw3W/2dsb2JhbAAMNplNkQUBAQEBAwEBATU2ChELDQsJFg8JAwIBAgEVMBMGAgEBh3q4IocMBIdwi2WFQYwB X-IronPort-AV: E=Sophos;i="4.68,457,1312128000"; d="scan'208";a="37864121" Received: from unknown (HELO [10.1.1.3]) ([203.59.13.214]) by outbound.icp-osb-irony-out9.iinet.net.au with ESMTP; 29 Sep 2011 05:17:07 +0800 Message-ID: <4E838EF8.2050903@iinet.net.au> Date: Thu, 29 Sep 2011 05:17:44 +0800 From: Phil Hart User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20110922 Thunderbird/7.0 MIME-Version: 1.0 To: gtk-list@gnome.org Subject: Re: A thumbnails widget References: <4E82CF81.80100@iinet.net.au> <20110928142605.GQ8794@igalia.com> In-Reply-To: <20110928142605.GQ8794@igalia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 21:17:22 -0000 On 28/09/2011 22:26, Claudio Saavedra wrote: > On Wed, Sep 28, 2011 at 03:40:49PM +0800, Phil Hart wrote: >> Hello Everybody, >> >> I want (need?) a scrollable (both vertical and horizontal) widget >> for displaying thumbnails which also re-arranges them depending on >> how many thumbnails wide is chosen in an up-down counter. (Gigapan >> stitcher users will know what I am talking about.) >> >> Is there anything similar already around - if not, I will write one >> (and if I regard it as good enough, I will also publish the source >> code). > You can use GtkIconView for this or even EogThumbView, which is based > in the former. Thanks for the tip! Phil > > Claudio > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-list From philhart@iinet.net.au Wed Sep 28 21:33:28 2011 Return-Path: X-Original-To: gtk-list@gnome.org Delivered-To: gtk-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B0207750091 for ; Wed, 28 Sep 2011 21:33:28 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.326 X-Spam-Level: X-Spam-Status: No, score=-2.326 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3ZHX0rcTgZjA for ; Wed, 28 Sep 2011 21:33:22 +0000 (UTC) Received: from outbound.icp-qv1-irony-out1.iinet.net.au (outbound.icp-qv1-irony-out1.iinet.net.au [203.59.1.106]) by menubar.gnome.org (Postfix) with ESMTP id 2DB7D750024 for ; Wed, 28 Sep 2011 21:33:12 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAMuRg07LOw3W/2dsb2JhbAAMNoRlpW0BAQEBAwEBASBLChELDQUGCRYIAwICCQMCAQIBFR8DAQ0TBgIBAYd6pkmRV4V6gRIEh3CLZYVBjAE X-IronPort-AV: E=Sophos;i="4.68,457,1312128000"; d="scan'208,217";a="809693658" Received: from unknown (HELO [10.1.1.3]) ([203.59.13.214]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 29 Sep 2011 05:33:07 +0800 Message-ID: <4E8392BA.1000900@iinet.net.au> Date: Thu, 29 Sep 2011 05:33:46 +0800 From: Phil Hart User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20110922 Thunderbird/7.0 MIME-Version: 1.0 To: gtk-list@gnome.org Subject: Re: A thumbnails widget References: <4E82CF81.80100@iinet.net.au> <4E830976.4050704@iinet.net.au> In-Reply-To: Content-Type: multipart/alternative; boundary="------------090800090904020204050106" X-BeenThere: gtk-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of GTK+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 21:33:29 -0000 This is a multi-part message in MIME format. --------------090800090904020204050106 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 28/09/2011 20:43, Milosz Derezynski wrote: > Hello Phil, > > A few words on your response, if I am allowed: > > My initial thought was to reduce all input images by a fixed > factor supplied by the caller (I would use 3% for my own > application), along with a fixed spacing between images again > supplied by the caller (again, 10px for my own application). If I > can figure out how to use a user-supplied renderer, I will of > course incorporate it. > > > It should be part of the design from the start, not an optional > afterthought. That said, the default renderer needs to be thought out > well as well, since the ideal goal is that people do *not* need to > write an own renderer, since that will cause that widget to look > mostly uniform in most of the applications. Ideally, the API for a > custom renderer should be thought out in such a way that even if the > designer of a custom renderer goes much out of his way to make it look > a specific way, the combined logic and semantics, and final rendition, > of the widget would enforce some kind of standard towards the look of > the thumbnails. Well thought-out: of course. And I think you also wrote "but still leaving the thumbnail rendering routine open to implementation (with a standard default renderer present)." which implies to me that , as you say "that people do *not* need to write an own renderer". > > The API itself could be initially borrowed from the CellRenderer > architecture. But if all of the above would be factored into the > initial design there would be some degree of departure from the > TreeView-CellRenderer architecture (not neccessarily bad, but it's > always good to keep things as familiar as possible for future API users). > > I know this sounds very abstract, but if 2 people who are good up the > usability ladder would focus on this for a week or two, > it could be done. I would offer myself to do the usability work, if > you wish (but most likely not over the course of the next month, and > starting again in November; maybe you could find some other usability > person to do it?). If you are offering, and still available, for a usability assessement when I have finished this, I would be delighted. > > My own style is to develop from the base code, and my current > thinking revolves around GtkImage, GtkScrollbar and GtkTable, but > I need to think through the issues, and try a few experiments, > before I can come to a well-informed decision. > > To be completely blunt, this sounds like a bad idea. Ideally, this > widget would be written from scratch or perhaps based on GtkIconView, > but I can't imagine anything good from how you describe it. If you're > interested in why particularily, please say so and I'll explain why I > think it's a bad idea! Don't hesitate! > Um, you commented that "Please, please don't base the code for the ThumbView widget on anything Nautilus. Please.", hence the need to go back to the base code. What are your views on http://developer.gnome.org/gtk-tutorial/stable/x2200.html ? > > For what it is worth, I am using Code::Blocks 10.05 in a Windows 7 > 64-bit environment (gah!) while fighting issues on multiple > fronts. Once I have "defeated the enemy(ies)", I will be looking > to port to Ubuntu. Then, and only then, might I have something > that might be considered useful. My ideal, which is probably > unrealisable, is to have something that could be incorporated into > Gtk itself. (Me, ambitious? Yes, but I have got to have > *something* to aim at!) > > > Ambition is always good but as with all open source, you eventually > need to let this go the open-source-soul-searching process. Um, no soul searching involved: I would be delighted if others could use and modify the source code. :) > > Best Regards, > Phil Hart > > > Regards, > Milosz Thanks for your input. Phil Hart > > > On 28/09/2011 16:27, Milosz Derezynski wrote: >> Just want to throw in my "vote": I also would be very much for >> having such a widget, but still leaving the thumbnail rendering >> routine open to implementation (with a standard default renderer >> present). >> >> To be a little preemptive: In case someone says nuh-uh too fast: >> I've never coded with Cocoa, but I imagine that the/a CoverFlow >> widget exists in the library and doesn't need to be reimplemented >> each time. >> >> These days, thumbnails could be used for quite a lot of stuff. >> >> Also, as a last, completely intuitive and at the moment not >> rationalizeable thought (I'll try it to flesh out in an upcoming >> message): Please, please don't base the code for the ThumbView >> widget on anything Nautilus. Please. >> >> >> Regards >> Milosz >> >> On Wed, Sep 28, 2011 at 9:40 AM, Phil Hart > > wrote: >> >> Hello Everybody, >> >> I want (need?) a scrollable (both vertical and horizontal) >> widget for displaying thumbnails which also re-arranges them >> depending on how many thumbnails wide is chosen in an up-down >> counter. (Gigapan stitcher users will know what I am talking >> about.) >> >> Is there anything similar already around - if not, I will >> write one (and if I regard it as good enough, I will also >> publish the source code). >> >> Many Thanks In Advance, >> Phil >> >> _______________________________________________ >> gtk-list mailing list >> gtk-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/gtk-list >> >> >> >> >> -- >> Everything is Original. > > > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-list > > > > > -- > Everything is Original. --------------090800090904020204050106 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit On 28/09/2011 20:43, Milosz Derezynski wrote:
Hello Phil,

A few words on your response, if I am allowed:

My initial thought was to reduce all input images by a fixed factor supplied by the caller (I would use 3% for my own application), along with a fixed spacing between images again supplied by the caller (again, 10px for my own application). If I can figure out how to use a user-supplied renderer, I will of course incorporate it.


It should be part of the design from the start, not an optional afterthought. That said, the default renderer needs to be thought out well as well, since the ideal goal is that people do not need to write an own renderer, since that will cause that widget to look mostly uniform in most of the applications. Ideally, the API for a custom renderer should be thought out in such a way that even if the designer of a custom renderer goes much out of his way to make it look a specific way, the combined logic and semantics, and final rendition, of the widget would enforce some kind of standard towards the look of the thumbnails.
Well thought-out: of course. And I think you also wrote "but still leaving the thumbnail rendering routine open to implementation (with a standard default renderer present)." which implies to me that , as you say "that people do not need to write an own renderer".

The API itself could be initially borrowed from the CellRenderer architecture. But if all of the above would be factored into the initial design there would be some degree of departure from the TreeView-CellRenderer architecture (not neccessarily bad, but it's always good to keep things as familiar as possible for future API users).

I know this sounds very abstract, but if 2 people who are good up the usability ladder would focus on this for a week or two,
it could be done. I would offer myself to do the usability work, if you wish (but most likely not over the course of the next month, and starting again in November; maybe you could find some other usability person to do it?).
If you are offering, and still available, for a usability assessement when I have finished this, I would be delighted.
 
My own style is to develop from the base code, and my current thinking revolves around GtkImage, GtkScrollbar and GtkTable, but I need to think through the issues, and try a few experiments, before I can come to a well-informed decision.

To be completely blunt, this sounds like a bad idea. Ideally, this widget would be written from scratch or perhaps based on GtkIconView, but I can't imagine anything good from how you describe it. If you're interested in why particularily, please say so and I'll explain why I think it's a bad idea! Don't hesitate!

Um, you commented that "Please, please don't base the code for the ThumbView widget on anything Nautilus. Please.", hence the need to go back to the base code.

What are your views on http://developer.gnome.org/gtk-tutorial/stable/x2200.html ?
 
For what it is worth, I am using Code::Blocks 10.05 in a Windows 7 64-bit environment (gah!) while fighting issues on multiple fronts. Once I have "defeated the enemy(ies)", I will be looking to port to Ubuntu. Then, and only then, might I have something that might be considered useful. My ideal, which is probably unrealisable, is to have something that could be incorporated into Gtk itself. (Me, ambitious? Yes, but I have got to have *something* to aim at!)


Ambition is always good but as with all open source, you eventually need to let this go the open-source-soul-searching process.
Um, no soul searching involved: I would be delighted if others could use and modify the source code. :)
 
Best Regards,
Phil Hart


Regards,
Milosz
Thanks for your input.
Phil Hart
 

On 28/09/2011 16:27, Milosz Derezynski wrote:
Just want to throw in my "vote": I also would be very much for having such a widget, but still leaving the thumbnail rendering routine open to implementation (with a standard default renderer present).

To be a little preemptive: In case someone says nuh-uh too  fast: I've never coded with Cocoa, but I imagine that the/a CoverFlow widget exists in the library and doesn't need to be reimplemented each time. 

These days, thumbnails could be used for quite a lot of stuff.

Also, as a last, completely intuitive and at the moment not rationalizeable thought (I'll try it to flesh out in an upcoming message): Please, please don't base the code for the ThumbView widget on anything Nautilus. Please.


Regards
Milosz

On Wed, Sep 28, 2011 at 9:40 AM, Phil Hart <philhart@iinet.net.au> wrote:
Hello Everybody,

I want (need?) a scrollable (both vertical and horizontal) widget for displaying thumbnails which also re-arranges them depending on how many thumbnails wide is chosen in an up-down counter. (Gigapan stitcher users will know what I am talking about.)

Is there anything similar already around - if not, I will write one (and if I regard it as good enough, I will also publish the source code).

Many Thanks In Advance,
Phil

_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list



--
Everything is Original.


_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list




--
Everything is Original.

--------------090800090904020204050106--