[Gambas-bugtracker] Bug #2138: Printing error
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Wed Mar 17 12:07:47 CET 2021
http://gambaswiki.org/bugtracker/edit?object=BUG.2138&from=L21haW4-
Carlo PANARA reported a new bug.
Summary
-------
Printing error
Type : Bug
Priority : Low
Gambas version : Master
Product : Unknown
Description
-----------
Printing the code from the IDE no longer works correctly for me.
With GTK + 3 it also gives me an error with QT4 and QT5 the preview and printing are always in black and white and in addition it does not change the font size even if you set different ones.
in the terminal I get:
$ gambas3
(gambas3:145850): Gtk-WARNING **: 10:30:32.758: Negative content width -16 (allocation 8, extents 12x12) while allocating gadget (node scale, owner GtkScale)
(gambas3:145850): Gtk-WARNING **: 10:30:32.758: Negative content height -16 (allocation 8, extents 12x12) while allocating gadget (node scale, owner GtkScale)
(gambas3:145850): Gtk-CRITICAL **: 10:30:32.758: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScale
(gambas3:145850): Gtk-WARNING **: 10:30:32.758: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkScale)
(gambas3:145850): Gtk-WARNING **: 10:30:32.758: Negative content width -16 (allocation 8, extents 12x12) while allocating gadget (node scale, owner GtkScale)
(gambas3:145850): Gtk-WARNING **: 10:30:32.759: Negative content height -16 (allocation 8, extents 12x12) while allocating gadget (node scale, owner GtkScale)
(gambas3:145850): Gtk-CRITICAL **: 10:30:32.759: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScale
(gambas3:145850): Gtk-WARNING **: 10:30:32.759: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkScale)
(gambas3:145850): Gtk-WARNING **: 10:30:32.759: Negative content width -16 (allocation 8, extents 12x12) while allocating gadget (node scale, owner GtkScale)
(gambas3:145850): Gtk-WARNING **: 10:30:32.759: Negative content height -16 (allocation 8, extents 12x12) while allocating gadget (node scale, owner GtkScale)
(gambas3:145850): Gtk-CRITICAL **: 10:30:32.759: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScale
(gambas3:145850): Gtk-WARNING **: 10:30:32.759: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkScale)
(gambas3:145850): Gtk-WARNING **: 10:30:32.759: Negative content width -16 (allocation 8, extents 12x12) while allocating gadget (node scale, owner GtkScale)
(gambas3:145850): Gtk-WARNING **: 10:30:32.759: Negative content height -16 (allocation 8, extents 12x12) while allocating gadget (node scale, owner GtkScale)
(gambas3:145850): Gtk-CRITICAL **: 10:30:32.759: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScale
(gambas3:145850): Gtk-WARNING **: 10:30:32.759: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkScale)
ScrollArea.ScrollArea_Arrange.457: #29: Invalid object
ScrollArea.ScrollArea_Arrange.457 ScrollArea.Border_Write.688 ^TextEditor._new.266 MPrint.Run.21 FEditor.mnuPrint_Click.3946
System information
------------------
[System]
Gambas=3.15.90 9ce110bc0 (master)
OperatingSystem=Linux
Kernel=5.4.0-67-generic
Architecture=x86_64
Distribution=Ubuntu 18.04.5 LTS
Desktop=UBUNTU:GNOME
Font=Ubuntu,11
Scale=8
Theme=communitheme
Language=it_IT.UTF-8
Memory=7879M
[Libraries]
Cairo=libcairo.so.2.11510.0
Curl=libcurl.so.4.5.0
DBus=libdbus-1.so.3.19.4
GDK2=libgdk-x11-2.0.so.0.2400.32
GDK3=libgdk-3.so.0.2200.30
GStreamer=libgstreamer-1.0.so.0.1405.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2200.30
OpenGL=libGL.so.1.0.0
Poppler=libpoppler.so.73.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.9.5
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6
[Environment]
CLUTTER_IM_MODULE=xim
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GB_GUI=gb.gtk3
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=4342
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=ubuntu
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge
HOME=<home>
IM_CONFIG_PHASE=2
LANG=it_IT.UTF-8
LC_ALL=it_IT.UTF-8
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=<home>
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/3754,unix/<hostname>:/tmp/.ICE-unix/3754
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=3833
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WINDOWPATH=2
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_ID=2
XDG_SESSION_TYPE=x11
XDG_VTNR=2
XMODIFIERS=@im=ibus
More information about the Bugtracker
mailing list