- Package:
- screenruler
- Source:
- screenruler
- Submitter:
- "Peter Mueller"
- Date:
- 2022-02-24 18:18:06 UTC
- Severity:
- normal
Package: screenruler Version: 0.960+bzr41+deb10-4 I use Gnome on Wayland. Reproduce: 1) Open uxterm, bash being my shell. 2) Type in screenruler and press [Enter]. 3) Observe: $ screenruler Loading libraries... Gtk-Message: 00:03:09.619: Failed to load module "canberra-gtk-module" /usr/bin/screenruler:61:in `block in <main>': 'Gdk::Pixbuf' has been deprecated. Use 'GdkPixbuf::Pixbuf'. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. Creating windows... Gtk-WARNING **: Unknown property: GtkWindow.has-resize-grip from /usr/share/screenruler/utils/glade_window.rb:29:in `initialize' from /usr/share/screenruler/ruler_window.rb:51:in `initialize' from /usr/bin/screenruler:76:in `new' from /usr/bin/screenruler:76:in `<main>' Reading settings... Presenting ruler... Shutting down... $ sudo aptitude show gnome|grep Version Version: 1:3.38+3 I would be happy if I could kindly ask that my bug report finds attention.
severity 1000230 grave thanks Btw., installing canberra-gtk-module doesn't help. Severity bumped because the package is useless.
Dear Peter, please can you check whether installing the package libcanberra-gtk3-module solves your issue? If so, this package is probably missing as a dependency for screenruler, and I can easily fix this bug. Best regards, Georges. Peter Mueller a écrit :
Dear George, On one of the two Debian-stable machines I manage libcanberra-gtk3-module is installed: $ LANG=en_US.utf8 sudo aptitude show libcanberra-gtk3-module | egrep "(State)|(Version)" Version: 0.30-7 State: installed On this machine, screenruler works. I'll check the other machine in several days and let you know.
We believe that the bug you reported is fixed in the latest version of screenruler, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1000230@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Georges Khaznadar <georgesk@debian.org> (supplier of updated screenruler package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Fri, 26 Nov 2021 19:41:58 +0100 Source: screenruler Architecture: source Version: 0.960+bzr41+deb10-5 Distribution: unstable Urgency: medium Maintainer: Georges Khaznadar <georgesk@debian.org> Changed-By: Georges Khaznadar <georgesk@debian.org> Closes: 1000230 Changes: screenruler (0.960+bzr41+deb10-5) unstable; urgency=medium . * added a dependency on ibcanberra-gtk3-module. Closes: #1000230 Checksums-Sha1: 4d141ff0f2ff063abc612eb6ef71a94403d465a1 2042 screenruler_0.960+bzr41+deb10-5.dsc f952577962859fa4c284bebc6334e122576882dd 5996 screenruler_0.960+bzr41+deb10-5.debian.tar.xz f59e921b01792af74f7e6f5257928171d1f7d6f5 6005 screenruler_0.960+bzr41+deb10-5_source.buildinfo Checksums-Sha256: b03a1d2186ed5410def71337722d71b3e587a909bfb72a25732272bc9747d5e7 2042 screenruler_0.960+bzr41+deb10-5.dsc c6c6507ead1ae4a8845ad7d14ea67b88aacfc3a7d7416ffbeff186ba20e35720 5996 screenruler_0.960+bzr41+deb10-5.debian.tar.xz f78a6f638d66caac420284ff9679fe8679fe4c86dac5843a8ee1c4b71c8fa102 6005 screenruler_0.960+bzr41+deb10-5_source.buildinfo Files: db134c03ae01d1ebf8263925097245e1 2042 gnome optional screenruler_0.960+bzr41+deb10-5.dsc aa8ffa14f248307a56be34c1b4be86dd 5996 gnome optional screenruler_0.960+bzr41+deb10-5.debian.tar.xz 239d4cfe121f18402e26a8e86508da57 6005 gnome optional screenruler_0.960+bzr41+deb10-5_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmGhKpEUHGdlb3JnZXNr QGRlYmlhbi5vcmcACgkQHCgWkHE2rjnK/w/+K5pd1397hb/FeKDiVj3IUp6G67Ou lAUOOCkBuzrWqBYs0mFonka5hapw7ncpEo3aaHexuqw06mE04Yyx+CYbnvRNDOde uTDVvbiCTD1qahEoKc+w8rnSs0plK/y3xJu8VtMkpuxKOrRsnwNQy0GrLg6n/0Vu QuW9qJFk61BumkKGU8G52/MXJ3oODUyMUlJEk6Akv41lc+ZL89+sB0fIUJ5tx2OJ MHoabFYlwuDMGRBRpU2wy7WbudQ/P/ybmOmaakZ0Lg1Q5u1t07XQYYXMIB56VuwA ez9pGKQOzQsyJZXnP8YRiiJdxGsc49SwXSv79JU2g9GFFOG1DE33CrtELhNL42Xy yGOgnFGd+eWbvuJSpBwfyPlKu7wLjjtdEXCBvO+HmP8/Ltt9MMDvn3VyDKeWxPqO i+kZohIi3pl9cczUmP3e9K2DB8uUcgHJSJ0WC8xzO4v36S+FLY5uCStstAh29O+z DtUjVasdoMD5aSYDFTaDBaxF7yFc/ccwwDza+zbkwzPB3gelMbuJt7T+AqP1C6aI U8Q9MFIGKCJCrk9qTTuLDeKvyPUb1XngrqDDYHvu05aGhMOqfqwWaAFibKjC5RjX ygEHVTVai5ew5nHQ5bcCJI7VVNe2YocO5tG5hkWjHBusFdUpqoXeLnloNBS61Apt EG6Zref9Pio3qX0= =ge9D -----END PGP SIGNATURE-----
On the other machine, libcanberra-gtk3-module IS installed, but screenruler still fals to start: $ LANG=C sudo aptitude show screenruler | egrep "(State)|(Version)" Version: 0.960+bzr41+deb10-4 State: installed $ LANG=C sudo aptitude show libcanberra-gtk3-module | egrep "(State)|(Version)" Version: 0.30-7 State: installed $ screenruler Loading libraries... Gtk-Message: 19:09:53.082: Failed to load module "canberra-gtk-module" /usr/bin/screenruler:61:in `block in <main>': 'Gdk::Pixbuf' has been deprecated. Use 'GdkPixbuf::Pixbuf'. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. Creating windows... Gtk-WARNING **: Unknown property: GtkWindow.has-resize-grip from /usr/share/screenruler/utils/glade_window.rb:29:in `initialize' from /usr/share/screenruler/ruler_window.rb:51:in `initialize' from /usr/bin/screenruler:76:in `new' from /usr/bin/screenruler:76:in `<main>' Reading settings... Presenting ruler... Shutting down... $ So, the issue is unrelated to the libcanberra-gtk3-module or related to more than just that. Does the screenruler version from unstable anyhow have this issue fixed or was only the (probably useless) dependency added?
reopen 1000230 found 1000230 0.960+bzr41+deb10-6 thanks The updated screenruler still fails to start: $ LANG=C sudo aptitude show screenruler | egrep "(State)|(Version)" Version: 0.960+bzr41+deb10-6 State: installed $ LANG=C sudo aptitude show libcanberra-gtk3-module | egrep "(State)|(Version)" Version: 0.30-8 State: installed (0.30-7), upgrade available (0.30-8) $ screenruler Loading libraries... Gtk-Message: 19:15:32.635: Failed to load module "canberra-gtk-module" /usr/bin/screenruler:61:in `block in <main>': 'Gdk::Pixbuf' has been deprecated. Use 'GdkPixbuf::Pixbuf'. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. Creating windows... Gtk-WARNING **: Unknown property: GtkWindow.has-resize-grip from /usr/share/screenruler/utils/glade_window.rb:29:in `initialize' from /usr/share/screenruler/ruler_window.rb:51:in `initialize' from /usr/bin/screenruler:76:in `new' from /usr/bin/screenruler:76:in `<main>' Reading settings... Presenting ruler... Shutting down... $ Reopening the bug report. I'd be glad if I could ask that this bug finds attention.
Peter Mueller a écrit : Dear Peter, the getter and the setter for the property GtkWindow.has-resize-grip are defined in the file /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2404.20 on my computer; the last message reported before the crash is "Unknown property: GtkWindow.has-resize-grip from /usr/share/screenruler/utils/glade_window.rb" Please can you tell me the version number of your package libgtk-3-0? Best regards, Georges.
On the machine with the working screenruler, we have this at the moment: $ screenruler & [1] 82945 $ Loading libraries... /usr/bin/screenruler:61:in `block in <main>': 'Gdk::Pixbuf' has been deprecated. Use 'GdkPixbuf::Pixbuf'. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. Creating windows... Gtk-WARNING **: Unknown property: GtkWindow.has-resize-grip from /usr/share/screenruler/utils/glade_window.rb:29:in `initialize' from /usr/share/screenruler/ruler_window.rb:51:in `initialize' from /usr/bin/screenruler:76:in `new' from /usr/bin/screenruler:76:in `<main>' Reading settings... Presenting ruler... $ sudo aptitude show screenruler| grep Version Version: 0.960+bzr41+deb10-4 $ sudo aptitude show libgtk-3-0| grep Version Version: 3.24.24-4 $ LANG=C ls -la /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2404.20 -rw-r--r-- 1 root root 8042616 May 2 2021 /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2404.20 Notice that a message concerning has-resize-grip is shown. I'm going to report the results from the other machine (where the screenruler, on the contrary, doesn't work) in short.
On the machine with a not working screenruler, we have this at the moment: $ screenruler & [1] 2926 $ Loading libraries... Gtk-Message: 02:43:39.844: Failed to load module "canberra-gtk-module" /usr/bin/screenruler:61:in `block in <main>': 'Gdk::Pixbuf' has been deprecated. Use 'GdkPixbuf::Pixbuf'. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. /usr/lib/ruby/vendor_ruby/gdk_pixbuf2/deprecated.rb:48:in `new': GdkPixbuf::Pixbuf.new(path) is deprecated. Use GdkPixbuf::Pixbuf.new(:file => path) instead. Creating windows... Gtk-WARNING **: Unknown property: GtkWindow.has-resize-grip from /usr/share/screenruler/utils/glade_window.rb:29:in `initialize' from /usr/share/screenruler/ruler_window.rb:51:in `initialize' from /usr/bin/screenruler:76:in `new' from /usr/bin/screenruler:76:in `<main>' Reading settings... Presenting ruler... Shutting down... [1]+ Fertig screenruler $ sudo aptitude show screenruler|grep Version Version: 0.960+bzr41+deb10-6 $ sudo aptitude show libgtk-3-0| grep Version Version: 3.24.24-4 $ LANG=C ls -la /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2404.20 -rw-r--r-- 1 root root 8042616 May 2 2021 /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2404.20 $
We believe that the bug you reported is fixed in the latest version of
screenruler, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1000230@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Georges Khaznadar <georgesk@debian.org> (supplier of updated screenruler package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 21 Feb 2022 16:38:37 +0100
Source: screenruler
Architecture: source
Version: 1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Georges Khaznadar <georgesk@debian.org>
Changed-By: Georges Khaznadar <georgesk@debian.org>
Closes: 1000230 1006168
Changes:
screenruler (1.0-2) unstable; urgency=medium
.
* modified a dependency: ruby-gtk2 => ruby-gtk3.
maybe ... Closes: #1006168
* clear a previous bug report also. Closes: #1000230
Checksums-Sha1:
b2a3052639a0211ee06e3ae6c1d9385398c03286 1964 screenruler_1.0-2.dsc
557941f2ce5da24e1c17938a751b32cd70ee554e 3940 screenruler_1.0-2.debian.tar.xz
e9996af2ab951ee9ba530caad35739fc47f33025 6256 screenruler_1.0-2_source.buildinfo
Checksums-Sha256:
a2fce10cb671612e00ca12112b5c045ac15708ab25e7264c8362a31d856a9d94 1964 screenruler_1.0-2.dsc
72aceecbc310c4a921d191234993f09f13724799bf5a546e3dfbcac6f397aa7e 3940 screenruler_1.0-2.debian.tar.xz
e241c8bc261920f308ef984e288ef429be567a9e1c37f7c40c12e75152a19ee5 6256 screenruler_1.0-2_source.buildinfo
Files:
4c59563474b919f882e22f569669eefa 1964 gnome optional screenruler_1.0-2.dsc
ce9cb90a36ff6a15f9b385bcddb54cf3 3940 gnome optional screenruler_1.0-2.debian.tar.xz
18ce1a6cf01ef1cdcfa509cf3c53c4e3 6256 gnome optional screenruler_1.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCAAyFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmITtkwUHGdlb3JnZXNr
QGRlYmlhbi5vcmcACgkQHCgWkHE2rjkdiQ//QZetALT8ydLvAWffFxSPW3nz7RR3
HkbGpPj0J3vn2GGje6lbo7aD2AI2wS3ySyvcbN7G5FkAf+aeTDvoDx1LHs1tigfI
jwgW7e77ZeZjuWtRSdGgm5rTNC/iyE4BCHuW+gKoCkGM9gZNFFOuzZtQ/7owFAsV
nGkY3d+bXIlSE0OREdsYtZ4M0S86zKvtGsCfnT3rET63E4pr+D+ZzDuE4X6cPNf5
c6J6y9bCobfGKXireOfYdspwFJe2SSbu9xq1/OfQoF5Lpq4vFYIyw1VZwy4dbiLi
iKERZJD/djKo3GMFo8BfO2Xq7u1cktlvd/+T1OfO/uwNDUdSwo10eaWtHYYRdUAe
ToqD32Wj/1lnmUDvV4KEFjA2tKPO57AJCXUYVgKFGtsU9n56NLn97YeyDqxmAq8V
hzZ1QIDLDs9pDCWw0XewEF3t48BdI63c9TiTWF9K6mLxYM90eWG71KMArpEOptc3
n/IdbOHFw8ud210z+W+aK86BGZo7HN/4ryizMySAkBi27a5UBPUivEPIcJoo6K7d
DyMpJJXDF1eHJZNSL4Mqfki7Q2Ym0Ekrz6snVvKD3c4e2kDQx5g0iwD7eLQC8yS3
7/x+yOTHstxO0tX4FTw/FDRVKBXPFEdsHoyfVGHqwSv2PQgboV9Xp8PFZpXIYnl0
e+N4lIMBJ71o9VU=
=Ip8q
-----END PGP SIGNATURE-----
reopen 1000230 found 1000230 1.0-2 thanks -- 1.0-2 works now. Thanks a lot!!! However, some error messages emerge. 1. Starting screenruler and switching four times with Alt-Tab between the screen ruler and the xterm or gnome-terminal from where the screenruler was started, I see the following in the console : screenruler & [1] 11847 $ Loading libraries... Creating windows... Reading settings... Presenting ruler... Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:133 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:133 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:133 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:133 (Switching ones to thrice causes no messages, probably due to buffering, though I can't really prove that.) More switching leads to this on the console: Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:288 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:288 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:288 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:288 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:674 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:674 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:674 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:674 After that, I was unable to get genuinely newer messages, only the copies of the above, in some order in blocks of 4. 2. A second-mouse-button click on the screenruler to call its menu does call the menu but prints the following to the console : Gdk-Message: 14:19:12.255: Window 0x558616afc850 is a temporary window without parent, application will not be able to position it on screen. Gdk-CRITICAL **: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:598:in `invoke' from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:103:in `block in define_singleton_method' from ./screenruler.rb:91:in `<main>' Since the errors are marked as CRITICAL, I presume that something wrong goes there. Thanks in advance for looking into it, Peter
Thank you for the bug report, Peter. However, I shall not try to fix it shortly. I suspect that those errors are due to some wrong interaction between Ruby and Gnome libraries at some point, but I did not find enough information about those "critical" errors when I tried to fix them in the past. Those errors did not entail misbehaviors of the application so far (as I could check individually), and most users will not even notice them when they launch screenruler from a graphic menu. Best regards, Georges. Peter Mueller a écrit :
found 1000230 1.0-2 severity 1000230 normal -- Got it. Thanks anyway, Georges! Peter 24.02.2022, 16:56, Georges Khaznadar < mailto:georges.khaznadar@orange.fr georges.khaznadar@orange.fr > Thank you for the bug report, Peter. However, I shall not try to fix it shortly. I suspect that those errors are due to some wrong interaction between Ruby and Gnome libraries at some point, but I did not find enough information about those "critical" errors when I tried to fix them in the past. Those errors did not entail misbehaviors of the application so far (as I could check individually), and most users will not even notice them when they launch screenruler from a graphic menu. Best regards, Georges. Peter Mueller a écrit : > reopen 1000230 > found 1000230 1.0-2 > thanks > -- > 1.0-2 works now. Thanks a lot!!! However, some error messages emerge. > 1. Starting screenruler and switching four times with Alt-Tab between the screen ruler and the xterm or gnome-terminal from where the screenruler was started, I see the following in the console : > screenruler & [1] 11847 $ Loading libraries... Creating windows... Reading settings... Presenting ruler... Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:133 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:133 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:133 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:133 > (Switching ones to thrice causes no messages, probably due to buffering, though I can't really prove that.) More switching leads to this on the console: > Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:288 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:288 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:288 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:288 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/share/screenruler/ruler_window.rb:275 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:600 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/2.7.0/delegate.rb:343 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:674 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:674 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:674 Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'surface != NULL' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:674 > After that, I was unable to get genuinely newer messages, only the copies of the above, in some order in blocks of 4. > 2. A second-mouse-button click on the screenruler to call its menu does call the menu but prints the following to the console : > Gdk-Message: 14:19:12.255: Window 0x558616afc850 is a temporary window without parent, application will not be able to position it on screen. Gdk-CRITICAL **: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:598:in `invoke' from /usr/lib/ruby/vendor_ruby/gobject-introspection/loader.rb:103:in `block in define_singleton_method' from ./screenruler.rb:91:in `<main>' > Since the errors are marked as CRITICAL, I presume that something wrong goes there. > Thanks in advance for looking into it, > Peter -- Georges KHAZNADAR et Jocelyne FOURNIER 22 rue des mouettes, 59240 Dunkerque France. Téléphone +33 (0)3 28 29 17 70