Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



From gg [...] zip.com.au Tue Sep 21 17: 04:28 2010
MIME-Version: 1.0
X-Spam-Status: No, score=-10.568 tagged_above=-99.9 required=10 tests=[AWL=0.031, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8] autolearn=ham
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <87d3s6yfh4.fsf [...] blah.blah>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -10.568
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id E25D624024E for <cpan-bug+Gtk2-Ex-PodViewer [...] hipster.bestpractical.com>; Tue, 21 Sep 2010 17:04:28 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FNuY9FhakAHD for <cpan-bug+Gtk2-Ex-PodViewer [...] hipster.bestpractical.com>; Tue, 21 Sep 2010 17:04:27 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 5EC9C24024B for <bug-Gtk2-Ex-PodViewer [...] rt.cpan.org>; Tue, 21 Sep 2010 17:04:27 -0400 (EDT)
Received: (qmail 25122 invoked by uid 103); 21 Sep 2010 21:07:33 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 21 Sep 2010 21:07:33 -0000
Received: from mailout2-8.pacific.net.au (HELO mailout2.pacific.net.au) (61.8.2.231) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Tue, 21 Sep 2010 14:07:31 -0700
Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 3569A29AA8B for <bug-Gtk2-Ex-PodViewer [...] rt.cpan.org>; Wed, 22 Sep 2010 07:07:28 +1000 (EST)
Received: from blah.blah (ppp2083.dyn.pacific.net.au [61.8.32.131]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id 654AC27405 for <bug-Gtk2-Ex-PodViewer [...] rt.cpan.org>; Wed, 22 Sep 2010 07:07:25 +1000 (EST)
Received: from gg by blah.blah with local (Exim 4.72) (envelope-from <gg [...] zip.com.au>) id 1OyA23-0000dm-GZ for bug-Gtk2-Ex-PodViewer [...] rt.cpan.org; Wed, 22 Sep 2010 07:05:43 +1000
Delivered-To: cpan-bug+Gtk2-Ex-PodViewer [...] hipster.bestpractical.com
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
Subject: link-clicked text window for x,y lookup
Return-Path: <gg [...] zip.com.au>
X-RT-Mail-Extension: gtk2-ex-podviewer
X-Original-To: cpan-bug+Gtk2-Ex-PodViewer [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Date: Wed, 22 Sep 2010 07:05:43 +1000
X-Spam-Level:
To: bug-Gtk2-Ex-PodViewer [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
X-RT-Original-Encoding: us-ascii
Content-Length: 889
Download (untitled) / with headers
text/plain 889b
With recent debian gtk 2.20.1 and perl-gtk 1.221, clicking near the top of a link in PodViewer doesn't emit the link-clicked signal. The effect can be seen in the podviewer program. Clicking in the top half of the letters making up a link does nothing, but clicking in the bottom half goes to the link target. I think the button-press signal gets the 'text' window, not the 'widget' window and looking up window_to_buffer_coords() with the latter ends up a few pixels off. Perhaps, sub clicked { my ($self, $event) = @_; my $wintype = $self->get_window_type ($event->window); my ($x, $y) = $self->window_to_buffer_coords($wintype, $event->get_coords); my $iter = $self->get_iter_at_location($x, $y); my $text = $self->get_link_text_at_iter($iter); if (defined($text) && $text ne '') { $self->signal_emit('link_clicked', $text); } return 1; }


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.