Closed ghost closed 3 years ago
let us know the versions of relevant libraries in your system. Gjs, Gtk, Gnome.
gjs 1.68.1 gtk 4.2.1 gnome 40.2.0
FWIW I can not reproduce the issue on Ubuntu 21.10, where gjs 1.68.1
is present but gtk is still gtk3 (3.24.29). "gnome" is ambiguous — Ubuntu 21.10 currently has a mix of 3.38 and 40.
@tzihad: Since you seem to have gtk4, is ibus-gtk4
installed?
(gjs:4544): Gjs-CRITICAL **: 14:21:23.918: JS ERROR: Gtk.BuilderError: /usr/share/ibus-avro/avropref.ui:15:28 Invalid property: GtkWindow.icon
It is because of libgtk4. In the gtk4 documentation of GtkWindow, I don't see "icon" properties anymore, seems like it was removed. Its there for both gtk2 and gtk3 :P
I'll explicitly set Gtk version to 3 in preferences.
Okay, thanks for the response.
@tzihad What is your OS and version? Can you point me to a live iso for testing?
I use Arch Linux, All packages are synced with xeonbd's mirror,
@tzihad I just pushed a commit (2883b96) fixing the issue, If you update your system's /usr/share/ibus-avro/pref.js
with the file from this repository the problem will be fixed. Or inform the maintainer of the package to update.
@gunnarhj Same problem also occurs in Ubuntu 21.04 if both gtk3 and gtk4 is available to gjs. After booting the live cd, I installed sudo apt install libgtk-4-1 gir1.2-gtk-4.0
. After this gjs imports gtk4 if the application doesn't specify version.
Funny thing Ubiquity also just crashed and from the error log it looks like same issue :P
However, the point is ibus-avro
package in ubuntu 21.04 also needs to be updated with fix I just pushed. Can you get the ball rolling on that? Should I publish another minor version?
Thanks! It works now.
Same problem also occurs in Ubuntu 21.04 if both gtk3 and gtk4 is available to gjs. After booting the live cd, I installed
sudo apt install libgtk-4-1 gir1.2-gtk-4.0
.
Hmm.. I thought that gtk4 didn't exist in the Ubuntu 21.04 archive, but now I see that it was copied from Debian experimental before the release.
ibus-avro
package in ubuntu 21.04 also needs to be updated with fix I just pushed. Can you get the ball rolling on that?
Sure. But I'd better start with Debian and 21.10 to follow the procedures.
Should I published another minor version?
Not necessary — I can patch it as part of the packaging.
Btw, 276fcafa is still there, but last time I asked, you didn't consider it ready for Debian/Ubuntu. I'm assuming that's still the case.
Btw, 276fcaf is still there, but last time I asked, you didn't consider it ready for Debian/Ubuntu. I'm assuming that's still the case.
Hmm, not sure what to do with that. That commit reorganizes stuff around a bit that may or may not help with GC. And after further research It didn't provide any substantial benefit to be problem (If any). So it doesn't provide any real value, It doesn't break anything. So I guess there is no need to add that as a patch.
@sarim There are some other issues,not sure I should report is as an another issue or not.Anyways, ibus-avro always report these errors (running with -vx, and dictionary suggestion on in preferences) after typing for a while.
(gjs:95132): Gjs-CRITICAL **: 00:44:41.991: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
(gjs:95132): Gjs-CRITICAL **: 00:44:41.991: The offending signal was process-key-event on IBusEngine 0x55928a4f2980.
== Stack trace for context 0x5592898f2140 ==
#0 5592899184f0 i /usr/share/ibus-avro/main-gjs.js:433 (1d918429b3d0 @ 1850)
Not sure what triggers this error.
@tzihad Thats #156 . It is a bug of gjs/gnome. There is no easy solution for it ATM.
Thanks, again
@sarim: FYI the fix of Ubuntu 21.04 is on its way. May take a couple of weeks.
@gunnarhj That was fast. You're awesome as always :3 Thanks :)
The error message :
I am using the ibus-avro-git from aur.