mzur / gnome-shell-wsmatrix

GNOME shell extension to arrange workspaces in a two-dimensional grid with workspace thumbnails
GNU General Public License v3.0
456 stars 58 forks source link

Fix drag and drop and select of workspace thumbnails in overview #270

Open mzur opened 8 months ago

mzur commented 8 months ago

Resolves https://github.com/mzur/gnome-shell-wsmatrix/issues/177

mzur commented 2 months ago

Sorry for the late reply. Could you please run journalctl /usr/bin/gnome-shell and try to spot the error message there? It should give an indication from which file the error was thrown.

Francewhoa commented 2 months ago

@mzur :) Thanks for both your reply and contribution to WSM :) I'll try. Then post the result here.

Francewhoa commented 2 months ago

@mzur Done

14:44:25 gnome-character: JS LOG: Characters Application exiting 14:44:22 gnome-shell: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed 14:44:21 gnome-logs: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed 14:44:21 dbus-daemon: [session uid=1000 pid=2923] Successfully activated service 'org.gnome.Logs' 14:44:21 gnome-shell: Object .Gjs_activitiesworkspacename_ahmafi_ir_extension_ActivitiesButton (0x55fb10f508f0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. 14:44:21 dbus-daemon: [session uid=1000 pid=2923] Activating service name='org.gnome.Logs' requested by ':1.21' (uid=1000 pid=3459 comm="/usr/bin/gnome-shell") 14:44:18 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’objet n’existe pas à l’emplacement « /org/gnome/Terminal/SearchProvider » 14:44:15 gnome-character: JS LOG: Characters Application started 14:44:15 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’objet n’existe pas à l’emplacement « /org/gnome/Terminal/SearchProvider » 14:44:15 dbus-daemon: [session uid=1000 pid=2923] Successfully activated service 'org.gnome.Calculator.SearchProvider' 14:44:15 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’objet n’existe pas à l’emplacement « /org/gnome/Terminal/SearchProvider » 14:44:15 dbus-daemon: [session uid=1000 pid=2923] Successfully activated service 'org.gnome.clocks' 14:44:14 gnome-shell: Object .Gjs_activitiesworkspacename_ahmafi_ir_extension_ActivitiesButton (0x55fb10f508f0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. 14:43:32 gnome-character: JS LOG: Characters Application exiting 14:43:24 gnome-shell: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed 14:43:24 dbus-daemon: [session uid=1000 pid=2923] Successfully activated service 'org.gnome.Shell.Extensions' 14:43:24 systemd: Started app-flatpak-com.mattjakeman.ExtensionManager-6324.scope.


Below is the same as above. But with detailed steps if you're interested in those.


Steps

  1. This video shows all the steps below https://vk.com/video-225763421_456239018

  2. Used gnome-shell-wsmatrix 38, replaced only the file thumbnailsBox.js with commit cb29bcc

  3. Deactivated all GNOME extensions. Except gnome-shell-wsmatrix 38 with commit cb29bcc

  4. Fresh GNOME session

  5. Using Extension Manager 0.5.0 try to activate gnome-shell-wsmatrix It can't be activated. The number 1 in this screenshot up above shows this challenge.

    • Note to self. In the log below, I did this action right after 14:44:00 (2:44 pm)
  6. I tried journalctl /usr/bin/gnome-shell but it is hard to find and export any valuable information from the result. So I used the Debian built-in GNOME Logs. Which has a very easy export button. Events are listed from most recent to oldest. Time format is 24 hours.

14:44:25 gnome-character: JS LOG: Characters Application exiting 14:44:22 gnome-shell: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed 14:44:21 gnome-logs: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed 14:44:21 dbus-daemon: [session uid=1000 pid=2923] Successfully activated service 'org.gnome.Logs' 14:44:21 gnome-shell: Object .Gjs_activitiesworkspacename_ahmafi_ir_extension_ActivitiesButton (0x55fb10f508f0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. 14:44:21 dbus-daemon: [session uid=1000 pid=2923] Activating service name='org.gnome.Logs' requested by ':1.21' (uid=1000 pid=3459 comm="/usr/bin/gnome-shell") 14:44:18 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’objet n’existe pas à l’emplacement « /org/gnome/Terminal/SearchProvider » 14:44:15 gnome-character: JS LOG: Characters Application started 14:44:15 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’objet n’existe pas à l’emplacement « /org/gnome/Terminal/SearchProvider » 14:44:15 dbus-daemon: [session uid=1000 pid=2923] Successfully activated service 'org.gnome.Calculator.SearchProvider' 14:44:15 gnome-shell: Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’objet n’existe pas à l’emplacement « /org/gnome/Terminal/SearchProvider » 14:44:15 dbus-daemon: [session uid=1000 pid=2923] Successfully activated service 'org.gnome.clocks' 14:44:14 gnome-shell: Object .Gjs_activitiesworkspacename_ahmafi_ir_extension_ActivitiesButton (0x55fb10f508f0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. 14:43:32 gnome-character: JS LOG: Characters Application exiting 14:43:24 gnome-shell: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed 14:43:24 dbus-daemon: [session uid=1000 pid=2923] Successfully activated service 'org.gnome.Shell.Extensions' 14:43:24 systemd: Started app-flatpak-com.mattjakeman.ExtensionManager-6324.scope.

mzur commented 2 months ago

Thanks! Unfortunately, I don't see the "import declarations" error message there. Maybe it is reported by some other process. You can search the whole journal by executing journalctl, then entering the / character, typing part of the error message (e.g. import declarations) and finally pressing Enter. This will search the journal for the error message (which could take a while).

Francewhoa commented 2 months ago

I don't see the "import declarations" error message there

Good morning @mzur :) Find my reply at https://github.com/mzur/gnome-shell-wsmatrix/issues/280#issuecomment-2090806170

I created this ticket #280 to facilitate communications about this pull request https://github.com/mzur/gnome-shell-wsmatrix/pull/270. I'm assuming that it is easier to resolve a challenge if there is one challenge per ticket.