Skip Menu |

This queue is for tickets about the Tk-GraphViz CPAN distribution.

Report information
The Basics
Id: 131627
Status: resolved
Priority: 0/
Queue: Tk-GraphViz

People
Owner: Nobody in particular
Requestors: adougher9 [...] gmail.com
Cc:
AdminCc:

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



Subject: "Can't set -scrollregion to ARRAY(0xbb8d30)"
Date: Fri, 31 Jan 2020 15:10:41 -0500
To: bug-Tk-GraphViz [...] rt.cpan.org
From: Andrew Dougherty <adougher9 [...] gmail.com>
On several Debian machines: Linux ai 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux Linux cso 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux Linux optimus 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux running Perl 5.28.1 or 5.30.0 and Tk::GraphViz module version 1.01 I am experiencing the bug mentioned at the link: https://stackoverflow.com/questions/16440307/tkgraphviz-zooming I have tried unsuccessfully for many days to fix the bug, which is a showstopper for one of my most frequently used tools. It seems to be happening on old and brand new installs alike. I would be extremely grateful for any help in resolving this issue. Best Regards, Andrew Dougherty FRDCSA.org
I have also answered that SO question. Here is the code that works on the new version of the library about to hit CPAN: use strict; use warnings; use Tk::GraphViz; use Tk; my $graph ='graph PathsOfPin { a [label = "aaa"]; b [label = "bbb"]; c [label = "ccc"]; d [label = "ddd"]; e [label = "eee"]; f [label = "fff"]; a--b; c--d; e--f; b--c; d--e; }'; my $mw = new MainWindow(); my $gv = $mw->Scrolled('GraphViz', qw/-scrollbars osoe -width 800 -height 800/ )->pack ( qw/-expand no -fill both/ ); $gv->show ( $graph ); $gv->fit(); $mw->update; MainLoop;