askmrsinh / touchpad-indicator

Touchpad management GNOME Shell Extension.
https://extensions.gnome.org/extension/131/touchpad-indicator/
GNU General Public License v2.0
83 stars 20 forks source link

Doesn't work with gnome-shell 40 #70

Closed ndias closed 2 years ago

ndias commented 3 years ago

I changed in the metadata the version to 40 and doesn't work

edwkmho commented 3 years ago

Dear developer,

Any chance you will make this work with gnome 40.x.

I am using Fedora 34 with gnome 40.1.0

Hope to have support soon. Thanks.

askmrsinh commented 3 years ago

There's no support for GNOME 40 at the moment.

The Settings.ui file is generated through Glade for GTK3 and needs to be ported to GTK4. It's over 1000 lines of code.

To add, Glade doesn't support GTK4 (I am unsure if it ever will). Alternatively, editing the XML files manually (even after conversion through gtk4-builder-tool) is very time consuming and I am not willing to do that. However, I am hopeful that Cambalache UI Maker will be a decent alternative for GTK4 based UI. Waiting on a release.

peter-lyons-kehl commented 2 years ago

Summary of the below: It works in GNOME 41.1 except for "Indicator Preferences."

I had this installed on Manjaro for years - thank you. The menu and turning on/off pointer devices continues to work on current Manjaro's GNOME 41.1. Only "Indicator Preferences" fails with:

Gtk.BuilderError: /home/pkehl/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/Settings.ui:46:39 Invalid property: GtkBox.margin_left

Stack trace:
  TouchpadIndicatorSettings@/home/pkehl/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/prefs.js:52:23
  buildPrefsWidget@/home/pkehl/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/prefs.js:242:20
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:219:40
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:128:33
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17