Results 1 to 8 of 8

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

  1. #1
    Join Date
    Sep 2012
    Beans
    49

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

    If i try to open "gnome-shell-extension-desktop-icons-ng" through the extension manager this show the error:

    Error: destroy() breaks tracking open dialogs, use close() if you must

    Stack trace:
    destroy@resource:///org/gnome/Shell/...PrefsDialog.js:63:13
    fillPreferencesWindow/<@file:///usr/share/gnome-shell/extensions/ding@rastersoft.com/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

    https://bugs.launchpad.net/ubuntu/+s...g/+bug/2061070

  2. #2
    Join Date
    Oct 2008
    Location
    Rezzoaglio (GE) Italy
    Beans
    692
    Distro
    Ubuntu Development Release

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

    gnome-shell-extension-desktop-icons-ng is already installed in Ubuntu 24.04
    Code:
    corrado@corrado-n2-nn-0412:~$ apt policy gnome-shell-extension-desktop-icons-ng
    gnome-shell-extension-desktop-icons-ng:
      Installed: 46+really47.0.9-1
      Candidate: 46+really47.0.9-1
      Version table:
     *** 46+really47.0.9-1 500
            500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
            500 http://archive.ubuntu.com/ubuntu noble/main i386 Packages
            100 /var/lib/dpkg/status
    corrado@corrado-n2-nn-0412:~$

  3. #3
    Join Date
    Sep 2012
    Beans
    49

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

    Yes, but i if open the gnome-shell-extension-manager--->preferences extensions show the error. Attached screenshot.
    Attached Images Attached Images

  4. #4
    Join Date
    Sep 2012
    Beans
    49

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

    The issue


    Error: destroy() breaks tracking open dialogs, use close() if you must

    Stack trace:
    destroy@resource:///org/gnome/Shell/...PrefsDialog.js:63:13
    fillPreferencesWindow/<@file:///usr/share/gnome-shell/extensions/ding@rastersoft.com/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
    Attached Images Attached Images

  5. #5
    Join Date
    Sep 2006
    Beans
    1,956
    Distro
    Ubuntu 24.04 Noble Numbat

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

    Hello,

    Quote Originally Posted by hectorsales View Post
    The issue
    ditto.

    Regards!

  6. #6
    Join Date
    Aug 2009
    Beans
    1,327
    Distro
    Ubuntu Development Release

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

    Could someone affected by this issue also report it to https://gitlab.com/rastersoft/desktop-icons-ng/-/issues ?

  7. #7
    Join Date
    Sep 2012
    Beans
    49

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


  8. #8
    Join Date
    Sep 2012
    Beans
    49

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

    Quote Originally Posted by hectorsales View Post
    Replace the line:

    Code:
    window.connect_after('show', ()=>{window.destroy();});
    by

    Code:
    window.connect_after('show', ()=>{window.close();});
    in the file /usr/share/gnome-shell/extensions/ding@rastersoft.com/prefs.js

    https://gitlab.com/rastersoft/deskto...e82f19e69ab7dd

    works for me!!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •