From bugtracker at gambaswiki.org Tue Jul 2 08:53:07 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 02 Jul 2019 06:53:07 GMT Subject: [Gambas-bugtracker] Bug #1599: Add localized Comments in desktop file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1599&from=L21haW4- Comment #5 by Alex -: What is about Name? Alex - changed the state of the bug to: Opened. From bugtracker at gambaswiki.org Tue Jul 2 12:28:13 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 02 Jul 2019 10:28:13 GMT Subject: [Gambas-bugtracker] Bug #1619: ComboBox Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1619&from=L21haW4- Mart?n BELMONTE reported a new bug. Summary ------- ComboBox Type : Request Priority : Low Gambas version : Master Product : QT4 component Description ----------- The CHANGE event disapear if the property ReadOnly is setted as TRUE. I use many controls to edit data in database TextBox for free text, ValueBox for free numbers, etc. but when arrives the turn of the Combo Box for edit fixes text values (the reason that i set it as readonly) the event CHANGE diaspear. I do not know if it is intentional or it is not, but ?How can I have both? the change event and at the same timea the ReadOnly = True. Tanks. System information ------------------ [System] Gambas=3.13 OperatingSystem=Linux Kernel=5.0.0-15-generic Architecture=x86_64 Distribution=Pop!_OS 19.04 Desktop=POP:GNOME Theme=Gtk Language=es_AR.UTF-8 Memory=7849M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.9 GStreamer=libgstreamer-1.0.so.0.1590.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2404.4 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.85.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.12.2 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=pop DISPLAY=:1 GB_GUI=gb.qt4 GDMSESSION=pop GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=2205 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_SHELL_SESSION_MODE=pop 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=es_AR.UTF-8 LANGUAGE=es_AR.UTF-8 LC_ADDRESS=es_AR.UTF-8 LC_IDENTIFICATION=es_AR.UTF-8 LC_MEASUREMENT=es_AR.UTF-8 LC_MONETARY=es_AR.UTF-8 LC_NAME=es_AR.UTF-8 LC_NUMERIC=es_AR.UTF-8 LC_PAPER=es_AR.UTF-8 LC_TELEPHONE=es_AR.UTF-8 LC_TIME=es_AR.UTF-8 LOGNAME= PAPERSIZE=a4 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus SESSION_MANAGER=local/:@/tmp/.ICE-unix/1558,unix/:/tmp/.ICE-unix/1558 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1651 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=2 XAUTHORITY=/run/user/1000/gdm/Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-pop:/etc/xdg XDG_CURRENT_DESKTOP=pop:GNOME XDG_DATA_DIRS=/usr/share/pop:/usr/local/share/:/usr/share/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=pop XDG_SESSION_ID=2 XDG_SESSION_TYPE=x11 XDG_VTNR=2 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Tue Jul 2 12:34:39 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 02 Jul 2019 10:34:39 GMT Subject: [Gambas-bugtracker] Bug #1619: ComboBox In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1619&from=L21haW4- Comment #1 by Beno?t MINISINI: The Change event is for the TextBox. For a read-only ComboBox, which does not have a TextBox, you must use the Click event. From bugtracker at gambaswiki.org Tue Jul 2 22:37:57 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 02 Jul 2019 20:37:57 GMT Subject: [Gambas-bugtracker] Bug #1599: Add localized Comments in desktop file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1599&from=L21haW4- Comment #6 by Beno?t MINISINI: Name is translated too. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Tue Jul 2 22:38:11 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 02 Jul 2019 20:38:11 GMT Subject: [Gambas-bugtracker] Bug #1619: ComboBox In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1619&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Tue Jul 2 22:39:40 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 02 Jul 2019 20:39:40 GMT Subject: [Gambas-bugtracker] Bug #1606: deb package does not build in Mageia In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1606&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Thu Jul 4 03:01:59 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 01:01:59 GMT Subject: [Gambas-bugtracker] Bug #1600: Add symlink on executable file in package In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1600&from=L21haW4- Comment #2 by Beno?t MINISINI: Done in commit https://gitlab.com/gambas/gambas/commit/e9da726b96438eadaf2069123db715a1e395562c. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Thu Jul 4 17:38:24 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 15:38:24 GMT Subject: [Gambas-bugtracker] Bug #1556: Debian/Ubuntu/Kubuntu package creation fail In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1556&from=L21haW4- Comment #2 by Olivier CRUILLES: Hi Benoit, As I can read on Internet, it seems that 'dpkg-buildpackage' wait for an Email address rather than a key ID with the -k option. https://askubuntu.com/questions/927160/signing-package-with-dpkg-buildpackage-fails-but-succeeds-with-debsign dpkg-buildpackage seems to expect you to pass an email address along with the -k flag rather than the key ID. dpkg-buildpackage -kmyemail at mydomain.com After this i had no errors. Olivier Olivier CRUILLES changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Thu Jul 4 17:53:04 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 15:53:04 GMT Subject: [Gambas-bugtracker] Bug #1556: Debian/Ubuntu/Kubuntu package creation fail In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1556&from=L21haW4- Comment #3 by Beno?t MINISINI: There is no support for package signature in the IDE I have. It is hidden. Did you patch your version of Gambas? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Thu Jul 4 20:29:26 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 18:29:26 GMT Subject: [Gambas-bugtracker] Bug #1620: Highlight.Alternate function error Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1620&from=L21haW4- Olivier CRUILLES reported a new bug. Summary ------- Highlight.Alternate function error Type : Bug Priority : Medium Gambas version : Master Product : Development Environment Description ----------- Hello, Since the last DEV version of Gambas, one of my projects does not start anymore. I'm not able to find any usage of 'HighLight.Alternate' in my code and I found it only in Gambas sources. Screenshot joined of the error occurs. Olivier System information ------------------ [System] Gambas=3.13.90 OperatingSystem=Linux Kernel=4.18.0-18-generic Architecture=x86_64 Distribution=Linux Mint 19.1 Tessa Desktop=MATE Theme=Qt5CTProxy Language=fr_CA.UTF-8 Memory=7977M [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.1404.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 CLUTTER_IM_MODULE=xim COMPIZ_CONFIG_PROFILE=mate DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=mate GDM_LANG=fr_CA GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_IM_MODULE=xim GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= IM_CONFIG_PHASE=2 LANG=fr_CA.UTF-8 LANGUAGE=fr_CA.UTF-8 LC_ADDRESS=fr_FR.UTF-8 LC_IDENTIFICATION=fr_FR.UTF-8 LC_MEASUREMENT=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8 LC_NAME=fr_FR.UTF-8 LC_NUMERIC=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 LC_TELEPHONE=fr_FR.UTF-8 LC_TIME=fr_FR.UTF-8 LIBVIRT_DEFAULT_URI=qemu:///system LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated PAPERSIZE=a4 PATH=/bin:/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_AUTO_SCREEN_SCALE_FACTOR=0 QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=qt5ct QT_SCALE_FACTOR=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/2329,unix/:/tmp/.ICE-unix/2329 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2501 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop 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=mate XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Thu Jul 4 20:37:05 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 18:37:05 GMT Subject: [Gambas-bugtracker] Bug #1620: Highlight.Alternate function error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1620&from=L21haW4- Comment #1 by Beno?t MINISINI: Where is the project? From bugtracker at gambaswiki.org Thu Jul 4 20:37:10 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 18:37:10 GMT Subject: [Gambas-bugtracker] Bug #1620: Highlight.Alternate function error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1620&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Thu Jul 4 20:44:55 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 18:44:55 GMT Subject: [Gambas-bugtracker] Bug #1620: Highlight.Alternate function error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1620&from=L21haW4- Comment #2 by Olivier CRUILLES: The project have a size of 3.5MB and the button to join a file has disappear. How can I send you it please ? Olivier CRUILLES changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Thu Jul 4 20:45:16 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 18:45:16 GMT Subject: [Gambas-bugtracker] Bug #1620: Highlight.Alternate function error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1620&from=L21haW4- Olivier CRUILLES added an attachment: gbDocEditor-0.9.70.tar.gz From bugtracker at gambaswiki.org Thu Jul 4 20:45:50 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 18:45:50 GMT Subject: [Gambas-bugtracker] Bug #1620: Highlight.Alternate function error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1620&from=L21haW4- Comment #3 by Olivier CRUILLES: Ok I need to add a comment to be able to add a new file. Sorry From bugtracker at gambaswiki.org Thu Jul 4 20:53:25 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 18:53:25 GMT Subject: [Gambas-bugtracker] Bug #1620: Highlight.Alternate function error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1620&from=L21haW4- Comment #4 by Beno?t MINISINI: Is it better with commit https://gitlab.com/gambas/gambas/commit/5fcf191a1fb22208ef794e5e8153ceca1df2519c ? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Thu Jul 4 22:02:49 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 20:02:49 GMT Subject: [Gambas-bugtracker] Bug #1620: Highlight.Alternate function error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1620&from=L21haW4- Comment #5 by Olivier CRUILLES: Yes, better, it works now. Thank you Olivier CRUILLES changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Thu Jul 4 22:05:23 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 04 Jul 2019 20:05:23 GMT Subject: [Gambas-bugtracker] Bug #1620: Highlight.Alternate function error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1620&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Fri Jul 5 14:25:54 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 05 Jul 2019 12:25:54 GMT Subject: [Gambas-bugtracker] Bug #1619: ComboBox In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1619&from=L21haW4- Comment #2 by Mart?n BELMONTE: Ok, Tanks. From bugtracker at gambaswiki.org Fri Jul 5 14:50:44 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 05 Jul 2019 12:50:44 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Mart?n BELMONTE reported a new bug. Summary ------- ComboBox .Border = False not working ? Type : Request Priority : Low Gambas version : Master Product : QT4 component Description ----------- Hi, I try to change to set combobox .Border = False, it works, the border disappears, but there is something that remains and the ComboBox is not clean (please see the attached picture) I am using a system with GTK3 on the desktop. If I configure the project specifically with GTK3, the aspect is as expected (there is no border or anything remnant) But if I use gb.qt, gb.gtk, gb.gui it does not work well and something is seen at the border of control. Tanks. System information ------------------ [System] Gambas=3.13 OperatingSystem=Linux Kernel=5.0.0-15-generic Architecture=x86_64 Distribution=Pop!_OS 19.04 Desktop=POP:GNOME Theme=Gtk Language=es_AR.UTF-8 Memory=7849M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.9 GStreamer=libgstreamer-1.0.so.0.1590.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2404.4 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.85.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.12.2 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=pop DISPLAY=:1 GB_GUI=gb.qt4 GDMSESSION=pop GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=2946 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_SHELL_SESSION_MODE=pop 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=es_AR.UTF-8 LANGUAGE=es_AR.UTF-8 LC_ADDRESS=es_AR.UTF-8 LC_IDENTIFICATION=es_AR.UTF-8 LC_MEASUREMENT=es_AR.UTF-8 LC_MONETARY=es_AR.UTF-8 LC_NAME=es_AR.UTF-8 LC_NUMERIC=es_AR.UTF-8 LC_PAPER=es_AR.UTF-8 LC_TELEPHONE=es_AR.UTF-8 LC_TIME=es_AR.UTF-8 LOGNAME= PAPERSIZE=a4 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus SESSION_MANAGER=local/:@/tmp/.ICE-unix/1541,unix/:/tmp/.ICE-unix/1541 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1636 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=2 XAUTHORITY=/run/user/1000/gdm/Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-pop:/etc/xdg XDG_CURRENT_DESKTOP=pop:GNOME XDG_DATA_DIRS=/usr/share/pop:/usr/local/share/:/usr/share/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=pop XDG_SESSION_ID=2 XDG_SESSION_TYPE=x11 XDG_VTNR=2 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Fri Jul 5 14:59:12 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 05 Jul 2019 12:59:12 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Comment #1 by Beno?t MINISINI: No idea what your desktop is: "pop:GNOME", I have never seen that. As the desktop is unknown, 'gb.gui' loads the'gb.gtk' component as default. Anyway, how a borderless ComboBox is displayed depends entirely on widget theme in use by the underlying GUI component. If it looks bad, Gambas cannot do anything against that. From bugtracker at gambaswiki.org Fri Jul 5 16:51:48 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 05 Jul 2019 14:51:48 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Comment #2 by Mart?n BELMONTE: ok, tanks Beno?te. The desktop POP:GNOME is because I use the distribution Pop!_OS Created and mintained by Systems76. From bugtracker at gambaswiki.org Fri Jul 5 16:56:01 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 05 Jul 2019 14:56:01 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Comment #3 by Beno?t MINISINI: Is that a GNOME desktop? From bugtracker at gambaswiki.org Fri Jul 5 16:59:34 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 05 Jul 2019 14:59:34 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Comment #4 by Beno?t MINISINI: Anyway, putting a colon inside XDG_CURRENT_DESKTOP is logically forbidden, according to https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys, and I think a bug for that should be opened upstream. From bugtracker at gambaswiki.org Fri Jul 5 17:01:07 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 05 Jul 2019 15:01:07 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Comment #5 by Beno?t MINISINI: Oops, I misread the specification, it is allowed. It means that the desktop is GNOME or POP! What a mess... From bugtracker at gambaswiki.org Sat Jul 6 22:36:44 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 06 Jul 2019 20:36:44 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Comment #6 by Mart?n BELMONTE: It's really pop or gnome. What a mess... plus :-) From bugtracker at gambaswiki.org Mon Jul 8 12:44:46 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 08 Jul 2019 10:44:46 GMT Subject: [Gambas-bugtracker] Bug #1622: gb.sdl2.sound doesn't work on Linux Mint 19.1 Tessa Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1622&from=L21haW4- Jorge CARRI?N reported a new bug. Summary ------- gb.sdl2.sound doesn't work on Linux Mint 19.1 Tessa Type : Bug Priority : Low Gambas version : Master Product : SDL components Description ----------- I've found that programs who use gb.sdl.sound doesn't work on linux mint 19.1 Tessa. They worked fine with olders versions. when I try Sound.Load("receive.wav") all I get is theese warnings: qt5ct: using qt5ct plugin qt5ct: D-Bus global menu: no gb.sdl2.audio: warning: MP3 support not available gb.sdl2.audio: warning: OGG support not available gb.sdl2.audio: warning: MOD support not available gb.sdl2.audio: warning: FLAC support not available And no sound at all. Is there some library incompatibility in this version? dpkg -l|grep sdl2 gives this: ii gambas3-gb-sdl2 3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1 amd64 Gambas SDL2 component ii gambas3-gb-sdl2-audio 3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1 amd64 Gambas SDL2 component ii libsdl2-2.0-0:amd64 2.0.8+dfsg1-1ubuntu1.18.04.3 amd64 Simple DirectMedia Layer ii libsdl2-image-2.0-0:amd64 2.0.3+dfsg1-1 amd64 Image loading library for Simple DirectMedia Layer 2, libraries ii libsdl2-mixer-2.0-0:amd64 2.0.2+dfsg1-2 amd64 Mixer library for Simple DirectMedia Layer 2, libraries ii libsdl2-ttf-2.0-0:amd64 2.0.14+dfsg1-2 amd64 TrueType Font library for Simple DirectMedia Layer 2, libraries Best Regards System information ------------------ [System] Gambas=3.9.1 OperatingSystem=Linux Kernel=4.4.0-45-generic Architecture=x86_64 Distribution=Linux Mint 18 Sarah Desktop=CINNAMON Theme=Cleanlooks Language=es_ES.UTF-8 Memory=15989M [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.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 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.0.7 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-1C7VFHfEUI,guid=13992d2f3c4096e31cdd018b5812aad0 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=12947 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= LANG=es_ES.UTF-8 LC_ALL=es_ES.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=es_ES.UTF-8 MDM_XSERVER_LOCATION=local PATH=/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_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/2037,unix/:/tmp/.ICE-unix/2037 SHELL=/bin/bash SSH_AGENT_PID=3067 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 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:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=2a5d5f96ef9147c0b35535562b32d0ff-1477618380.711393-745937698 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=7 From bugtracker at gambaswiki.org Mon Jul 8 13:22:02 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 08 Jul 2019 11:22:02 GMT Subject: [Gambas-bugtracker] Bug #1622: gb.sdl2.sound doesn't work on Linux Mint 19.1 Tessa In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1622&from=L21haW4- Jorge CARRI?N changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Mon Jul 8 13:26:37 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 08 Jul 2019 11:26:37 GMT Subject: [Gambas-bugtracker] Bug #1622: gb.sdl2.sound doesn't work on Linux Mint 19.1 Tessa In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1622&from=L21haW4- Comment #1 by Jorge CARRI?N: I do not know if my apologies for the noise have been attached to the change of state. In case it's not like that: I'm sorry. my fault. My old mind forgot the .play after de load of sound file... Best Regards From bugtracker at gambaswiki.org Wed Jul 10 13:46:36 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 11:46:36 GMT Subject: [Gambas-bugtracker] Bug #1623: Errors compiling commit "fed1e209" Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1623&from=L21haW4- vuott VUOTT reported a new bug. Summary ------- Errors compiling commit "fed1e209" Type : Bug Priority : Medium Gambas version : Master Product : Unknown Description ----------- Hello, updating my Gambas with commit "fed1e209", I obtain these compiling errors: gbc3: error: Component not found: gb.form Compiling gb.form... FBalloon.form:5: error: Unknown identifier: PictureBox Compiling gb.form.stock... OK Installing gb.form.stock... Compiling gb.form.dialog... gbc3: error: Component not found: gb.form Compiling gb.form.mdi... gbc3: error: Component not found: gb.form Compiling gb.db.form... gbc3: error: Component not found: gb.form Compiling gb.desktop... gbc3: error: Component not found: gb.form Compiling gb.web... OK Installing gb.web... Compiling gb.report... gbc3: error: Component not found: gb.form Compiling gb.report2... gbc3: error: Component not found: gb.form Compiling gb.chart... gbc3: error: Component not found: gb.form Compiling gb.mysql... OK Installing gb.mysql... Compiling gb.net.smtp... OK Installing gb.net.smtp... Compiling gb.net.pop3... OK Installing gb.net.pop3... Compiling gb.memcached... OK Installing gb.memcached... Compiling gb.map... gbc3: error: Component not found: gb.form Compiling gb.logging... OK Installing gb.logging... Compiling gb.markdown... OK Installing gb.markdown... Compiling gb.media.form... gbc3: error: Component not found: gb.form Compiling gb.scanner... gbc3: error: Component not found: gb.form Compiling gb.util... OK Installing gb.util... Compiling gb.util.web... OK Installing gb.util.web... Compiling gb.form.editor... TextEditor.class:81:18: error: Unknown identifier: ScrollArea Compiling gb.dbus.trayicon... gbc3: error: Component not found: gb.form Compiling gb.web.form... OK Installing gb.web.form... Compiling gb.form.terminal... gbc3: error: Component not found: gb.form Compiling gb.term.form... OK Installing gb.term.form... Compiling gb.web.feed... OK Installing gb.web.feed... Compiling gb.form.print... gbc3: error: Component not found: gb.form make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/ploppo/gambasdevel/comp' make[1]: Leaving directory '/home/ploppo/gambasdevel/comp' Making install in app make[1]: Entering directory '/home/ploppo/gambasdevel/app' make[2]: Entering directory '/home/ploppo/gambasdevel/app' Installing the development environment... Compiling gambas3... gbc3: error: Component not found: gb.form Compiling gbs3... OK Installing gbs3... Installing the scripter... Registering Gambas script mimetype... Registering Gambas server page mimetype... Installing the Gambas appdata file... Installing the Gambas template projects... make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/ploppo/gambasdevel/app' make[1]: Leaving directory '/home/ploppo/gambasdevel/app' Making install in . make[1]: Entering directory '/home/ploppo/gambasdevel' make[2]: Entering directory '/home/ploppo/gambasdevel' || || Unable to compile gb.gui.base || Unable to compile gb.form || Unable to compile gb.form.dialog || Unable to compile gb.form.mdi || Unable to compile gb.db.form || Unable to compile gb.desktop || Unable to compile gb.report || Unable to compile gb.report2 || Unable to compile gb.chart || Unable to compile gb.map || Unable to compile gb.media.form || Unable to compile gb.scanner || Unable to compile gb.form.editor || Unable to compile gb.dbus.trayicon || Unable to compile gb.form.terminal || Unable to compile gb.form.print || Unable to compile gambas3 || System information ------------------ Linux Mint 19.1 Cinnamon 4.0.10 Kernel Linux 5.0.0-20-generic Processor AMD E1-2500 APU with Radeon? HD Graphics ? 2 Memory 5.3 GB Graphic Card Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8240 / R3 Series] (prog-if 00 [VGA controller]) From bugtracker at gambaswiki.org Wed Jul 10 15:01:53 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 13:01:53 GMT Subject: [Gambas-bugtracker] Bug #1623: Errors compiling commit "fed1e209" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1623&from=L21haW4- vuott VUOTT changed the state of the bug to: Invalid. From bugtracker at gambaswiki.org Wed Jul 10 17:56:32 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 15:56:32 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Carlo PANARA added an attachment: HP-preview.png From bugtracker at gambaswiki.org Wed Jul 10 17:56:55 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 15:56:55 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Carlo PANARA added an attachment: HP-info. From bugtracker at gambaswiki.org Wed Jul 10 17:57:06 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 15:57:06 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Carlo PANARA added an attachment: Lenovo-info. From bugtracker at gambaswiki.org Wed Jul 10 17:58:54 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 15:58:54 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Comment #4 by Carlo PANARA: Meanwhile, thanks for having satisfied my request, on an HP machine with Radeon card the print preview appears as in the attached photo, while on a Lenovo with intel card it works very well, I think From bugtracker at gambaswiki.org Wed Jul 10 18:41:02 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 16:41:02 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Comment #5 by Beno?t MINISINI: Mmm... Weird. It should not depend on the underlying graphic card at all! From bugtracker at gambaswiki.org Wed Jul 10 18:41:08 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 16:41:08 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at gambaswiki.org Wed Jul 10 18:41:52 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 16:41:52 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Comment #6 by Beno?t MINISINI: Beware that bitmap fonts do not work on printers. Do you use the same font on the HP and the Lenovo? From bugtracker at gambaswiki.org Wed Jul 10 19:06:59 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 17:06:59 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Comment #7 by Carlo PANARA: Which font do you refer to? From bugtracker at gambaswiki.org Wed Jul 10 19:55:38 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 17:55:38 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Comment #8 by Beno?t MINISINI: This one: From bugtracker at gambaswiki.org Wed Jul 10 19:55:49 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 17:55:49 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Beno?t MINISINI added an attachment: capture_20190710_195405.png From bugtracker at gambaswiki.org Wed Jul 10 22:40:01 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 20:40:01 GMT Subject: [Gambas-bugtracker] Bug #925: Desktopmime.fromfile().geticon does not identify executables In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.925&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/0c0b2b64faaaec84e92701bb1891c3b438c0c723. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Jul 10 23:12:38 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 21:12:38 GMT Subject: [Gambas-bugtracker] Bug #985: ide offers GTK3 when module are not installed or compiled In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.985&from=L21haW4- Comment #1 by Beno?t MINISINI: Done in commit https://gitlab.com/gambas/gambas/commit/8a4d713a4a8cac874fb900f955e37c0cf6f0216e. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Thu Jul 11 00:34:56 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 22:34:56 GMT Subject: [Gambas-bugtracker] Bug #1624: gb is in english Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1624&from=L21haW4- Michael ALTROGGE reported a new bug. Summary ------- gb is in english Type : Bug Priority : Medium Gambas version : 3.12 Product : GUI components Description ----------- hey benoit want to trade? i give printing and will get back german ??? System information ------------------ [System] Gambas=3.13.90 4362ebb (master) OperatingSystem=Linux Kernel=4.19.56-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=XFCE Theme=Qt5CTProxy Language=de_DE.utf8 Memory=6914M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.11 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1600.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2404.4 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.87.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.13.0 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CUDA_PATH=/opt/cuda DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xfce DISPLAY=:0.0 EDITOR=/usr/bin/nano GB_GUI=gb.qt5 GDMSESSION=xfce GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module HG=/usr/bin/hg HOME= LANG=de_DE.utf8 LC_ADDRESS=de_DE.UTF-8 LC_IDENTIFICATION=de_DE.UTF-8 LC_MEASUREMENT=de_DE.UTF-8 LC_MONETARY=de_DE.UTF-8 LC_NAME=de_DE.UTF-8 LC_NUMERIC=de_DE.UTF-8 LC_PAPER=de_DE.UTF-8 LC_TELEPHONE=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/cuda/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/918,unix/:/tmp/.ICE-unix/918 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=969 SSH_AUTH_SOCK=/tmp/ssh-PZ2RnWy07iCf/agent.968 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/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_CLASS=user XDG_SESSION_DESKTOP=xfce XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/gambas3 From bugtracker at gambaswiki.org Thu Jul 11 00:47:14 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 22:47:14 GMT Subject: [Gambas-bugtracker] Bug #1624: gb is in english In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1624&from=L21haW4- Comment #1 by Beno?t MINISINI: I don't understand a word. Is it spam? From bugtracker at gambaswiki.org Thu Jul 11 00:52:17 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 10 Jul 2019 22:52:17 GMT Subject: [Gambas-bugtracker] Bug #1624: gb is in english In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1624&from=L21haW4- Comment #2 by Michael ALTROGGE: gb is in english ... just four words and you understand not even one ??? From bugtracker at gambaswiki.org Thu Jul 11 08:29:55 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 11 Jul 2019 06:29:55 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Comment #9 by Carlo PANARA: Solved! In fact, the Gambas print font was selected on HP. Selecting Monospace,(as on Lenovo) everything is OK Thanks again From bugtracker at gambaswiki.org Thu Jul 11 14:21:16 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 11 Jul 2019 12:21:16 GMT Subject: [Gambas-bugtracker] Bug #1618: Print the code directly from the ide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1618&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Fri Jul 12 19:24:17 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 12 Jul 2019 17:24:17 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Carlo PANARA reported a new bug. Summary ------- Resize error Type : Bug Priority : Medium Gambas version : Master Product : Bugtracker Description ----------- During resize of a picturebox, but also of a button the X and Y properties become different from zero even if I move the lower right corner. I enclose an example. Everything works if I force X and Y to zero. I hope I explained myself! System information ------------------ [System] Gambas=3.13.90 fed1e209e (master) OperatingSystem=Linux Kernel=5.0.0-20-generic Architecture=x86_64 Distribution=Ubuntu 19.04 Desktop=UBUNTU:GNOME Theme=Fusion Language=it_IT.UTF-8 Memory=3862M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.9 GStreamer=libgstreamer-1.0.so.0.1590.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2404.4 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.85.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.12.2 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.qt5 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7100 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= 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/1607,unix/:/tmp/.ICE-unix/1607 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1733 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh 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_CLASS=user XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=2 XDG_SESSION_TYPE=x11 XDG_VTNR=2 XMODIFIERS=@im=ibus From bugtracker at gambaswiki.org Sat Jul 13 10:01:57 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 13 Jul 2019 08:01:57 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Comment #1 by Beno?t MINISINI: It works as expected. Me.X and Me.Y are the X, Y coordinates of the top-left corner of the window. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Sat Jul 13 10:30:23 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 13 Jul 2019 08:30:23 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Comment #2 by Carlo PANARA: have you tried the part of my program commented? when I resize the coordinates ME.x and ME.y become different from 0 (zero), even if I move only the lower right corner! From bugtracker at gambaswiki.org Sat Jul 13 10:30:49 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 13 Jul 2019 08:30:49 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Carlo PANARA added an attachment: After-Resize.png From bugtracker at gambaswiki.org Sat Jul 13 10:31:42 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 13 Jul 2019 08:31:42 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Carlo PANARA added an attachment: Before-Resize.png From bugtracker at gambaswiki.org Sat Jul 13 10:31:57 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 13 Jul 2019 08:31:57 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Carlo PANARA added an attachment: PictureBox-0.0.2.tar.gz From bugtracker at gambaswiki.org Sat Jul 13 10:39:53 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 13 Jul 2019 08:39:53 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Carlo PANARA changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sat Jul 13 21:24:43 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 13 Jul 2019 19:24:43 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Comment #3 by Tony MOREHEN: As Benoit alluded to earlier, you seem to be mixing up how X and Y coordinates work. Me.X and Me.Y are relative to the to your desktop screen. Unless your form is at the exact top-left corner of your screen, they will always be non-zero, PictureBox1.X and PictureBox1.Y are relative to your form's top left corner. As a result, assigning Me.X and Me.Y to PictureBox1.X and PictureBox1.Y sets those coordinates to non-zero values. Gambas is doing exactly what you code says to do. BTW, I find it preferable to avoid using Form_Resize in almost all cases. Instead, set your form's arrangement to Fill. Using the appropriate containers and Arrangements lets Gambas handle resize events automatically. Tony MOREHEN changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sat Jul 13 21:46:56 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 13 Jul 2019 19:46:56 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Comment #4 by Carlo PANARA: Thanks Tony for the reply. I believe that Me.x and Me.y are the coordinates of the Form, not the absolute ones of the desktop. I'm wrong? From bugtracker at gambaswiki.org Sat Jul 13 21:47:42 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 13 Jul 2019 19:47:42 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Carlo PANARA changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sat Jul 13 22:21:50 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 13 Jul 2019 20:21:50 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Comment #5 by Tony MOREHEN: In all cases, X and Y are relative to the parent of the control or form. For a top level window, like most forms, including yours, the parent is, effectively, the desktop or screen. There are special cases where the parent of a form can be another form (mdi, embedded programs). In fact, some Gambas controls are actually forms whose parent is your form. Tony MOREHEN changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sun Jul 14 07:18:27 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 14 Jul 2019 05:18:27 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Carlo PANARA changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sun Jul 14 23:51:35 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 14 Jul 2019 21:51:35 GMT Subject: [Gambas-bugtracker] Bug #1624: gb is in english In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1624&from=L21haW4- Comment #3 by Michael ALTROGGE: still in english except for the help section ... From bugtracker at gambaswiki.org Tue Jul 16 22:15:06 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 16 Jul 2019 20:15:06 GMT Subject: [Gambas-bugtracker] Bug #1507: Web Form Application Error - not starting In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1507&from=L21haW4- Comment #13 by Beno?t MINISINI: Is it better with commit https://gitlab.com/gambas/gambas/commit/2e2c1c3b5198ccfb8f2489779b361876c2979b8c ? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Tue Jul 16 22:17:44 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 16 Jul 2019 20:17:44 GMT Subject: [Gambas-bugtracker] =?utf-8?q?Bug_=231609=3A_Tab_sequence_proble?= =?utf-8?q?ms_during_scroll_of_menu_in_Project__=E2=86=92_properties=2E?= In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1609&from=L21haW4- Comment #5 by Beno?t MINISINI: The filter of the 'Components' tab does not grab the focus anymore in commit https://gitlab.com/gambas/gambas/commit/07398d8d821654f0872a70000f9a47a60cedf6b0, fixing your problem. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Jul 17 12:20:29 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 10:20:29 GMT Subject: [Gambas-bugtracker] Bug #1626: Possible bug in .List.Extract( ) Method of ListBox object Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1626&from=L21haW4- vuott VUOTT reported a new bug. Summary ------- Possible bug in .List.Extract( ) Method of ListBox object Type : Bug Priority : Medium Gambas version : Master Product : Unknown Description ----------- Hello, it seems that .List.Extract( ) Method of ListBox object does not work. System information ------------------ Linux Mint 19.1 Cinnamon 4.0.10 Linux kernel: 5.0.0-20-generic Processor: AMD E1-2500 APU with Radeon? HD Graphics ? 2 Memory: 5.3 GB Graphic card: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8240 / R3 Series] (prog-if 00 [VGA controller]) From bugtracker at gambaswiki.org Wed Jul 17 12:30:20 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 10:30:20 GMT Subject: [Gambas-bugtracker] Bug #1626: Possible bug in .List.Extract( ) Method of ListBox object In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1626&from=L21haW4- Comment #1 by Tobias BOEGE: This is deliberate. The List property of ListBox returns a *copy* of the internal string array, so any change you make is done to the copy. This is often done in Gambas to prevent code from outside of an object to mess with its internal state. If you extract elements from the List object directly, the object is not notified of a change being made to its data, so it won't update its GUI accordingly. You should assign the result of .List.Extract back into .List. Assignment to a property is something an object is notified of. You can imagine that there are other scenarios where objects want to only return value copies of their internal state. Basically anytime the object makes assumptions on and relies on the integrity of its state. Tobias BOEGE changed the state of the bug to: Invalid. From bugtracker at gambaswiki.org Wed Jul 17 12:50:27 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 10:50:27 GMT Subject: [Gambas-bugtracker] Bug #1624: gb is in english In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1624&from=L21haW4- Comment #4 by Michael ALTROGGE: 1. [shell] > locale -> LANG=de_DE.utf8 [shell] > gambas3 -> gb in english [shell] > gambas3.gambas -> gb in german [shell] > ls -l /usr/bin/gambas3* lrwxrwxrwx 1 root root 14 17. Jul 08:20 gambas3 -> gambas3.gambas -rwxr-xr-x 1 root root 6580025 17. Jul 08:20 gambas3.gambas 2. [shell] > export LANG=en_US.UTF-8 [shell] > gambas3 -> gb in german any ideas? From bugtracker at gambaswiki.org Wed Jul 17 12:52:24 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 10:52:24 GMT Subject: [Gambas-bugtracker] Bug #1624: gb is in english In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1624&from=L21haW4- Comment #5 by Michael ALTROGGE: 2. [shell] > export LANG=en_US.UTF-8 should read as 2. [shell] > export LANG=de_DE.UTF-8 From bugtracker at gambaswiki.org Wed Jul 17 13:02:28 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 11:02:28 GMT Subject: [Gambas-bugtracker] Bug #1624: gb is in english In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1624&from=L21haW4- Comment #6 by Tobias BOEGE: > [shell] > gambas3 -> gb in english > [shell] > gambas3.gambas -> gb in german Only idea is: what do `which gambas3` and `which gambas3.gambas` return? From bugtracker at gambaswiki.org Wed Jul 17 13:09:02 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 11:09:02 GMT Subject: [Gambas-bugtracker] Bug #1624: gb is in english In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1624&from=L21haW4- Comment #7 by Michael ALTROGGE: mnaltrogge / > which gambas3 /usr/bin/gambas3 mnaltrogge / > which gambas3.gambas /usr/bin/gambas3.gambas From bugtracker at gambaswiki.org Wed Jul 17 13:34:09 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 11:34:09 GMT Subject: [Gambas-bugtracker] Bug #1624: gb is in english In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1624&from=L21haW4- Comment #8 by Michael ALTROGGE: solution: rm /usr/bin/gambas3 ln -s gambas3.gambas gambas3 but i must not understand what happened after the print update ... Michael ALTROGGE changed the state of the bug to: Working. From bugtracker at gambaswiki.org Wed Jul 17 13:41:29 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 11:41:29 GMT Subject: [Gambas-bugtracker] Bug #1507: Web Form Application Error - not starting In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1507&from=L21haW4- Comment #14 by Michael ALTROGGE: sorry but no it is not better ... creating a new web form project (not translateable) Console says: gb.httpd: bind 0.0.0.0 - Address already in use gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? changing to translateable and language to en_US console says: gb.httpd: bind 0.0.0.0 - Address already in use gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? changing language to de_DE (and translate the items) console says_ gb.httpd: bind 0.0.0.0 - Address already in use gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? gbx3: warning: cannot switch to language 'en_US': No such file or directory. Did you install the correspondin g locale packages? with the web form still in english ... Michael ALTROGGE changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Wed Jul 17 13:43:12 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 11:43:12 GMT Subject: [Gambas-bugtracker] Bug #1507: Web Form Application Error - not starting In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1507&from=L21haW4- Comment #15 by Michael ALTROGGE: mnaltrogge?/???locale -a C de_DE.utf8 en_US.utf8 fr_FR.utf8 POSIX From bugtracker at gambaswiki.org Wed Jul 17 14:21:33 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 12:21:33 GMT Subject: [Gambas-bugtracker] Bug #1507: Web Form Application Error - not starting In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1507&from=L21haW4- Comment #16 by Beno?t MINISINI: What does your browser send as "Accept-Language" HTTP header? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Wed Jul 17 20:35:07 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 17 Jul 2019 18:35:07 GMT Subject: [Gambas-bugtracker] Bug #1507: Web Form Application Error - not starting In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1507&from=L21haW4- Comment #17 by Michael ALTROGGE: about:config -> intl.accept_languages;de, en-US, en Michael ALTROGGE changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Thu Jul 18 02:19:26 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 18 Jul 2019 00:19:26 GMT Subject: [Gambas-bugtracker] Bug #1507: Web Form Application Error - not starting In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1507&from=L21haW4- Comment #18 by Beno?t MINISINI: OK, logical. My algorithm takes the first language having a country in the list provided by the browser. The problem is that there is no standard way (as far as I know) to list the current installed locales, so that we can find the one that matches the Accept-Language the best. And running "locale -a" at each request is not a good idea. We could run it once if we store the result in the session, but having a session is not mandatory. Or maybe using a cookie? From bugtracker at gambaswiki.org Sun Jul 21 18:00:54 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 21 Jul 2019 16:00:54 GMT Subject: [Gambas-bugtracker] Bug #1627: Bug on modal persistent dialogs with Qt5 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1627&from=L21haW4- Fabien BODARD reported a new bug. Summary ------- Bug on modal persistent dialogs with Qt5 Type : Bug Priority : Medium Gambas version : Master Product : QT5 component Description ----------- I have a problem only on Qt5 when open -> close -> Open a new time a persistent dialog... It look like a freezing. I've seen than in the IDE on the option dial and project property dialog too. At the second opening the windows take time to open and the content is not diplayed. System information ------------------ [System] Gambas=3.13.90 6c7977163 (master) OperatingSystem=Linux Kernel=4.19.56-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=KDE5 Theme=Breeze Language=fr_FR.UTF-8 Memory=7862M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.0.0 Curl=libcurl.so.4.1.0 Curl=libcurl.so.4.2.0 Curl=libcurl.so.4.3.0 Curl=libcurl.so.4.4.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.11 GStreamer=libgstreamer-1.0.so.0.1600.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2405.4 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.87.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.12.4 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] APPMENU_DISPLAY_BOTH=1 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK_MODULES=canberra-gtk-module HOME= KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8 LC_ADDRESS=fr_FR.UTF-8 LC_IDENTIFICATION=fr_FR.UTF-8 LC_MEASUREMENT=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8 LC_NAME=fr_FR.UTF-8 LC_NUMERIC=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 LC_TELEPHONE=fr_FR.UTF-8 LC_TIME=fr_FR.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/971,unix/:/tmp/.ICE-unix/971 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/bin/kwrapper5 From bugtracker at gambaswiki.org Mon Jul 22 22:57:42 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 22 Jul 2019 20:57:42 GMT Subject: [Gambas-bugtracker] Bug #1628: No overflow !? Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1628&from=L21haW4- juan JUAN reported a new bug. Summary ------- No overflow !? Type : Bug Priority : Low Gambas version : Master Product : Language Description ----------- Goodnight. Apparently the overflow with Long variables is not well managed: Public Sub Main() Dim a As Long Dim b As Long Dim c As Long a = &H7FFFFFFFFFFFFFFF '2^63 - 1 = 9223372036854775807 b = 1 c = a + b Print c c = a - b Print c a = 2 ^ 62 b = 2 c = a * b Print c End Output: -9223372036854775808 9223372036854775806 -9223372036854775808 In the first and third case it should be overflow. System information ------------------ [System] Gambas=3.13 OperatingSystem=Linux Kernel=4.19.0-5-amd64 Architecture=x86_64 Distribution=debian 10.0 Desktop=KDE5 Theme=Oxygen Language=es_ES.UTF-8 Memory=1993M [Libraries] Cairo=libcairo.so.2.11600.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.11 GStreamer=libgstreamer-1.0.so.0.1404.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2404.1 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.82.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.11.3 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 DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=es_ES.UTF-8 LANGUAGE=es_ES.UTF-8 LOGNAME= MATHEMATICA_HOME=/usr/local/Wolfram/Mathematica/10.0 PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PWD= QT_ACCESSIBILITY=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1258,unix/:/tmp/.ICE-unix/1258 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1193 SSH_AUTH_SOCK=/tmp/ssh-wCApqhyT3nCR/agent.1161 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=Adwaita XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=3 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at gambaswiki.org Mon Jul 22 23:37:53 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 22 Jul 2019 21:37:53 GMT Subject: [Gambas-bugtracker] Bug #1628: No overflow !? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1628&from=L21haW4- Comment #1 by Tobias BOEGE: To me it seems like it does overflow, as you want. What else did you expect? 9223372036854775807 + 1 overflows to -9223372036854775808 just like 0000000000000000127 + 1 overflows to -0000000000000000128 on an 8-bit wide integer. Note the minus. Longs are signed and overflow accordingly. From bugtracker at gambaswiki.org Tue Jul 23 01:31:13 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 22 Jul 2019 23:31:13 GMT Subject: [Gambas-bugtracker] Bug #1628: No overflow !? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1628&from=L21haW4- Comment #2 by juan JUAN: Thanks for your comment. The idea that I have is that an overflow would be an exception and result in a signed infinity. regards From bugtracker at gambaswiki.org Thu Jul 25 11:31:35 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 25 Jul 2019 09:31:35 GMT Subject: [Gambas-bugtracker] Bug #1625: Resize error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1625&from=L21haW4- Comment #6 by Carlo PANARA: ... I'm not entirely convinced! Carlo PANARA changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Thu Jul 25 20:43:13 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 25 Jul 2019 18:43:13 GMT Subject: [Gambas-bugtracker] Bug #1629: segmentation fault with gb.uncompress Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1629&from=L21haW4- Gen BRAGA reported a new bug. Summary ------- segmentation fault with gb.uncompress Type : Bug Priority : Medium Gambas version : Master Product : Development Environment Description ----------- When using gb.compress.zlib sometimes I got a segmentation fault when uncompressing a string, using code below. Attached the backtrace. Public Function Descomprime(Mensagem As String, Optional Algoritmo As String) As String Dim zip As New Uncompress If _Debug Then Debug "Descomprimindo..." Dim sBuffer As String If IsMissing(Algoritmo) Then zip.Type = "zlib" Else zip.Type = Algoritmo Print "Tamanho da mensagem compactada = ", Mensagem.Len Try sBuffer = zip.String(Mensagem) If Error Then If _Debug Then Debug "Erro de descompress?o... Mensagem comprimida? Processando mensagem sem compress?o." sBuffer = Mensagem Endif Return sBuffer End - Regards System information ------------------ [System] Gambas=3.13.90 6c79771 (master) OperatingSystem=Linux Kernel=4.4.0-154-generic Architecture=x86_64 Distribution=Ubuntu 16.04.6 LTS Desktop=UNITY Theme=Gtk Language=pt_BR.UTF-8 Memory=7896M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 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 OpenGL=libGL.so.1.7.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 From bugtracker at gambaswiki.org Fri Jul 26 14:03:00 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 26 Jul 2019 12:03:00 GMT Subject: [Gambas-bugtracker] Bug #1629: segmentation fault with gb.uncompress In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1629&from=L21haW4- Comment #1 by Gen BRAGA: It seems the problem is elsewhere. To fill "Mensagem" parameter I has used an byte array converted to string, which sometimes contais 0x00 (generated from the compression engine), like: a = [65, 00, 65, 65, 65] b = a.tostring() So I tracked the problem down to the ToString method from Byte[] class. I know gambas strings are null terminated From bugtracker at gambaswiki.org Fri Jul 26 14:05:01 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 26 Jul 2019 12:05:01 GMT Subject: [Gambas-bugtracker] Bug #1629: segmentation fault with gb.uncompress In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1629&from=L21haW4- Comment #2 by Gen BRAGA: [continuing...] It seems the problem is elsewhere. To fill "Mensagem" parameter I has used an byte array converted to string, which sometimes contais 0x00 (generated from the compression engine), like: a = [65, 00, 65, 65, 65] b = a.tostring() print b <--- A only, opposite to A(something)AAA So I tracked the problem down to the ToString method from Byte[] class. I know gambas strings are null terminated but maybe there could be an workaround. From bugtracker at gambaswiki.org Sat Jul 27 16:41:57 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 27 Jul 2019 14:41:57 GMT Subject: [Gambas-bugtracker] Bug #1628: No overflow !? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1628&from=L21haW4- Comment #3 by Beno?t MINISINI: C integer arithmetic does not generate infinity nor overflow, so Gambas has to follow the same behavior (or do the checks itself, which would lead to abyssal performances). Maybe you come from a Javascript background where all numbers are floats? Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Sat Jul 27 16:44:25 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 27 Jul 2019 14:44:25 GMT Subject: [Gambas-bugtracker] Bug #1627: Bug on modal persistent dialogs with Qt5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1627&from=L21haW4- Comment #1 by Beno?t MINISINI: Strange. I can't reproduce that behavior. I open the dialog a lot of times, and I have no slow down, no freezing. Everything is normal. From bugtracker at gambaswiki.org Sat Jul 27 16:52:29 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 27 Jul 2019 14:52:29 GMT Subject: [Gambas-bugtracker] Bug #1629: segmentation fault with gb.uncompress In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1629&from=L21haW4- Comment #3 by Beno?t MINISINI: Please provide a small project that reproduces the crash. Gambas strings are not necessarily null terminated. They are a combination of a pointer and a length. I don't know why Byte[].ToString() extracts the string up to the first null byte. It's a stupid idea of mine, and even the documentation says the contrary. Anyway it should not lead to a crash at all. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sat Jul 27 17:35:51 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 27 Jul 2019 15:35:51 GMT Subject: [Gambas-bugtracker] Bug #1627: Bug on modal persistent dialogs with Qt5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1627&from=L21haW4- Comment #2 by Gianluigi GRADASCHI: It doesn't happen to me either, everything works well with both gtk+ (2 and 3) and qt (4 and 5). Gambas=3.13.90 6c79771 (master) OperatingSystem=Linux Kernel=4.15.0-55-generic Architecture=x86_64 Distribution=Ubuntu 18.04.2 LTS Desktop=UBUNTU:GNOME Theme=Fusion From bugtracker at gambaswiki.org Sat Jul 27 18:42:11 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 27 Jul 2019 16:42:11 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Comment #7 by Beno?t MINISINI: Can you post your project? I still don't understand why it uses a QT component by default. When using gb.gui component, the rule is the following: - If $GB_GUI is defined with the component to use, use it. - Otherwise if $KDE_FULL_SESSION is defined, then use one of the QT components. - Otherwise, use one of the GTK components. So you should not use a QT component by default. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at gambaswiki.org Sat Jul 27 21:34:09 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 27 Jul 2019 19:34:09 GMT Subject: [Gambas-bugtracker] Bug #1628: No overflow !? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1628&from=L21haW4- Comment #4 by juan: You're right: I was considering the integers as if they were floats. I fully understand what you say. Thank you. From bugtracker at gambaswiki.org Mon Jul 29 01:00:55 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 28 Jul 2019 23:00:55 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Comment #8 by Mart?n BELMONTE: There are two themes 1) Use of gb.qt by default instead gb.gui Since gnome a few years ago I go from gtk 2 to 3 I started using mate or xfce usually with ubuntu or some derivative of it. in gambas I created the projects as gb.gui and, as you say, everything fit alone. I have always tried to use gb.gui but unfortunately in repeated occasions this gave errors with some components and there was no other than to use by force gb.qt which is the advice that is being given in the gambas-es.org forum "If you want to it works fine uses QT ". Apparently this is due to a feeling that QT is better supported or better maintained in gambas development. 2) Use of GTK3 by default instead of gb.gui A few months ago I use a distro that has gnome 3 (Pop_OS!) That aesthetically is very well achieved. But the best aspect of the controls is achieved by setting gb.gtk3 by default. I have no idea why this happens. I leave a test project with a form without code and some images captured from the screen for clarity. Mart?n BELMONTE changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Mon Jul 29 01:01:17 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 28 Jul 2019 23:01:17 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Mart?n BELMONTE added an attachment: Captura de pantalla de 2019-07-29 00-37-22.png From bugtracker at gambaswiki.org Mon Jul 29 01:01:26 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 28 Jul 2019 23:01:26 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Mart?n BELMONTE added an attachment: Captura de pantalla de 2019-07-29 00-37-56.png From bugtracker at gambaswiki.org Mon Jul 29 01:01:33 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 28 Jul 2019 23:01:33 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Mart?n BELMONTE added an attachment: Captura de pantalla de 2019-07-29 00-38-26.png From bugtracker at gambaswiki.org Mon Jul 29 01:02:15 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 28 Jul 2019 23:02:15 GMT Subject: [Gambas-bugtracker] Bug #1621: ComboBox .Border = False not working ? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1621&from=L21haW4- Mart?n BELMONTE added an attachment: ejemplo-controles-gtk-qt-0.0.1.tar.gz From bugtracker at gambaswiki.org Mon Jul 29 14:09:29 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 29 Jul 2019 12:09:29 GMT Subject: [Gambas-bugtracker] Bug #1629: segmentation fault with gb.uncompress In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1629&from=L21haW4- Comment #4 by Gen BRAGA: There are two issues indeed. One about Byte[].ToString(), which can be worked around by passing the array size as parameter in the ToString method. Doing so makes the destination string get the correct size besides the intermediate null bytes. But i think it should not stop at the first null byte, when not passing anything as parameters. The second issue, about String() method from gb.uncompress class. This one I couldnt track down, since sometimes it returns "invalid compressed string" or simply raise a segmentation fault, depends upon the size of the compressed string... I think i didnt make it clear enough, so here goes the sample code anyway. ------------------------------ ' Gambas class file 'Using the line below, it works but still got a shorter string when calling byte[].toString() at line "sTemp2 = aCompressed.ToString()" because the null bytes Public sInitial As String = "The quick brown fox jumps over the lazy dog, The quick brown fox jumps over the lazy dog, The quick brown fox jumps over the lazy dog" 'Using the line below, got segfault both ways 'Public sInitial As String = "The quick brown fox jumps over the lazy dog, The quick brown fox jumps over the lazy dog, The quick brown fox jumps over the lazy dog,The quick brown fox jumps over the lazy dog, The quick brown fox jumps over the lazy dog, The quick brown fox jumps over the lazy dog," Public sCompressed As String Public sTemp1 As String Public sTemp2 As String Public aCompressed As New Byte[] Public zip As New Compress Public unzip As New UnCompress Public Sub Form_Open() zip.Type = "bzlib2" unzip.Type = "bzlib2" 'string to compressed string, then to byte array. sCompressed = zip.String(sInitial, zip.max, False) aCompressed = Byte[].FromString(sCompressed) sTemp1 = aCompressed.ToString(0, aCompressed.Length) ' this one works ok sTemp2 = aCompressed.ToString() ' will be a shorter string than it should be Print unzip.String(sTemp1) Print unzip.String(sTemp2) End Gen BRAGA changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Mon Jul 29 14:11:49 2019 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 29 Jul 2019 12:11:49 GMT Subject: [Gambas-bugtracker] Bug #1629: segmentation fault with gb.uncompress In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1629&from=L21haW4- Gen BRAGA added an attachment: testeFromString-0.0.1.tar.gz