From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 13 02:15:08 2022 Received: (at submit) by debbugs.gnu.org; 13 Oct 2022 06:15:08 +0000 Received: from localhost ([127.0.0.1]:59056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oirUp-0000Z9-Rn for submit@debbugs.gnu.org; Thu, 13 Oct 2022 02:15:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:33384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oirUn-0000Z0-5m for submit@debbugs.gnu.org; Thu, 13 Oct 2022 02:15:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oirUl-0001bE-Ad for bug-guix@gnu.org; Thu, 13 Oct 2022 02:15:04 -0400 Received: from lepiller.eu ([89.234.186.109]:54658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oirUi-00016d-S5 for bug-guix@gnu.org; Thu, 13 Oct 2022 02:15:02 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id c2057fed for ; Thu, 13 Oct 2022 06:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=dkim; bh=gOVS6LT8OI3/4+pS+lfkecsKC AmPltX7aVv0rbcxBoI=; b=CMOd1rScQbVFdUsI+BH//6Zoq7gErs67DWIdyytMY B7FngaFmP3/+BoxG/PAsBlCRMkx+Ar0zK6HN+syNiseZYl8qhGu5bC9C8Xyg6+vp OD/ABoRVHpkgyqn008EXRDBf8NS5wpPEBdSrmVA51sWPDhri9g/pWRvlpCE2gWeU q/2G0SYLtrzqAqLjdfpqfB/iJiST/6Qp8dtIIaQm8WofdeEBPaxXsdga/QA93Va0 DJRfP+0d8oJGEYjF/QMEiyiWiyGifCHvvu5vCOFPHS6kfpnCRD2W9mlGMjz1I14U rZLkYToI7ij7jSdmh3oDA26DyvyWEWf3PhdkNw3p9o23w== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id ab57e4f1 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Thu, 13 Oct 2022 06:14:54 +0000 (UTC) Date: Thu, 13 Oct 2022 08:14:53 +0200 From: Julien Lepiller To: bug-guix@gnu.org Subject: perl-gtk3 blocking widget Message-ID: <20221013081453.0665eb2c@sybil.lepiller.eu> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Guix! I was trying to use a perl software that uses gtk3. Its main window does not show up and it seems to get stuck. I tried to come up with a reproducer. In guix shell perl perl-gtk3: ``` #!/usr/bin/env perl use strict; use warnings; use diagnostics; use feature ':5.14'; use Gtk3 '-init'; use Glib qw/TRUE FALSE/; my $window = Gtk3::Window->new('toplevel'); $window->set_title("Basic Check Boxes"); $window->set_position("mouse"); $window->set_default_size(400, 200); $window->set_border_width(5); $window->signal_connect (delete_event => sub { Gtk3->main_quit }); my $vbox = Gtk3::Box->new("vertical", 5); $window->add($vbox); say "hello"; my $entry = Gtk3::Entry->new; say "hello again"; Gtk3->main; ``` says "hello" but gets stuck when creating the entry. I get some error messages, but it doesn't prevent perl-gtk3 from showing relatively complex windows: I get the same errors with a script like, but the window is properly shown: https://github.com/kevinphilp/Perl-gtk3-Tutorial/blob/master/5a-Fun-with-labels.pl any perl expert around? :)