Skip Menu |

This queue is for tickets about the Gtk2-Ex-PodViewer CPAN distribution.

Report information
The Basics
Id: 60097
Status: new
Priority: 0/
Queue: Gtk2-Ex-PodViewer

Owner: Nobody in particular
Requestors: jafingerhut [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

From jafingerhut [...] Wed Aug 4 22: 23:35 2010
CC: Andy Fingerhut <andy_fingerhut [...]>
MIME-Version: 1.0
X-Spam-Status: No, score=-10.003 tagged_above=-99.9 required=10 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SPF_SOFTFAIL=0.596] autolearn=ham
X-Mailer: Apple Mail (2.936)
X-Spam-Flag: NO
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1008040266
Message-ID: <0C975F9F-8528-42F0-A7A2-BFBD68BD60D6 [...]>
content-type: text/plain; charset="utf-8"; delsp="yes"; format="flowed"
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: -10.003
Received: from localhost (localhost []) by (Postfix) with ESMTP id 8DF66240B79 for <cpan-bug+Gtk2-Ex-PodViewer [...]>; Wed, 4 Aug 2010 22:23:35 -0400 (EDT)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id mOqco2xXspfU for <cpan-bug+Gtk2-Ex-PodViewer [...]>; Wed, 4 Aug 2010 22:23:29 -0400 (EDT)
Received: from ( []) by (Postfix) with SMTP id 6A2A2240B65 for <bug-Gtk2-Ex-PodViewer [...]>; Wed, 4 Aug 2010 22:23:29 -0400 (EDT)
Received: (qmail 18111 invoked by uid 103); 5 Aug 2010 02:25:35 -0000
Received: from ( by with QMQP; 5 Aug 2010 02:25:35 -0000
Received: from (HELO ( by (qpsmtpd/0.80) with ESMTP; Wed, 04 Aug 2010 19:25:34 -0700
Received: from [] ( []) by (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPA id <0L6N00KVWQPUYY70 [...]> for bug-Gtk2-Ex-PodViewer [...]; Wed, 04 Aug 2010 19:25:07 -0700 (PDT)
Delivered-To: cpan-bug+Gtk2-Ex-PodViewer [...]
Subject: Possible bug fix for intermittent link_clicked signal behavior
Return-Path: <jafingerhut [...]>
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-08-05_01:2010-08-05,2010-08-04,1970-01-01 signatures=0
X-RT-Mail-Extension: gtk2-ex-podviewer
X-Original-To: cpan-bug+Gtk2-Ex-PodViewer [...]
Date: Wed, 04 Aug 2010 19:25:06 -0700
To: bug-Gtk2-Ex-PodViewer [...]
Content-Transfer-Encoding: 7BIT
From: Andy Fingerhut <jafingerhut [...]>
X-RT-Original-Encoding: US-ASCII
Content-Length: 2271
Download (untitled) / with headers
text/plain 2.2k
My system: Ubuntu 10.4 LTS Perl version 5.10.1 I have Synaptics package libgtk2-ex-podviewer-perl version 0.18-1 installed, and I have verified that the Perl source code is identical to that in the version 0.18 .tar.gz file for PodViewer available on CPAN. I have been using gscan2pdf 0.9.31 and making modifications to it. It uses Gtk2::Ex::PodViewer, and while trying to use the link_clicked signal from PodViewer, I noticed that it seemed to only produce such a signal intermittently. Sometimes I would click on a link at the signal would be emitted, sometimes not. I did some Googling, and found the following email that appears as if someone else may have been experiencing similar troubles, but I'm not sure of that: As an experiment, without any real understanding of how this code works, I noticed that the PodViewer code for emitting link_enter and link_leave signals was similar in some ways to that for emitting link_clicked signals. One difference was the first argument to the two calls to window_to_buffer_coords. I made the following one line change to my copy of, and the link_clicked signals became reliable -- they worked every time I clicked on one. If this works for others, too, or the author could verify that it is actually a fix, it would be great if a new version could be released and become the standard one in Linux distros. Thanks, Andy Fingerhut *** 2008-10-04 07:01:23.000000000 -0700 --- 2010-08-04 18:33:22.000000000 -0700 *************** *** 454,460 **** sub clicked { my ($self, $event) = @_; ! my ($x, $y) = $self->window_to_buffer_coords('widget', $event- Show quoted text
my $iter = $self->get_iter_at_location($x, $y); my $text = $self->get_link_text_at_iter($iter); if (defined($text) && $text ne '') { --- 454,460 ---- sub clicked { my ($self, $event) = @_; ! my ($x, $y) = $self->window_to_buffer_coords('text', $event- Show quoted text
my $iter = $self->get_iter_at_location($x, $y); my $text = $self->get_link_text_at_iter($iter); if (defined($text) && $text ne '') {

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to