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

[Gambas-bugtracker] Bug #3193: The new Dbus _NormalizeAppId code causes problems.


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

Tony MOREHEN reported a new bug.

Summary
-------

The new Dbus _NormalizeAppId code causes problems.

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


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

_NormalizeAppId sets application names to all lowercase.  Previous normalization code allowed camel case.  Dbus specifications allow camelcase.

I have an app that registers a camelcase dbus object.  Works fine but the actual registered object is lowercase.

A second instance of the app looks for the camelcase object.  Can't find it. It tries to register its camelcase object and crashes because unknown to itself it actually tries to register a lowercase object.

I understand that _NormalizeAppId handles malformed names better, but please let it keep camelcase names.


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

[System]
Gambas=3.22
OperatingSystem=Linux
Distribution=Manjaro Linux 
Kernel=6.18.26-1-MANJARO
Architecture=x86_64
Cores=16
Memory=61165M
Language=en_CA.utf8
Platform=x11
Desktop=XFCE
DesktopResolution=96
DesktopScale=9
WidgetTheme=breeze-dark
Font=Monospace,12
DarkTheme=True
[Programs]
clang=clang version 22.1.3
gcc=gcc (GCC) 15.2.1 20260209
git=git version 2.54.0
msgmerge=msgmerge (GNU gettext-tools) 1.0
[Libraries]
Cairo=libcairo.so.2.11804.4
Curl=libcurl.so.4.8.0
DBus=libdbus-1.so.3.38.3
GDK3=libgdk-3.so.0.2420.32
GStreamer=libgstreamer-1.0.so.0.2802.0
GTK+3=libgtk-3.so.0.2420.32
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.159.0.0
QT5=libQt5Core.so.5.15.18
QT6=libQt6Core.so.6.11.0
RSvg=librsvg-2.so.2.62.1
SDL=libSDL2-2.0.so.0.3200.66
SQLite3=libsqlite3.so.3.53.0
[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
DESKTOP_SESSION=gbde
DISPLAY=:0
EDITOR=/usr/bin/micro
GB_GUI=gb.gtk3
GDMSESSION=gbde
GDM_LANG=en_CA.utf8
GTK2_RC_FILES=<home>/.gtkrc-2.0
GTK3_MODULES=xapp-gtk3-module:xapp-gtk3-module
GTK_MODULES=canberra-gtk-module:canberra-gtk-module
GTK_OVERLAY_SCROLLING=0
GTK_THEME=Breeze-Dark
HOME=<home>
LANG=en_CA.utf8
LANGUAGE=en_CA.utf8
LC_ADDRESS=en_CA.UTF-8
LC_IDENTIFICATION=en_CA.UTF-8
LC_MEASUREMENT=en_CA.UTF-8
LC_MONETARY=en_CA.UTF-8
LC_NAME=en_CA.UTF-8
LC_NUMERIC=en_CA.UTF-8
LC_PAPER=en_CA.UTF-8
LC_TELEPHONE=en_CA.UTF-8
LC_TIME=en_CA.UTF-8
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MOTD_SHOWN=pam
PATH=<home>/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=<home>
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=gtk2
SHELL=/bin/bash
SHLVL=0
TZ=:/etc/localtime
USER=<user>
VISUAL=/usr/bin/gbTE
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=gbde
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----