** Description changed: + [ Impact ] + Ubuntu dock doesn't work when Turkish language is selected. - Issue on dash-to-dock's github: https://github.com/micheleg/dash-to- - dock/issues/1687 - + Issue on dash-to-dock's github: https://github.com/micheleg/dash-to-dock/issues/1687 Ubuntu version: Ubuntu 22.04 LTS gnome-shell-extension-ubuntu-dock version: 72~ubuntu5 + + + [ Test case ] + - Run ubuntu session + - Ubuntu dock should be visible on a screen edge + + Alternatively: + + Save this test case in a file (i.e. /tmp/test.js): + + const { GLib, GObject } = imports.gi; + const ImplicitProp = GObject.registerClass({ + Properties: { + "prop-int": GObject.ParamSpec.uint( + "prop-int", "prop-int", "prop-int", + GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY, + 0, GLib.MAXUINT32, 55), + }, + }, class DashToDock extends GObject.Object { }); + if (new ImplicitProp().propInt === undefined) + throw new Error("Missing property") + print('All good'); + + In a terminal run: + LC_ALL=tr_TR gjs /tmp/test.js + + The script should work without throwing any error. + + [ Regression potential ] + + Implicit properties on GJS may be wrongly computed, and further objects + could have undefined properties.
** Tags added: rls-jj-tracking -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in Ubuntu. https://bugs.launchpad.net/bugs/1969838 Title: Ubuntu-dock does not work when using Turkish Language Status in Dash to dock: Unknown Status in gjs package in Ubuntu: In Progress Status in gnome-shell-extension-ubuntu-dock package in Ubuntu: Invalid Bug description: [ Impact ] Ubuntu dock doesn't work when Turkish language is selected. Issue on dash-to-dock's github: https://github.com/micheleg/dash-to-dock/issues/1687 Ubuntu version: Ubuntu 22.04 LTS gnome-shell-extension-ubuntu-dock version: 72~ubuntu5 [ Test case ] - Run ubuntu session - Ubuntu dock should be visible on a screen edge Alternatively: Save this test case in a file (i.e. /tmp/test.js): const { GLib, GObject } = imports.gi; const ImplicitProp = GObject.registerClass({ Properties: { "prop-int": GObject.ParamSpec.uint( "prop-int", "prop-int", "prop-int", GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY, 0, GLib.MAXUINT32, 55), }, }, class DashToDock extends GObject.Object { }); if (new ImplicitProp().propInt === undefined) throw new Error("Missing property") print('All good'); In a terminal run: LC_ALL=tr_TR gjs /tmp/test.js The script should work without throwing any error. [ Regression potential ] Implicit properties on GJS may be wrongly computed, and further objects could have undefined properties. To manage notifications about this bug go to: https://bugs.launchpad.net/dash-to-dock/+bug/1969838/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp