[Pkg-clamav-devel] Bug#981384: clamtk: The app doesn't scan files/folders on demand

Ulrich Harttig ulrich.harttig at arcturion.de
Sun Feb 7 12:46:16 GMT 2021


Hello,

> clamtk
> *** unhandled exception in callback:
> ***   FATAL: invalid GtkDialogFlags value no-separator, expecting:
> modal / GTK_DIALOG_MODAL, destroy-with-parent /
> GTK_DIALOG_DESTROY_WITH_PARENT, use-header-bar /
> GTK_DIALOG_USE_HEADER_BAR at /usr/share/perl5/Gtk3.pm line 1136. ***
> ignoring at /usr/share/perl5/Gtk3.pm line 572.

This bug also affects the "Analysis" function and is caused by an error in two
modules of ClamTk, /usr/share/perl5/ClamTk/Analysis.pm
and /usr/share/perl5/ClamTk/Scan.pm
There, Gtk3::Dialog->new is called with the parameter "no-separator"
which is invalid for Gtk3 as the error message states (it was valid in
Gtk2
https://developer.gnome.org/gtk2/stable/GtkDialog.html#GtkDialogFlags)

In Gtk3.pm, prior to the current version, the handling of the flags in Gtk3::Dialog->new was buggy . This was changed in version 0.038 , see
https://github.com/GNOME/perl-gtk3/commit/ac5ace1e5839b992693fad13ebdc08ec7cab1876, 
so this problem only appears with the most recent version of Gtk3.pm

with best regards

Ulrich Harttig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://alioth-lists.debian.net/pipermail/pkg-clamav-devel/attachments/20210207/82d187b1/attachment.sig>


More information about the Pkg-clamav-devel mailing list