From bugtracker at gambaswiki.org Sun Dec 2 04:43:59 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 02 Dec 2018 03:43:59 GMT Subject: [Gambas-bugtracker] Bug #1469: IDE command line help "license" spelled incorrectly Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1469&from=L21haW4- James JORDAN reported a new bug. Summary ------- IDE command line help "license" spelled incorrectly Type : Bug Priority : Low Gambas version : Unknown Product : Development Environment Description ----------- The command line switch for "--license" shown in the command line help is spelled "--licence" but to actually see the license information you must type: gambas3 --license gambas3 --licence returns unknown option The error is in the "usage" text file of the IDE. I know this is not a very important bug but it is also a very quick fix. System information ------------------ Arch Linux Gambas IDE 3.11.4 From bugtracker at gambaswiki.org Sun Dec 2 20:01:47 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 02 Dec 2018 19:01:47 GMT Subject: [Gambas-bugtracker] Bug #1456: button to create automatic separator In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1456&from=L21haW4- Comment #1 by Beno?t MINISINI: Done in commit https://gitlab.com/gambas/gambas/commit/784d27f7b6ccd7b9dcfc6d36d155c1c4b341bd90. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sun Dec 2 20:02:56 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 02 Dec 2018 19:02:56 GMT Subject: [Gambas-bugtracker] Bug #1462: Can't select a disabled widget in the form editor In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1462&from=L21haW4- Comment #1 by Beno?t MINISINI: With which widget exactly? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sun Dec 2 20:03:25 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 02 Dec 2018 19:03:25 GMT Subject: [Gambas-bugtracker] Bug #1464: Entry of characters from the keyboard is not possible in the code editor. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1464&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sun Dec 2 21:45:49 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 02 Dec 2018 20:45:49 GMT Subject: [Gambas-bugtracker] Bug #1468: Segmentation fault when delete database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1468&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sun Dec 2 22:29:25 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 02 Dec 2018 21:29:25 GMT Subject: [Gambas-bugtracker] Bug #1468: Segmentation fault when delete database In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1468&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/4a033f5f06e9c5336b4c2ca61de0aa4bc75c6d81. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sun Dec 2 22:31:35 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 02 Dec 2018 21:31:35 GMT Subject: [Gambas-bugtracker] Bug #1469: IDE command line help "license" spelled incorrectly In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1469&from=L21haW4- Comment #1 by Beno?t MINISINI: It's already fixed in the development version. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Mon Dec 3 11:34:56 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 03 Dec 2018 10:34:56 GMT Subject: [Gambas-bugtracker] Bug #1470: ' Print "Text"; ' works not correctly Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1470&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- ' Print "Text"; ' works not correctly Type : Bug Priority : Medium Gambas version : Master Product : Language Description ----------- 'Print' instruction with ';' works not correctly (attach vid1 & vid2). example : Public Sub Main() Exec ["gbx3", "-V"] Wait Print "From MBug module" Print "Testing ... "; '<--- this won't print text until "Wait 4" instruction done Wait 4 Print "Ok" End Reproduce the bug: 1) Open project (attach project) 2) Run System information ------------------ [System] Gambas=3.11.90 b4d3c7612 (master) OperatingSystem=Linux Kernel=4.15.0-38-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=XFCE Theme=Gtk Language=en_US.UTF-8 Memory=1739M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xubuntu GDM_LANG=en_US GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_OVERLAY_SCROLLING=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= PATH=/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=gtk2 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1184,unix/:/tmp/.ICE-unix/1184 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1166 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/.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/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Mon Dec 3 15:29:00 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 03 Dec 2018 14:29:00 GMT Subject: [Gambas-bugtracker] Bug #1470: ' Print "Text"; ' works not correctly In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1470&from=L21haW4- Comment #1 by Beno?t MINISINI: This is how terminals work on Unix. There is an output buffer that is flushed when you emit an end-of-line character, or, in Gambas, when you use the Flush instruction on the output stream. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Mon Dec 3 15:29:14 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 03 Dec 2018 14:29:14 GMT Subject: [Gambas-bugtracker] Bug #1467: Segmentation fault when using "Try" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1467&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Tue Dec 4 10:43:25 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 04 Dec 2018 09:43:25 GMT Subject: [Gambas-bugtracker] Bug #1471: Expand Property did not work ... Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1471&from=L21haW4- Michael ALTROGGE reported a new bug. Summary ------- Expand Property did not work ... Type : Bug Priority : High Gambas version : 3.11 Product : QT5 component Description ----------- Just having a main form with arrangement vertical set and put some controls an it all with expand = false and they will be arranged at runtime ... System information ------------------ [System] Gambas=3.11.90 OperatingSystem=Linux Kernel=4.15.0-42-generic Architecture=x86_64 Distribution=Linux Mint 18.3 Sylvia Desktop=CINNAMON Theme=Gtk Language=de_DE.UTF-8 Memory=3389M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=3.6.7 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-MOXKNChYDI,guid=6b7cc6d89d8c1e6911f0baf65c06360e DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_LANG=de_DE GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/cairo-dock.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=15891 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= KICAD_PATH=/usr/share/kicad KIGITHUB=https://github.com/KiCad LANG=de_DE.UTF-8 LANGUAGE=de_DE.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path PATH=/bin:/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=qgnomeplatform QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/6169,unix/:/tmp/.ICE-unix/6169 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=6235 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/share/cinnamon:/usr/share/gnome:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Tue Dec 4 10:47:16 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 04 Dec 2018 09:47:16 GMT Subject: [Gambas-bugtracker] Bug #1471: Expand Property did not work ... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1471&from=L21haW4- Comment #1 by Michael ALTROGGE: same behaviour with qt4 and gtk2 ... From bugtracker at gambaswiki.org Thu Dec 6 14:00:10 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 06 Dec 2018 13:00:10 GMT Subject: [Gambas-bugtracker] Bug #1462: Can't select a disabled widget in the form editor In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1462&from=L21haW4- Comment #2 by Bruce BRUEN: It happens for pretty well any widget that is inside a container below the form. Bruce BRUEN changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Thu Dec 6 14:02:16 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 06 Dec 2018 13:02:16 GMT Subject: [Gambas-bugtracker] Bug #1462: Can't select a disabled widget in the form editor In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1462&from=L21haW4- Comment #3 by Bruce BRUEN: You can select it by either using the Hierarchy tab or using the Select list from the context menu for the container. (This has been around for some time.) From bugtracker at gambaswiki.org Thu Dec 6 14:12:30 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 06 Dec 2018 13:12:30 GMT Subject: [Gambas-bugtracker] Bug #1472: Not seen this before? Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1472&from=L21haW4- Bruce BRUEN reported a new bug. Summary ------- Not seen this before? Type : Bug Priority : High Gambas version : Unknown Product : Bugtracker Description ----------- Untranslated string System information ------------------ [System] Gambas=3.11.90 d3c17c791 (local) OperatingSystem=Linux Kernel=4.16.13-pclos1 Architecture=x86_64 Distribution=PCLinuxOS Desktop=MATE Theme=Gtk Language=en_US.UTF-8 Memory=7491M [Libraries] [Environment] BROWSER=/usr/bin/www-browser CANBERRA_DRIVER=pulse DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-tYSAEsKmJW,guid=084be9baa369436402ea749d5bebea13 DESKTOP_SESSION=05MATE DISPLAY=:0 GB_GUI=gb.qt4 GCONF_TMPDIR=/tmp GDMSESSION=05MATE GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/projectbrowser5.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=16405 GIT_PAGER=less -FRS GNOME_KEYRING_CONTROL=/.cache/keyring-787ASZ GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_OVERLAY_SCROLLING=0 G_FILENAME_ENCODING=@locale HISTCONTROL=ignoredups HISTSIZE=1000 HOME= HOSTNAME= INPUTRC=/etc/inputrc LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_SOURCED=1 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8 LD_LIBRARY_PATH=:/usr/lib64:/usr/lib LESS=-MM LESSCHARSET=utf-8 LESSKEY=/etc/.less LESSOPEN=|/usr/bin/lesspipe.sh %s LOGNAME= LS_COLORS= MAIL=/var/spool/mail/ MATE_DESKTOP_SESSION_ID=this-is-deprecated MDV_MENU_STYLE=discovery META_CLASS=desktop NLSPATH=/usr/share/locale/%l/%N PATH=/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib64/qt4/bin:/usr/lib64/qt5/bin:/bin:/sbin:/usr/sbin PWD= PYTHONDONTWRITEBYTECODE=1 PYTHONSTARTUP=/etc/pythonrc.py QT4DOCDIR=/usr/share/doc/qt4 QT5DOCDIR=/usr/share/doc/qt5 QTDIR=/usr/lib64/qt4 QTDIR5=/usr/lib64/qt5 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCALE_FACTOR=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/29853,unix/:/tmp/.ICE-unix/29853 SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=29892 SSH_AUTH_SOCK=/.cache/keyring-787ASZ/ssh TMP=/tmp/ TMPDIR=/tmp/ TZ=:/etc/localtime USER= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/mate:/etc/xdg/discovery:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/ XDG_SESSION_COOKIE=-1542187537.274074-1876948711 XMODIFIERS=@im=none _=/usr/bin/gambas3 From bugtracker at gambaswiki.org Thu Dec 6 16:37:53 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 06 Dec 2018 15:37:53 GMT Subject: [Gambas-bugtracker] Bug #1473: Bug in alignment property of label Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1473&from=L21haW4- Gianluigi GRADASCHI reported a new bug. Summary ------- Bug in alignment property of label Type : Bug Priority : Medium Gambas version : Master Product : Unknown Description ----------- The Label component's Alignment property does not work if the AutoResize property is set to True. System information ------------------ [System] Gambas=3.11.90 52c1243 (master) OperatingSystem=Linux Kernel=4.15.0-42-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=UBUNTU:GNOME Theme=Cleanlooks Language=it_IT.UTF-8 Memory=15969M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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 DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/home//.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=19651 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 LOGNAME= 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 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1190,unix/:/tmp/.ICE-unix/1190 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1285 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=1 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=1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Fri Dec 7 01:07:30 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 00:07:30 GMT Subject: [Gambas-bugtracker] Bug #1467: Segmentation fault when using "Try" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1467&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/df275f7c9be11515841c55cf36c7aa7abc5617e3. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Fri Dec 7 01:09:13 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 00:09:13 GMT Subject: [Gambas-bugtracker] Bug #1472: Not seen this before? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1472&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Fri Dec 7 01:15:45 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 00:15:45 GMT Subject: [Gambas-bugtracker] Bug #1473: Bug in alignment property of label In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1473&from=L21haW4- Comment #1 by Beno?t MINISINI: Do you have a little project that reproduces the bug? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Fri Dec 7 01:16:00 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 00:16:00 GMT Subject: [Gambas-bugtracker] Bug #1462: Can't select a disabled widget in the form editor In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1462&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Fri Dec 7 01:16:43 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 00:16:43 GMT Subject: [Gambas-bugtracker] Bug #1462: Can't select a disabled widget in the form editor In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1462&from=L21haW4- Comment #4 by Beno?t MINISINI: I can't reproduce the problem. Please provide a little project that reproduces it. Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Fri Dec 7 01:17:23 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 00:17:23 GMT Subject: [Gambas-bugtracker] Bug #1471: Expand Property did not work ... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1471&from=L21haW4- Comment #2 by Beno?t MINISINI: Please provide a little project that reproduces the problem. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Fri Dec 7 01:18:02 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 00:18:02 GMT Subject: [Gambas-bugtracker] Bug #1447: If too big image are embedded in the project, the ide become really slow. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1447&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Fri Dec 7 07:14:21 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 06:14:21 GMT Subject: [Gambas-bugtracker] Bug #1462: Can't select a disabled widget in the form editor In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1462&from=L21haW4- Comment #5 by Bruce BRUEN: Ah! It happens with custom controls. I'll see if I can find a simple one. From bugtracker at gambaswiki.org Fri Dec 7 07:24:11 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 06:24:11 GMT Subject: [Gambas-bugtracker] Bug #1462: Can't select a disabled widget in the form editor In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1462&from=L21haW4- Bruce BRUEN added an attachment: disabledctl-0.0.1.tar.gz From bugtracker at gambaswiki.org Fri Dec 7 07:24:19 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 06:24:19 GMT Subject: [Gambas-bugtracker] Bug #1462: Can't select a disabled widget in the form editor In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1462&from=L21haW4- Bruce BRUEN added an attachment: datemover-0.0.7.tar.gz From bugtracker at gambaswiki.org Fri Dec 7 07:25:06 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 06:25:06 GMT Subject: [Gambas-bugtracker] Bug #1462: Can't select a disabled widget in the form editor In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1462&from=L21haW4- Comment #6 by Bruce BRUEN: You'll need the datemover custom control From bugtracker at gambaswiki.org Fri Dec 7 09:31:00 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 08:31:00 GMT Subject: [Gambas-bugtracker] Bug #1473: Bug in alignment property of label In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1473&from=L21haW4- Comment #2 by Gianluigi GRADASCHI: Excuse me, can you pretend nothing? Gianluigi GRADASCHI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Fri Dec 7 14:12:27 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 13:12:27 GMT Subject: [Gambas-bugtracker] Bug #1471: Expand Property did not work ... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1471&from=L21haW4- Michael ALTROGGE changed the state of the bug to: Invalid. From bugtracker at gambaswiki.org Fri Dec 7 14:12:39 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 13:12:39 GMT Subject: [Gambas-bugtracker] Bug #1471: Expand Property did not work ... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1471&from=L21haW4- Michael ALTROGGE changed the state of the bug to: Abandoned. From bugtracker at gambaswiki.org Fri Dec 7 14:13:55 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 13:13:55 GMT Subject: [Gambas-bugtracker] Bug #1471: Expand Property did not work ... In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1471&from=L21haW4- Comment #3 by Michael ALTROGGE: sometimes reading documentation will help ... sorry From bugtracker at gambaswiki.org Fri Dec 7 23:23:39 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 22:23:39 GMT Subject: [Gambas-bugtracker] Bug #1474: multiplication by one hundred gives wrong value Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1474&from=L21haW4- Thomas KRCAL reported a new bug. Summary ------- multiplication by one hundred gives wrong value Type : Bug Priority : Medium Gambas version : 3.11 Product : Unknown Description ----------- A very strange thing. Please see the attachments. I have tried a thousand variants here to get the right value. System information ------------------ please see attachment. From bugtracker at gambaswiki.org Fri Dec 7 23:35:23 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 22:35:23 GMT Subject: [Gambas-bugtracker] Bug #1474: multiplication by one hundred gives wrong value In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1474&from=L21haW4- Comment #1 by Beno?t MINISINI: 153.48 has no exact binary representation. The most accurate representation used is 153.479999999999989768184605055, which, multiplied by 100, gives you a number lesser than 15348. Hence Floor() (or CInt) returns 15347. See http://www.binaryconvert.com/convert_double.html to understand. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Fri Dec 7 23:40:18 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 07 Dec 2018 22:40:18 GMT Subject: [Gambas-bugtracker] Bug #1474: multiplication by one hundred gives wrong value In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1474&from=L21haW4- Comment #2 by Michael ALTROGGE: did you tried i_tmp = int ( c_tmp [ "L_AMT" ] ) * 100 From bugtracker at gambaswiki.org Sat Dec 8 03:34:11 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 08 Dec 2018 02:34:11 GMT Subject: [Gambas-bugtracker] Bug #1436: After Detaching a Tab the Cut, Copy, or Past keyboard shortcuts no longer work in the detached window. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1436&from=L21haW4- Oscar CAAL changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sat Dec 8 03:34:15 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 08 Dec 2018 02:34:15 GMT Subject: [Gambas-bugtracker] Bug #1436: After Detaching a Tab the Cut, Copy, or Past keyboard shortcuts no longer work in the detached window. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1436&from=L21haW4- Oscar CAAL changed the state of the bug to: Opened. From bugtracker at gambaswiki.org Sun Dec 9 03:51:18 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 09 Dec 2018 02:51:18 GMT Subject: [Gambas-bugtracker] Bug #1462: Can't select a disabled widget in the form editor In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1462&from=L21haW4- Comment #7 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/8d6e0f9c8f86dd4d1cf8f1c261563b854ea89459. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sun Dec 9 21:22:22 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 09 Dec 2018 20:22:22 GMT Subject: [Gambas-bugtracker] Bug #1430: TextBox.Unselect method does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1430&from=L21haW4- Comment #3 by Beno?t MINISINI: I cannot reproduce the bug. Can you post a video of what happens on your system? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sun Dec 9 23:05:02 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 09 Dec 2018 22:05:02 GMT Subject: [Gambas-bugtracker] Bug #1430: TextBox.Unselect method does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1430&from=L21haW4- Comment #4 by Gianluigi GRADASCHI: Sorry but I can not create movies, in the future I hope to remedy. Writing a word for each TextBox and then tabulating, the writings is not deselected. Maybe it's not a malfunction. Now TextBox.Select(0, 0) works, before it did not work. [System] Gambas=3.11.90 df275f7 (master) Gianluigi GRADASCHI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sun Dec 9 23:11:18 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 09 Dec 2018 22:11:18 GMT Subject: [Gambas-bugtracker] Bug #1430: TextBox.Unselect method does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1430&from=L21haW4- Comment #5 by Beno?t MINISINI: You don't have vlc? It can record your desktop for you. I changed nothing to the TextBox selection method recently, so I don't understand how it could not work before and now work. From bugtracker at gambaswiki.org Mon Dec 10 00:50:44 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 09 Dec 2018 23:50:44 GMT Subject: [Gambas-bugtracker] Bug #1430: TextBox.Unselect method does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1430&from=L21haW4- Comment #6 by Gianluigi GRADASCHI: I can not play, I get this error: Entry can not be opened: VLC is unable to open the MRL 'screen: //'. Check the log for details. However you're right Selected (0, 0) does not work. But with this code and starting with Shift+Tab: Public Sub TextBox1_GotFocus() 'TextBox1.Select(0, 0) TextBox1.Unselect() End Public Sub TextBox2_GotFocus() TextBox2.Select(0, 0) TextBox2.Unselect() End TextBox2 is deselected. Good night From bugtracker at gambaswiki.org Mon Dec 10 15:10:22 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 10 Dec 2018 14:10:22 GMT Subject: [Gambas-bugtracker] Bug #1475: Segmentation fault when watch connection object Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1475&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Segmentation fault when watch connection object Type : Bug Priority : Low Gambas version : Master Product : Unknown Description ----------- I get segmentation fault when watch connection object Reproduce the bug: 1) Open project (attach project) 2) add break point (see video) 3) watch connection object 4) when connection object closed, segmentation fault occur System information ------------------ [System] Gambas=3.11.90 df275f7c9 (master) OperatingSystem=Linux Kernel=4.15.0-38-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=XFCE Theme=Gtk Language=en_US.UTF-8 Memory=1739M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xubuntu GDM_LANG=en_US GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_OVERLAY_SCROLLING=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= PATH=/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=gtk2 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1069,unix/:/tmp/.ICE-unix/1069 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1051 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/.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/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Mon Dec 10 19:25:24 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 10 Dec 2018 18:25:24 GMT Subject: [Gambas-bugtracker] Bug #1430: TextBox.Unselect method does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1430&from=L21haW4- Gianluigi GRADASCHI added an attachment: unselect.mp4 From bugtracker at gambaswiki.org Mon Dec 10 19:25:48 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 10 Dec 2018 18:25:48 GMT Subject: [Gambas-bugtracker] Bug #1430: TextBox.Unselect method does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1430&from=L21haW4- Comment #7 by Gianluigi GRADASCHI: Strange behavior, using Tab Key if it does not work unselect, works select, with Wait happening the opposite. I attach video unselect.mp4 Out of bounds: On Debian vlc does not work without vlc-plugin-access-extra, I think it's better to use Kazam. From bugtracker at gambaswiki.org Mon Dec 10 21:57:03 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 10 Dec 2018 20:57:03 GMT Subject: [Gambas-bugtracker] Bug #1430: TextBox.Unselect method does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1430&from=L21haW4- Comment #8 by Beno?t MINISINI: OK, I found why: it's an old workaround for a QT4 bug that prevents the selection method from working. But I do not remember which bug. I will remove the workaround, so that selection methods always work, and we will see if something else bad happens. From bugtracker at gambaswiki.org Mon Dec 10 22:42:27 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 10 Dec 2018 21:42:27 GMT Subject: [Gambas-bugtracker] Bug #1430: TextBox.Unselect method does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1430&from=L21haW4- Comment #9 by Beno?t MINISINI: Done in commit https://gitlab.com/gambas/gambas/commit/0706d6d17027cc94e454e679b469720a5c52a838. But it may prevent selection from working correctly during a KeyPress event. We will see. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Mon Dec 10 22:43:24 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 10 Dec 2018 21:43:24 GMT Subject: [Gambas-bugtracker] Bug #1475: Segmentation fault when watch connection object In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1475&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Mon Dec 10 23:36:17 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 10 Dec 2018 22:36:17 GMT Subject: [Gambas-bugtracker] Bug #1475: Segmentation fault when watch connection object In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1475&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/43350ebfbd8ada6145e14b71267e1f745a075496. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Mon Dec 10 23:52:16 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 10 Dec 2018 22:52:16 GMT Subject: [Gambas-bugtracker] Bug #1430: TextBox.Unselect method does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1430&from=L21haW4- Comment #10 by Gianluigi GRADASCHI: Here it seems to work well, thanks From bugtracker at gambaswiki.org Tue Dec 11 02:24:53 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 11 Dec 2018 01:24:53 GMT Subject: [Gambas-bugtracker] Bug #1463: TextEditor: When " is pressed, two "" are inserted. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1463&from=L21haW4- Comment #1 by Beno?t MINISINI: Option added in commit https://gitlab.com/gambas/gambas/commit/37ef8c2c1dbda9b25f21e8368cd25690f36c92bf. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Tue Dec 11 02:41:45 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 11 Dec 2018 01:41:45 GMT Subject: [Gambas-bugtracker] Bug #928: Would it be possible to be admitted declare when going to be used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.928&from=L21haW4- Comment #7 by Beno?t MINISINI: Done in commit https://gitlab.com/gambas/gambas/commit/82a9dca733b1e285b257487ba9d15c3fb3b7d5cd. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Tue Dec 11 16:32:04 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 11 Dec 2018 15:32:04 GMT Subject: [Gambas-bugtracker] Bug #1476: Local variable value not correctly Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1476&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Local variable value not correctly Type : Bug Priority : Medium Gambas version : Master Product : Language Description ----------- This happens if the local variable is not declared at the beginning of the sub (attach vid) Reproduce the bug: 1) Open project (attach project) 2) Run it will be crash if using JIT System information ------------------ [System] Gambas=3.11.90 82a9dca73 (master) OperatingSystem=Linux Kernel=4.15.0-38-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=XFCE Theme=Gtk Language=en_US.UTF-8 Memory=1739M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xubuntu GDM_LANG=en_US GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_OVERLAY_SCROLLING=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= PATH=/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=gtk2 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1064,unix/:/tmp/.ICE-unix/1064 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1046 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/.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/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Tue Dec 11 16:37:28 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 11 Dec 2018 15:37:28 GMT Subject: [Gambas-bugtracker] Bug #1477: "Make code pretty" feature works not correctly Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1477&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- "Make code pretty" feature works not correctly Type : Bug Priority : Medium Gambas version : Master Product : Development Environment Description ----------- This happens if any local variable not declared at the beginning of the sub (attach vid) System information ------------------ [System] Gambas=3.11.90 82a9dca73 (master) OperatingSystem=Linux Kernel=4.15.0-38-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=XFCE Theme=Gtk Language=en_US.UTF-8 Memory=1739M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xubuntu GDM_LANG=en_US GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_OVERLAY_SCROLLING=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= PATH=/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=gtk2 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1064,unix/:/tmp/.ICE-unix/1064 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1046 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/.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/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Wed Dec 12 01:42:02 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 12 Dec 2018 00:42:02 GMT Subject: [Gambas-bugtracker] Bug #1476: Local variable value not correctly In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1476&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Wed Dec 12 01:42:36 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 12 Dec 2018 00:42:36 GMT Subject: [Gambas-bugtracker] Bug #1476: Local variable value not correctly In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1476&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/c947cb1b40b0eb18d7d15c24d38b5490e380da29. As for the JIT crash, I didn't check. Please create another bug report if needed. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Dec 12 01:43:12 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 12 Dec 2018 00:43:12 GMT Subject: [Gambas-bugtracker] Bug #1477: "Make code pretty" feature works not correctly In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1477&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Thu Dec 13 01:30:02 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 13 Dec 2018 00:30:02 GMT Subject: [Gambas-bugtracker] Bug #1477: "Make code pretty" feature works not correctly In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1477&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/5a6940e8e83d88b733e180ff1deff4546b344a08. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Thu Dec 13 22:49:20 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 13 Dec 2018 21:49:20 GMT Subject: [Gambas-bugtracker] Bug #1478: Error compiling commit a1f96a54 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1478&from=L21haW4- vuott VUOTT reported a new bug. Summary ------- Error compiling commit a1f96a54 Type : Bug Priority : Medium Gambas version : Master Product : Unknown Description ----------- Hello, compiling (make install) commit a1f96a54 I obtain this error: Compiling gb.mysql... _MySQL.class:70: error: Unknown local variable: $sTmp and at end I obtain: || || Unable to compile gb.mysql || System information ------------------ [System] Gambas=3.11.90 a1f96a5 (master) OperatingSystem=Linux Kernel=4.15.0-42-generic Architecture=x86_64 Distribution=Linux Mint 19 Tara Desktop=CINNAMON Theme=Cleanlooks Language=it_IT.UTF-8 Memory=5398M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_LANG=it GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/nemo.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6105 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= INSIDE_NEMO_PYTHON= LANG=it_IT.UTF-8 LANGUAGE=it_IT.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/916,unix/:/tmp/.ICE-unix/916 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=980 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Fri Dec 14 04:57:35 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 14 Dec 2018 03:57:35 GMT Subject: [Gambas-bugtracker] Bug #1478: Error compiling commit a1f96a54 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1478&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Fri Dec 14 05:21:00 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 14 Dec 2018 04:21:00 GMT Subject: [Gambas-bugtracker] Bug #1478: Error compiling commit a1f96a54 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1478&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/22577f48ae887345e46bf068600afec45538935f. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Fri Dec 14 06:08:04 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 14 Dec 2018 05:08:04 GMT Subject: [Gambas-bugtracker] Bug #1418: OpenBSD/NetBSD: gbi3 segfault for 64 bits In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1418&from=L21haW4- Comment #4 by Beno?t MINISINI: Does it still crash? I successfully compiled Gambas on a big-endian 64 bits architecture (PowerPC) running FreeBSD. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Fri Dec 14 17:58:17 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 14 Dec 2018 16:58:17 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Gianluigi GRADASCHI reported a new bug. Summary ------- TrayIcon Scroll error Type : Bug Priority : Medium Gambas version : Master Product : Unknown Description ----------- The attached project to February worked. Based on the scroll direction, it should show a different menu. System information ------------------ [System] Gambas=3.11.90 22577f4 (master) OperatingSystem=Linux Kernel=4.15.0-42-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=UBUNTU:GNOME Theme=Cleanlooks Language=it_IT.UTF-8 Memory=15969M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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 DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/home//.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=30031 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 LOGNAME= 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 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1163,unix/:/tmp/.ICE-unix/1163 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1313 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=1 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=1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Fri Dec 14 19:10:31 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 14 Dec 2018 18:10:31 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #1 by Beno?t MINISINI: It works with KDE, so I guess it's a new problem with Ubuntu:Gnome desktop. From bugtracker at gambaswiki.org Fri Dec 14 19:16:24 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 14 Dec 2018 18:16:24 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #2 by Beno?t MINISINI: Do the Click or MiddleClick events work? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Fri Dec 14 19:37:43 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 14 Dec 2018 18:37:43 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #3 by Gianluigi GRADASCHI: see attached video Gianluigi GRADASCHI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Fri Dec 14 19:38:04 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 14 Dec 2018 18:38:04 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Gianluigi GRADASCHI added an attachment: trayicon-scroll.mp4 From bugtracker at gambaswiki.org Sat Dec 15 14:23:42 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 15 Dec 2018 13:23:42 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- C THAL reported a new bug. Summary ------- Request for Assertion Type : Request Priority : Medium Gambas version : Unknown Product : Language Description ----------- I think we need the function Assert(Boolean) as part of the language. Assert(False) should throw an assertion error and stop the execution of the program immediately. We will need Assert() for unittests later. System information ------------------ System Information (I had to insert here ... for what?) From bugtracker at gambaswiki.org Sat Dec 15 14:34:39 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 15 Dec 2018 13:34:39 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- Comment #1 by C THAL: https://en.wikipedia.org/wiki/Assertion_(software_development) From bugtracker at gambaswiki.org Sat Dec 15 22:11:31 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 15 Dec 2018 21:11:31 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #4 by Beno?t MINISINI: It does not answer my question: if you implement the Click and MiddleClick event handler in your code, do they work? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sat Dec 15 22:13:11 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 15 Dec 2018 21:13:11 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- Comment #2 by Beno?t MINISINI: So it's not a function, it's an instruction. Moreover it should be like DEBUG: it is removed when the code is compiled without debugging information. From bugtracker at gambaswiki.org Sat Dec 15 22:22:01 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 15 Dec 2018 21:22:01 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #5 by Gianluigi GRADASCHI: Sorry, Click does not work and it never worked. Middle Click instead works. Gianluigi GRADASCHI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sat Dec 15 23:56:30 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 15 Dec 2018 22:56:30 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sun Dec 16 01:08:00 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 16 Dec 2018 00:08:00 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- Comment #3 by Beno?t MINISINI: Done in commit https://gitlab.com/gambas/gambas/commit/d91451cf1e7c30f63e01a13d586a474f1bfe6906. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sun Dec 16 01:18:58 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 16 Dec 2018 00:18:58 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #6 by Beno?t MINISINI: I have just installed Ubuntu 18.10 in a VirtualBox VM: it's weird. The Click event is raised only if you double-click. The MiddleClick event is raised only if a popup menu is defined. Changing the icon or the popup menu has no effect. Everything works perfectly on KDE, but the icon tray protocol standard is correctly implemented on KDE. From bugtracker at gambaswiki.org Sun Dec 16 10:11:36 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 16 Dec 2018 09:11:36 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #7 by Gianluigi GRADASCHI: Same behavior with Ubuntu 18.04 From bugtracker at gambaswiki.org Sun Dec 16 14:35:38 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 16 Dec 2018 13:35:38 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Gianluigi GRADASCHI added an attachment: debian-gnome.mp4 From bugtracker at gambaswiki.org Sun Dec 16 14:36:04 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 16 Dec 2018 13:36:04 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #8 by Gianluigi GRADASCHI: On Debian Gnome does not work (see video) Everything works on Debian Xfce but the menus are only visible if you use the right mouse button. On Xubuntu 18.04 as in Ubuntu, but the scroll does not work (Print Delta and Print Orientation do not write anything). Click on the middle button respond to TrayIcon1_Click() and not to TrayIcon1_MiddleClick() All with or without menu. From bugtracker at gambaswiki.org Mon Dec 17 08:43:50 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 17 Dec 2018 07:43:50 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- Comment #4 by C THAL: Wow, that was fast. But now Debug seems to fail: ' Gambas module file Public Sub Main() Dim b As Boolean Debug "Here is a Debug string" b = False Assert b Catch Print "Error:";; Error.Text;; "in";; Error.Where End Main.Main.7: Error: Type mismatch: wanted Stream, got Void instead in Main.Main.7 C THAL changed the state of the bug to: Opened. From bugtracker at gambaswiki.org Mon Dec 17 09:54:54 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 17 Dec 2018 08:54:54 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- Comment #5 by C THAL: Also there are two further things: 1) An Assertion should not be removed. It defines a condition that must be fulfilled for the program to work correctly. If such a condition is not met, the program must be stopped immediately. Think of things like: For i = 0 To 10 Assert i >= 0 Assert i <= 10 '.... Next I know, this is a silly example, but I can't think of anything better right now. 2) An Assertion should have an optional string to report what happened and why the program failed. I do not know if that is possible with an instruction. C THAL changed the state of the bug to: Working. From bugtracker at gambaswiki.org Mon Dec 17 13:57:12 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 17 Dec 2018 12:57:12 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- Comment #6 by C THAL: One further thing: A failed Assertion should stop the program under all circumstances and it must not been catched. But with the current approach it can continue: Public Sub Main() Assert False GoOn: Print "I went on" Catch Print Error.Text Goto GoOn End From bugtracker at gambaswiki.org Tue Dec 18 09:26:15 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 18 Dec 2018 08:26:15 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- Comment #7 by C THAL: Sorry, I was wrong with "1) An Assertion should not be removed.": https://en.wikipedia.org/wiki/Assertion_(software_development)#Disabling_assertions From bugtracker at gambaswiki.org Wed Dec 19 15:55:12 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 19 Dec 2018 14:55:12 GMT Subject: [Gambas-bugtracker] Bug #1481: add a "password" flag to the INPUTBOX dialog Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1481&from=L21haW4- Federico ALLEGRETTI reported a new bug. Summary ------- add a "password" flag to the INPUTBOX dialog Type : Request Priority : Low Gambas version : 3.11 Product : GUI components Description ----------- Hello everybody. Sometime i had to ask users to provide the app the "sudo" password, to make critical adminitrative tasks. But if i use the inputbox, they had to type clear text on screen that is not safe. Better could be to add a "password" flag (optional and default false) to the component, so the new implementation could be "compatible" with old gambas vertions and provide a better, more usefull, dialog control. Thanks. Example (NOW): Password = InputBox("inserisci la password di root", "root password") Shell "echo " & Password & " | sudo -S mkdir " & Dialog.Path & "/Backup" AFTER the mod: Password = InputBox("inserisci la password di root", "root password", "", true) Shell "echo " & Password & " | sudo -S mkdir " & Dialog.Path & "/Backup" System information ------------------ [System] Gambas=3.11.90 OperatingSystem=Linux Kernel=4.15.0-42-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=UBUNTU:GNOME Theme=Gtk Language=it_IT.UTF-8 Memory=7919M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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=:1 GB_GUI=gb.qt4 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=11129 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= IM_CONFIG_PHASE=2 LANG=it_IT.UTF-8 LOGNAME= 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= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus SESSION_MANAGER=local/:@/tmp/.ICE-unix/1926,unix/:/tmp/.ICE-unix/1926 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2022 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= 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=3 XDG_SESSION_TYPE=x11 XDG_VTNR=2 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Wed Dec 19 16:05:42 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 19 Dec 2018 15:05:42 GMT Subject: [Gambas-bugtracker] Bug #1482: unable to link gstreamer "xxx-bin" components using gb.media Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1482&from=L21haW4- Federico ALLEGRETTI reported a new bug. Summary ------- unable to link gstreamer "xxx-bin" components using gb.media Type : Request Priority : Medium Gambas version : 3.11 Product : Language Description ----------- Hello. I have used sometime gambas media object to handle gstreamer libraries and objects in several projects (Personal Radio Station OSE on sourceforge for example), but at teh moment i faced a problem using "uridecodebin" mediacomponent. If i try this pipeline in the shell: gst-launch-1.0 uridecodebin uri=http://radiogalileo.it:8000//low_latency ! decodebin ! audioconvert ! level ! autoaudiosink if i try to manage teh gstreamer library by gambas code (test_gstreamer_pipeline archive in attach) it works. But if i try to *.linkTo (like in Pi2FM_receiver code, in attach), i receive an error. Talking with friends in the italian gambas support forum, seems is not my only problem. So the questio is: I'm doing it wrong, or there is some kind of linitation with the *-bin objects to be used in gb.media? Thnaks System information ------------------ [System] Gambas=3.11.90 OperatingSystem=Linux Kernel=4.15.0-42-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=UBUNTU:GNOME Theme=Gtk Language=it_IT.UTF-8 Memory=7919M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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=:1 GB_GUI=gb.qt4 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=11129 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= IM_CONFIG_PHASE=2 LANG=it_IT.UTF-8 LOGNAME= 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= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus SESSION_MANAGER=local/:@/tmp/.ICE-unix/1926,unix/:/tmp/.ICE-unix/1926 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2022 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= 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=3 XDG_SESSION_TYPE=x11 XDG_VTNR=2 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Wed Dec 19 21:00:54 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 19 Dec 2018 20:00:54 GMT Subject: [Gambas-bugtracker] Bug #1483: Colors of compiler errors in editor are wrong Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1483&from=L21haW4- Uwe KELLER reported a new bug. Summary ------- Colors of compiler errors in editor are wrong Type : Bug Priority : Medium Gambas version : 3.11 Product : Unknown Description ----------- The colors of tooltips for compiler errors are hardcoded and cannot be read on my Gnome desktop with Adwaita-dark theme. It would be nice if the backcolor could be adjusted in the design settings. System information ------------------ Antergos-Linux, 64-bit, Gnome desktop 3.30.2, Adwaita-dark theme From bugtracker at gambaswiki.org Thu Dec 20 11:57:28 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 20 Dec 2018 10:57:28 GMT Subject: [Gambas-bugtracker] Bug #1484: Debug: wanted Stream, got Void instead Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1484&from=L21haW4- Gianluigi GRADASCHI reported a new bug. Summary ------- Debug: wanted Stream, got Void instead Type : Bug Priority : Medium Gambas version : Master Product : Unknown Description ----------- Debug error: 1) Open project (attach project) 2) Run System information ------------------ [System] Gambas=3.11.90 da11a82 (master) OperatingSystem=Linux Kernel=4.15.0-42-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=UBUNTU:GNOME Theme=Cleanlooks Language=it_IT.UTF-8 Memory=15969M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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 DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/home//.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=30818 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 LOGNAME= 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 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1182,unix/:/tmp/.ICE-unix/1182 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1348 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=1 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=1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Thu Dec 20 20:06:53 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 20 Dec 2018 19:06:53 GMT Subject: [Gambas-bugtracker] Bug #1484: Debug: wanted Stream, got Void instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1484&from=L21haW4- Comment #1 by C THAL: Seems to be a duplicate of 1480 (caused by the fix in https://gitlab.com/gambas/gambas/commit/d91451cf1e7c30f63e01a13d586a474f1bfe6906). From bugtracker at gambaswiki.org Thu Dec 20 20:36:45 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 20 Dec 2018 19:36:45 GMT Subject: [Gambas-bugtracker] Bug #1484: Debug: wanted Stream, got Void instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1484&from=L21haW4- C THAL changed the state of the bug to: Duplicate. From bugtracker at gambaswiki.org Fri Dec 21 00:27:32 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 20 Dec 2018 23:27:32 GMT Subject: [Gambas-bugtracker] Bug #1481: add a "password" flag to the INPUTBOX dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1481&from=L21haW4- Comment #1 by Beno?t MINISINI: InputBox is a a simple dialog for helping porting VB code, and it will keep being that. Just implement your own dialog for that. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Fri Dec 21 00:34:39 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 20 Dec 2018 23:34:39 GMT Subject: [Gambas-bugtracker] Bug #1482: unable to link gstreamer "xxx-bin" components using gb.media In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1482&from=L21haW4- Comment #1 by Beno?t MINISINI: It seems that you don't implement exactly the same pipeline in the second project. I see : uridecodebin uri=http://radiogalileo.it:8000//low_latency ! audioconvert ! level ! jackaudiosink No "decodebin" between "uridecodebin" and "audioconvert". From bugtracker at gambaswiki.org Fri Dec 21 00:35:18 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 20 Dec 2018 23:35:18 GMT Subject: [Gambas-bugtracker] Bug #1483: Colors of compiler errors in editor are wrong In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1483&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Fri Dec 21 00:44:57 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 20 Dec 2018 23:44:57 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- Comment #8 by Beno?t MINISINI: I have no crash with DEBUG. Please post a project that reproduces the bug. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Fri Dec 21 00:49:08 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 20 Dec 2018 23:49:08 GMT Subject: [Gambas-bugtracker] Bug #1480: Request for Assertion In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1480&from=L21haW4- Comment #9 by Beno?t MINISINI: Please create other issues for the other problems. I close this one. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Fri Dec 21 00:50:42 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 20 Dec 2018 23:50:42 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #9 by Beno?t MINISINI: You can see how well and consistently the "standard" DBus tray icon protocol is implemented by the different desktops... :-( From bugtracker at gambaswiki.org Fri Dec 21 00:54:35 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 20 Dec 2018 23:54:35 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #10 by Beno?t MINISINI: Note: AFAIK Gnome does not implement the system tray anymore. You have to install a gnome desktop extension. In Unity/Ubuntu 18.10 the extension is already installed. Or a similar one. But I can't check, as installing Gnome desktop extensions does not work anymore in Ubuntu 18.10 (It worked in Ubuntu 18.04). Apparently as soon as Gnome developers do not like a feature, they remove it and make the life of people using it a nightmare. From bugtracker at gambaswiki.org Fri Dec 21 11:33:01 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 10:33:01 GMT Subject: [Gambas-bugtracker] Bug #1484: Debug: wanted Stream, got Void instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1484&from=L21haW4- Comment #2 by C THAL: Is now a bug of it's own after fc41ff0b23b2b2db5e54b4e4 did not fix it. C THAL changed the state of the bug to: Opened. From bugtracker at gambaswiki.org Fri Dec 21 11:42:34 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 10:42:34 GMT Subject: [Gambas-bugtracker] Bug #1484: Debug: wanted Stream, got Void instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1484&from=L21haW4- Comment #3 by C THAL: Here is the code that let Debug throw an error: ----------------------------------------------------------- ' Gambas module file Public Sub Main() Debug "Anything" Catch Print Error.Text End ----------------------------------------------------------- It reports: Main.Main.5: Type mismatch: wanted Stream, got Void instead From bugtracker at gambaswiki.org Fri Dec 21 11:43:07 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 10:43:07 GMT Subject: [Gambas-bugtracker] Bug #1484: Debug: wanted Stream, got Void instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1484&from=L21haW4- Comment #4 by C THAL: [System] Gambas=3.11.90 fc41ff0 (master) OperatingSystem=Linux Kernel=4.4.0-122-generic Architecture=x86_64 Distribution=Ubuntu 16.04.4 LTS Desktop=XFCE Theme=Gtk Language=de_DE.UTF-8 Memory=992M From bugtracker at gambaswiki.org Fri Dec 21 16:44:18 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 15:44:18 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #11 by Gianluigi GRADASCHI: Sorry Benoit i'am not practical to Debian only now I realized that the TrayIcon icon appears in the lower left corner of the desktop (see attached movie) and responds to Click and MiddleClick, does not respond to the Scroll. The menu appears on the right button (donald only) and works. I did not understand if you know a Gnome extension that makes TryIcon work fine on 18.04, if yes you can tell us? Here the behavior of Ubuntu 18.04 is identical to that of 18.10. Did you notice that by setting Tooltips on Scroll, they change? From bugtracker at gambaswiki.org Fri Dec 21 16:44:33 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 15:44:33 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Gianluigi GRADASCHI added an attachment: debian-2.mp4 From bugtracker at gambaswiki.org Fri Dec 21 17:41:56 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 16:41:56 GMT Subject: [Gambas-bugtracker] Bug #1482: unable to link gstreamer "xxx-bin" components using gb.media In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1482&from=L21haW4- Comment #2 by Federico ALLEGRETTI: Shell command is quite tollerant in "auto generate" the pipeline. I tested (successfully): gst-launch-1.0 uridecodebin uri=http://radiogalileo.it:8000//low_latency ! audioconvert ! jackaudiosink gst-launch-1.0 uridecodebin uri=http://radiogalileo.it:8000//low_latency ! audioconvert ! level ! jackaudiosink gst-launch-1.0 uridecodebin uri=http://radiogalileo.it:8000//low_latency ! decodebin ! audioconvert ! level ! jackaudiosink But on code, everything stops trying to connect first two (2) objects. Init was ok: Public Sub InitSource() 'creo la pipeline pl = New MediaPipeline As "PipeLine" source = New MediaControl(pl, "uridecodebin") source["uri"] = "file:/home/v1p3r/Musica/PRS_Recorder_v1_2018-11-01_14-00-00.ogg" decoder = New MediaControl(pl, "decodebin") converter = New MediaControl(pl, "audioconvert") lev = New MediaControl(pl, "level") lev["message"] = True lev["interval"] = 1000000 End than i setup the sink: Public Sub InitSink() sink = New MediaControl(pl, "jackaudiosink") sink["connect"] = Settings["JackAutoConnect", 0] 'se si connette in automatico alla prima uscita disponibile o meno sink["client-name"] = "Pi2FM" End and than i try to connect everything: Public Sub LinkElements() source.LinkTo(decoder) decoder.LinkTo(converter) converter.LinkTo(lev) lev.LinkTo(sink) End I also tested bypassing the decodebin: source.LinkTo(converter) converter.LinkTo(lev) lev.LinkTo(sink) And removing the filter to capture audio levels getting the data from source, converting and putting in the sink ... source.LinkTo(converter) converter.LinkTo(sink) always first step (link source to something else) gives and error: "unable to link controls" From bugtracker at gambaswiki.org Fri Dec 21 18:57:30 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 17:57:30 GMT Subject: [Gambas-bugtracker] Bug #1482: unable to link gstreamer "xxx-bin" components using gb.media In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1482&from=L21haW4- Comment #3 by Beno?t MINISINI: LinkTo() usually can't work with GStreamer elements like "uridecodebin", because these kind of elements create their pads later, when the resource associated with the URI has been interpreted. You must use LinkLaterTo() instead in that case. The link is actually done later, just after the source pads have been created. Tell me if it works for you. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Fri Dec 21 19:02:55 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 18:02:55 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #12 by Beno?t MINISINI: Are you sure that Scroll event is not triggered? I think it is triggered, but icon changes are not taken into account by the system tray as they should. From bugtracker at gambaswiki.org Fri Dec 21 19:05:49 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 18:05:49 GMT Subject: [Gambas-bugtracker] Bug #1482: unable to link gstreamer "xxx-bin" components using gb.media In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1482&from=L21haW4- Comment #4 by Federico ALLEGRETTI: Thanks Mr Minisini. seems behaviour changed a lot with "linkLaterTo". I had to bypass the decoder: source.LinkLaterTo(converter) 'decoder.LinkTo(converter) converter.LinkTo(lev) lev.LinkTo(sink) but now i get no errors. No audio, but i got the point and i'll check the code to solve. Federico ALLEGRETTI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Fri Dec 21 19:51:31 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 18:51:31 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #13 by Gianluigi GRADASCHI: Of course I'm sure, if it worked the Scroll event would write 1 or -1 in the console, as it does in Ubuntu 18 (04 and 10). From bugtracker at gambaswiki.org Fri Dec 21 19:56:39 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 18:56:39 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #14 by Gianluigi GRADASCHI: I've just tried the Tooltip and it does not work. From bugtracker at gambaswiki.org Fri Dec 21 22:30:48 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 21:30:48 GMT Subject: [Gambas-bugtracker] Bug #1484: Debug: wanted Stream, got Void instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1484&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Fri Dec 21 23:19:18 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 22:19:18 GMT Subject: [Gambas-bugtracker] Bug #1484: Debug: wanted Stream, got Void instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1484&from=L21haW4- Comment #5 by Beno?t MINISINI: It should be fixed in commit https://gitlab.com/gambas/gambas/commit/87f88ac88b549cf494bee2db2f90b4406b2b10f4. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Fri Dec 21 23:32:55 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 21 Dec 2018 22:32:55 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #15 by Beno?t MINISINI: Yes, Tooltip is only implemented by KDE I think. Hopefully it's less important than the mouse events. From bugtracker at gambaswiki.org Sat Dec 22 07:59:07 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 22 Dec 2018 06:59:07 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #16 by Gianluigi GRADASCHI: In fact, the Tooltip in Ubuntu 18 always appears, see attached. From bugtracker at gambaswiki.org Sat Dec 22 07:59:17 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 22 Dec 2018 06:59:17 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Gianluigi GRADASCHI added an attachment: donald-mickey.mp4 From bugtracker at gambaswiki.org Sat Dec 22 12:35:59 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 22 Dec 2018 11:35:59 GMT Subject: [Gambas-bugtracker] Bug #1484: Debug: wanted Stream, got Void instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1484&from=L21haW4- Comment #6 by Gianluigi GRADASCHI: Thank you From bugtracker at gambaswiki.org Sat Dec 22 14:04:35 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 22 Dec 2018 13:04:35 GMT Subject: [Gambas-bugtracker] Bug #1482: unable to link gstreamer "xxx-bin" components using gb.media In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1482&from=L21haW4- Federico ALLEGRETTI added an attachment: Pi2FM_receiver-0.0.5.tar.gz From bugtracker at gambaswiki.org Sat Dec 22 14:06:26 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 22 Dec 2018 13:06:26 GMT Subject: [Gambas-bugtracker] Bug #1482: unable to link gstreamer "xxx-bin" components using gb.media In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1482&from=L21haW4- Comment #5 by Federico ALLEGRETTI: I analyzed all (well from the startup to the stationary data stream, when audio should be reproduced) messages passing trough the pipeline and seems everything s ok if i set watchdogs in the "pipeline_event" procedure. messages are showing that pipeline begin to analyze teh stream, get data filling the buffer and began reproduce data (i got levels). BUT, when i remove the watchdogs, i got pipeline hang, has soon has the buffer completes. From bugtracker at gambaswiki.org Sat Dec 22 14:06:49 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 22 Dec 2018 13:06:49 GMT Subject: [Gambas-bugtracker] Bug #1482: unable to link gstreamer "xxx-bin" components using gb.media In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1482&from=L21haW4- Federico ALLEGRETTI added an attachment: Pi2FM_receiver-0.0.5.tar.gz From bugtracker at gambaswiki.org Sat Dec 22 15:48:55 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 22 Dec 2018 14:48:55 GMT Subject: [Gambas-bugtracker] Bug #1479: TrayIcon Scroll error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1479&from=L21haW4- Comment #17 by Beno?t MINISINI: OK. I think we need to make a big table in the wiki that tells for each desktop which system tray feature works or not... From bugtracker at gambaswiki.org Mon Dec 24 10:16:29 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 24 Dec 2018 09:16:29 GMT Subject: [Gambas-bugtracker] Bug #1485: PPA for Raspbian on Raspberry Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1485&from=L21haW4- Michele V reported a new bug. Summary ------- PPA for Raspbian on Raspberry Type : Request Priority : Medium Gambas version : 3.11 Product : Unknown Description ----------- Hi at the moment gambas installation on Raspberry is possible by source compilation or PPA provided by DomotiGa project (debian repository are not always updated...) At this moment there are some problems with DomotiGa ppa Raspberry platform is very widespread and it would be very useful to have official ppa provided directly by gambas Project Thank you in advance System information ------------------ Raspberry Pi 1,2,3 Raspbian all version From bugtracker at gambaswiki.org Mon Dec 24 10:32:20 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 24 Dec 2018 09:32:20 GMT Subject: [Gambas-bugtracker] Bug #1481: add a "password" flag to the INPUTBOX dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1481&from=L21haW4- Michele V changed the state of the bug to: Opened. From bugtracker at gambaswiki.org Mon Dec 24 16:44:21 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 24 Dec 2018 15:44:21 GMT Subject: [Gambas-bugtracker] Bug #1486: spinbox.step_write.439 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1486&from=L21haW4- Federico ALLEGRETTI reported a new bug. Summary ------- spinbox.step_write.439 Type : Bug Priority : Medium Gambas version : 3.11 Product : GUI components Description ----------- hello, today i tryed to open an old code on a new machine and i got this error. Some friends of the italian comunity got the same error setting a spinbox value at a float value. Usually errors pop up in the gui next to the erroneus line of code. Not in this case. Thanks. PS: i walkaround that setting in the IDE a step of 2 for every spinbox i got AND then setting it back to 1. System information ------------------ [System] Gambas=3.11.90 OperatingSystem=Linux Kernel=4.15.0-43-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=UBUNTU:GNOME Theme=Gtk Language=it_IT.UTF-8 Memory=7919M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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=:1 GB_GUI=gb.qt4 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=15516 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= IM_CONFIG_PHASE=2 LANG=it_IT.UTF-8 LOGNAME= 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= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus SESSION_MANAGER=local/:@/tmp/.ICE-unix/1951,unix/:/tmp/.ICE-unix/1951 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2047 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= 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=3 XDG_SESSION_TYPE=x11 XDG_VTNR=2 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Mon Dec 24 17:55:15 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 24 Dec 2018 16:55:15 GMT Subject: [Gambas-bugtracker] Bug #1487: gambas media player plays audio but duration always reports 0 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1487&from=L21haW4- Federico ALLEGRETTI reported a new bug. Summary ------- gambas media player plays audio but duration always reports 0 Type : Bug Priority : Medium Gambas version : 3.11 Product : Language Description ----------- ' Gambas class file Private Player_A As MediaPlayer 'player che gestira' i media con gb.media (gstreamer) Private UscitaAudio As MediaControl 'l'area di rendering dei media .... Public Sub CalcolaDurata(mediafile As String) Try Player_A.Close Player_A = New MediaPlayer As "FakeMediaPlayer" UscitaAudio = New MediaControl(Player_A, "autoaudiosink") 'UscitaAudio = New MediaControl(Player_A, "fakeaudiosink") 'UscitaAudio = New MediaControl(Player_A, "autoaudiosink") 'UscitaAudio = New MediaControl(Player_A, "jackaudiosink") Player_A.Audio.Output = UscitaAudio Player_A.URL = Media.URL(mediafile) Player_A.play Print Player_A.Duration 'Try Player_A.Play 'Debug mediafile If Error Then Debug Error.Text & " on " & mediafile Else Player_A.Pause While Player_A.Duration = 0 Wait 0.1 Wend Debug Player_A.URL Endif Label_Duration.Text = HMS_From_Seconds(CString(Player_A.Duration)) Player_A.Stop Player_A.Close End plays a clip perfect (on speakers when not fake sink is selected), but duration is always ZERO .... PS: also the URL repors "" but audio is still cming from the speakers. System information ------------------ [System] Gambas=3.11.90 OperatingSystem=Linux Kernel=4.15.0-43-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=UBUNTU:GNOME Theme=Gtk Language=it_IT.UTF-8 Memory=7919M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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=:1 GB_GUI=gb.qt4 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=15516 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= IM_CONFIG_PHASE=2 LANG=it_IT.UTF-8 LOGNAME= 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= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus SESSION_MANAGER=local/:@/tmp/.ICE-unix/1951,unix/:/tmp/.ICE-unix/1951 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2047 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= 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=3 XDG_SESSION_TYPE=x11 XDG_VTNR=2 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Tue Dec 25 10:05:14 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 25 Dec 2018 09:05:14 GMT Subject: [Gambas-bugtracker] Bug #1481: add a "password" flag to the INPUTBOX dialog In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1481&from=L21haW4- Comment #2 by Gianluigi GRADASCHI: As Benoit explained, it is necessary to create it. You can do this: 1) If you do not have the Gambas sources, download a copy from here [0] 2) Unzip it in a folder of your choice. 3) Open Gambas and create a new QT project 4) Right-click on FMain and choose Import... 5) From the bottom combo choose *form 6) Navigate to the folder with gambas-3.11.4 > comp> src > gb.form > .src > FImputBox and OK. 7) Same passages with *class to import InputBox.class (Note: FInputBox.class you have already imported it with the form). 8) On the FInputBox.form tab, change the Password property of txtValue to True. 9) Take a test in FMain. I suggest you rename (also in the code) this inputbox to avoid confusion. [0] https://gitlab.com/gambas/gambas/-/archive/3.11.4/gambas-3.11.4.tar.bz2 Gianluigi GRADASCHI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Wed Dec 26 18:58:50 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 26 Dec 2018 17:58:50 GMT Subject: [Gambas-bugtracker] Bug #1486: spinbox.step_write.439 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1486&from=L21haW4- Comment #1 by Beno?t MINISINI: The new behaviour is correct, as having a step less than 1 is not useful. But why did you define a floating-point step, as the SpinBox only deals with integers? And how? Normally the IDE only allows you to enter integer numbers in the Step property. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Wed Dec 26 19:06:43 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 26 Dec 2018 18:06:43 GMT Subject: [Gambas-bugtracker] Bug #1487: gambas media player plays audio but duration always reports 0 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1487&from=L21haW4- Comment #1 by Beno?t MINISINI: GStreamer does not compute the stream duration immediately. You have to listen to the Duration MediaPipeline event to know when the duration is computed. And it can change several times while the media is played! As for the URL property, for GStreamer it's not the current uri, but the next uri to play. (The NextURL property being the next next uri to play!). So I guess GStreamer resets the property to null when the media actually starts playing. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Thu Dec 27 13:02:13 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 27 Dec 2018 12:02:13 GMT Subject: [Gambas-bugtracker] Bug #1487: gambas media player plays audio but duration always reports 0 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1487&from=L21haW4- Comment #2 by Federico ALLEGRETTI: from inline help: MediaPlayer.URL (gb.media) "Return or set the URI of the currently played media stream." ok i'll try to implement my own duration tracking, but that code work well in previous version of gambas/gstreamer (do not know where were made modifications). From bugtracker at gambaswiki.org Thu Dec 27 13:18:06 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 27 Dec 2018 12:18:06 GMT Subject: [Gambas-bugtracker] Bug #1488: gambas stable freeze handling gstreamer components Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1488&from=L21haW4- Federico ALLEGRETTI reported a new bug. Summary ------- gambas stable freeze handling gstreamer components Type : Bug Priority : Medium Gambas version : 3.11 Product : Language Description ----------- trying to solve some issues i got with latest development gambas version i reverted to stable 3.11.4. now i have save issues of the developing branch with my code, and some time i got also full freeze (app and gui), like in the image attached System information ------------------ [System] Gambas=3.11.4 OperatingSystem=Linux Kernel=4.15.0-43-generic Architecture=x86_64 Distribution=Ubuntu 18.04.1 LTS Desktop=UBUNTU:GNOME Theme=Gtk Language=it_IT.UTF-8 Memory=7919M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.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=:1 GB_GUI=gb.qt4 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6002 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= IM_CONFIG_PHASE=2 LANG=it_IT.UTF-8 LOGNAME= 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= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus SESSION_MANAGER=local/:@/tmp/.ICE-unix/2919,unix/:/tmp/.ICE-unix/2919 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=3015 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= 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=3 XDG_SESSION_TYPE=x11 XDG_VTNR=2 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Thu Dec 27 19:04:57 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 27 Dec 2018 18:04:57 GMT Subject: [Gambas-bugtracker] Bug #1489: Add Optional Description Parameter To Assertion Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1489&from=L21haW4- C THAL reported a new bug. Summary ------- Add Optional Description Parameter To Assertion Type : Request Priority : Medium Gambas version : Unknown Product : Language Description ----------- An assertion should be able to print an optional description string if it failed. System information ------------------ My system From bugtracker at gambaswiki.org Fri Dec 28 09:07:32 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 28 Dec 2018 08:07:32 GMT Subject: [Gambas-bugtracker] Bug #1065: Icon does not appear in tray In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4- Comment #19 by Abdul ZAGIROV: In newer versions of Gambas the problem is solved. Thank's! Abdul ZAGIROV changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Fri Dec 28 12:55:35 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 28 Dec 2018 11:55:35 GMT Subject: [Gambas-bugtracker] Bug #1488: gambas stable freeze handling gstreamer components In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1488&from=L21haW4- Comment #1 by Federico ALLEGRETTI: the ide freeze is solved (but the behaviour is strange) because i forgot to write the full command: playerA. with nothing after the dot but is strange that the ide do not fire the error without freezing. From bugtracker at gambaswiki.org Fri Dec 28 13:01:52 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 28 Dec 2018 12:01:52 GMT Subject: [Gambas-bugtracker] Bug #1487: gambas media player plays audio but duration always reports 0 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1487&from=L21haW4- Comment #3 by Federico ALLEGRETTI: after some trials with this testing code: ' Gambas class file Public player As MediaPlayer Public uscita As MediaControl Public Sub Form_Open() player = New MediaPlayer uscita = New MediaControl(player, "fakesink") player.Audio.Output = uscita player.URL = Media.URL("path_to_the_mp3_song") player.Play While player.Duration = 0 Wait 0.1 Wend Print player.Duration player.Stop End i found there was some weird error in the mp3 coding. with the original bad.mp3 song, loop never exit, but if i fix the mp3 with: ffmpeg -i bad.mp3 -c:a copy good.mp3 than the test code with "good.mp3" reports correct lenght. Strange thing is that (using autoaudiosink) gstreamer plays back both bad.mp3 and good.mp3 attached are bad.mp3 and converted good.mp3 From bugtracker at gambaswiki.org Fri Dec 28 13:02:27 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 28 Dec 2018 12:02:27 GMT Subject: [Gambas-bugtracker] Bug #1487: gambas media player plays audio but duration always reports 0 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1487&from=L21haW4- Federico ALLEGRETTI added an attachment: bad_and_good_mp3.zip From bugtracker at gambaswiki.org Fri Dec 28 19:33:19 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 28 Dec 2018 18:33:19 GMT Subject: [Gambas-bugtracker] Bug #1487: gambas media player plays audio but duration always reports 0 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1487&from=L21haW4- Comment #4 by Beno?t MINISINI: If GStreamer can get the duration immediately, I guess it does. But afaik, mp3 is a format that has no duration field, so the duration of the mp3 must be estimated while reading the file, especially if it has a variable bit rate.