[Gambas-bugtracker] Bug #2123: font not correctly set if name is numeric ...

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Mar 8 16:04:22 CET 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2123&from=L21haW4-

Michael ALTROGGE reported a new bug.

Summary
-------

font not correctly set if name is numeric ...

Type             : Bug
Priority         : Medium
Gambas version   : Unknown
Product          : GUI components


Description
-----------

let's say we have a font with the name "72" ... in the designer you can select this as property and it's shown as e.g.72,10 ... but it's not set at runtime.

with gtk3 the system font is selected
with qt5 the last entered font is used (set font = carlito ... run ... set font = 72 then carlito is used) or also the system font


System information
------------------

[System]
Gambas=3.15.90 8dc5116 (master)
OperatingSystem=Linux
Kernel=5.10.18-1-MANJARO
Architecture=x86_64
Distribution=Manjaro Linux
Desktop=XFCE
Font=Source Sans Pro,10
Scale=7
Theme=mojave-dark
Language=de_DE.utf8
Memory=6896M

[Libraries]
Cairo=libcairo.so.2.11704.0
Curl=libcurl.so.4.7.0
DBus=libdbus-1.so.3.19.13
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.22
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.1803.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2404.22
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.107.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.15.2
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CUDA_PATH=/opt/cuda
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=xfce
DISPLAY=:0.0
EDITOR=/usr/bin/nano
GB_GUI=gb.gtk3
GDMSESSION=xfce
GDM_LANG=de_DE.utf8
GTK2_RC_FILES=<home>/.gtkrc-2.0
GTK3_MODULES=xapp-gtk3-module:xapp-gtk3-module
GTK_MODULES=canberra-gtk-module:canberra-gtk-module
HG=/usr/bin/hg
HOME=<home>
LANG=de_DE.utf8
LC_ALL=de_DE.utf8
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MOTD_SHOWN=pam
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
PATH=<home>/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/cuda/bin:/opt/cuda/integration/nsight-compute:/opt/cuda/integration/nsight-systems:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
PWD=<home>
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=qt5ct
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1699,unix/<hostname>:/tmp/.ICE-unix/1699
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1762
SSH_AUTH_SOCK=/tmp/ssh-rFCZQyY1K3Q5/agent.1761
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=xfce
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
_=/usr/bin/gambas3




More information about the Bugtracker mailing list