[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uncomfortable console warnings


Well, the program itself doesn't have a trayIcon, but it does require
another shrimp program to be running, which connects to the company's VPN.

If you're right, all the programs will start generating these warnings...
what a mess.

Best Regards

El mié, 19 mar 2025 a las 10:28, Bruce Steers (<bsteers4@xxxxxxxxx>)
escribió:

> I  think The QT warnings is TrayIcon , does your program have a TrayIcon?
> If yes I reported this a while ago.
>
> BruceS
>
> On Wed, 19 Mar 2025 at 07:17, Jorge Carrión <shordi@xxxxxxxxx> wrote:
>
>> Hi everyone,
>>
>> For the past few days, I've been receiving many uncomfortable warnings in
>> the console from Qt and MySQL.
>> The Qt warnings are: "Using QCharRef with an index pointing outside the
>> valid range of a QString. The corresponding behavior is deprecated, and
>> will be changed in a future version of Qt." It occurs frequently, and I
>> haven't been able to pinpoint the exact cause. I think it has something to
>> do with the use of the DrawingArea... but I'm not sure.
>>
>> I'm using Qt5 because with Qt6 I get a lot of errors, and there are
>> applications that I can't run without any warning or message. They just
>> freeze.
>>
>> The MySQL warnings are: "WARNING: MYSQL_OPT_RECONNECT is deprecated and
>> will be removed in a future version." and they occur when connecting to a
>> database.
>>
>> Am I the only one experiencing this?
>>
>> Best regards.
>>
>> This is my environment:
>> [System]
>> Gambas=3.20.2 972c02e (master)
>> OperatingSystem=Linux
>> Distribution=Linux Mint 22.1 (Xia)
>> Kernel=6.8.0-55-generic
>> Architecture=x86_64
>> Cores=4
>> Memory=31858M
>> Language=es_ES.UTF-8
>> Platform=x11
>> Desktop=CINNAMON
>> DesktopResolution=96
>> DesktopScale=8
>> WidgetTheme=proxy
>> Font=Ubuntu,11
>> DarkTheme=False
>> [Programs]
>> dpkg=Programa de gestión de paquetes de Debian `dpkg' versión 1.22.6
>> (amd64).
>> gcc=gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
>> git=git version 2.43.0
>> msgmerge=msgmerge (GNU gettext-tools) 0.21
>> rpmbuild=RPM version 4.18.2
>> trans= [1mTranslate Shell       0.9.7.1
>> [Libraries]
>> Cairo=libcairo.so.2.11800.0
>> Curl=libcurl.so.4.8.0
>> DBus=libdbus-1.so.3.32.4
>> GDK2=libgdk-x11-2.0.so.0.2400.33
>> GDK3=libgdk-3.so.0.2409.32
>> GStreamer=libgstreamer-1.0.so.0.2402.0
>> GTK+2=libgtk-x11-2.0.so.0.2400.33
>> GTK+3=libgtk-3.so.0.2409.32
>> OpenGL=libGL.so.1.7.0
>> Poppler=libpoppler.so.134.0.0
>> QT5=libQt5Core.so.5.15.13
>> QT6=libQt6Core.so.6.4.2
>> RSvg=librsvg-2.so.2.50.0
>> SDL=libSDL2-2.0.so.0.3000.0
>> SQLite3=libsqlite3.so.0.8.6
>> [Environment]
>> CINNAMON_VERSION=6.4.8
>> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
>> DESKTOP_SESSION=cinnamon
>> DISPLAY=:0
>> GB_GUI=gb.qt6
>> GDMSESSION=cinnamon
>> GDM_LANG=es_ES
>> GIO_LAUNCHED_DESKTOP_FILE=<home>/.local/share/applications/Gambas.desktop
>> GIO_LAUNCHED_DESKTOP_FILE_PID=7143
>> GJS_DEBUG_OUTPUT=stderr
>> GJS_DEBUG_TOPICS=JS ERROR;JS LOG
>> GNOME_DESKTOP_SESSION_ID=this-is-deprecated
>> GNOME_KEYRING_CONTROL=/run/user/1000/keyring
>> GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
>> GTK3_MODULES=xapp-gtk3-module
>> GTK_MODULES=gail:atk-bridge
>> HOME=<home>
>> LANG=es_ES.UTF-8
>> LANGUAGE=es_ES.UTF-8
>> LOGNAME=<user>
>>
>> PATH=/opt/pycharm-community-2024.3.2/bin:<home>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
>> PWD=<home>
>> QT_ACCESSIBILITY=1
>> QT_LOGGING_RULES=*.debug=false
>> QT_QPA_PLATFORMTHEME=qt5ct
>>
>> SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1240,unix/<hostname>:/tmp/.ICE-unix/1240
>> SHELL=/bin/bash
>> SHLVL=0
>> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
>> TZ=:/etc/localtime
>> USER=<user>
>> XAUTHORITY=<home>/.Xauthority
>> XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
>> XDG_CURRENT_DESKTOP=X-Cinnamon
>>
>> XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
>> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
>> XDG_RUNTIME_DIR=/run/user/1000
>> XDG_SEAT=seat0
>> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
>> XDG_SESSION_CLASS=user
>> XDG_SESSION_DESKTOP=cinnamon
>> XDG_SESSION_ID=c1
>> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
>> XDG_SESSION_TYPE=x11
>> XDG_VTNR=7
>> force_s3tc_enable=true
>>
>>
>>

References:
Uncomfortable console warningsJorge Carrión <shordi@xxxxxxxxx>
Re: Uncomfortable console warningsBruce Steers <bsteers4@xxxxxxxxx>