** Description changed:

- If i try to open "gnome-shell-extension-desktop-icons-ng" to configure
- through the extension manager this show this error:
+ [Impact]
+ 
+ Trying to open "gnome-shell-extension-desktop-icons-ng" to configure
+ through the extension manager shows this error:
  
  "
  Error: destroy() breaks tracking open dialogs, use close() if you must
  
  Stack trace:
-   
destroy@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:63:13
-   
fillPreferencesWindow/<@file:///usr/share/gnome-shell/extensions/[email protected]/prefs.js:37:50
-   
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:141:41
-   
_init/<@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:29:31
-   
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
+   
destroy@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:63:13
+   
fillPreferencesWindow/<@file:///usr/share/gnome-shell/extensions/[email protected]/prefs.js:37:50
+   
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:141:41
+   
_init/<@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:29:31
+   
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  "
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gnome-shell-extension-desktop-icons-ng 46+really47.0.9-1
  ProcVersionSignature: Ubuntu 6.8.0-24.24-generic 6.8.4
  Uname: Linux 6.8.0-24-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Apr 12 07:28:10 2024
  InstallationDate: Installed on 2024-04-08 (4 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240408)
  PackageArchitecture: all
  ProcEnviron:
-  LANG=es_ES.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=<set>
+  LANG=es_ES.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
  SourcePackage: gnome-shell-extension-desktop-icons-ng
  UpgradeStatus: No upgrade log present (probably fresh install)
+ 
+ The patch is as simple as replace the `destroy()` call with `close()`,
+ as specified in the error message.
+ 
+ [Test plan]
+ 
+ * Install `gnome-extensions-app` and open it
+ * In the `Desktop Icons NG` entry, press the three dots button to show the 
extra options, and click on `Preferences`.
+ * The extension app will show that error.
+ 
+ [ Where problems could occur ]
+ 
+ The only problem that maybe could occur is, in the worst case, that the
+ element isn't fully destroyed at the end of its lifetime, thus adding a
+ little extra memory consumption until the `Preferences` are opened
+ again.

** Changed in: gnome-shell-extension-desktop-icons-ng (Ubuntu Noble)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061070

Title:
  gnome-shell-extension-desktop-icons-ng: Error: destroy() breaks...

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell-extension-desktop-icons-ng/+bug/2061070/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to