Tiny Core Extensions > TCE Bugs

recent upgrade broke sfwbar tooltips

(1/3) > >>

GNUser:
Hello Juanito and friends.

Recently there were several big updates to TCL16 x86_64 (including to gtk3). One of them broke sfwbar's ability to show tooltips: Now when I hover over a systray icon, instead of showing the tooltip sfwbar crashes :'(

Running sfwbar with debug flag consistently shows the following at time of crash:


--- Code: ---$ sfwbar -d
...
(sfwbar:8528): Gdk-WARNING **: 09:40:36.229: Couldn't map window 0x555b5d9fb9b0 as subsurface because its parent is not mapped.

(sfwbar:8528): Gdk-WARNING **: 09:40:36.230: Couldn't map window 0x555b5d9fb9b0 as subsurface because its parent is not mapped.
Segmentation fault

--- End code ---
The subsurface-related warnings always happen immediately before the crash.

I asked the sfwbar for insight and am waiting for his response. I already tried recompiling sfwbar against the updated extensions with no luck.

Maybe  gtk-layer-shell  needs to be updated? That's my best guess at this point. Do the warnings above suggest a root cause to anyone?

GNUser:
Hi Juanito. I'm unable to recompile  gtk-layer-shell  to see if it fixes sfwbar's problem.

I tried the steps here: http://repo.tinycorelinux.net/14.x/x86_64/tcz/src/gtk-layer-shell/compile_gtk-layer-shell
and this is the result:


--- Code: ---$ ninja -C build
ninja: Entering directory `build'
[1/1] Generating src/gtk-layer-shell-0.vapi with a custom command
FAILED: src/gtk-layer-shell-0.vapi
/usr/local/bin/vapigen --quiet --library=gtk-layer-shell-0 --directory=/mnt/data/Downloads/gtk-layer-shell-0.8.1/build/src --pkg=gtk+-3.0 --metadatadir=/mnt/data/Downloads/gtk-layer-shell-0.8.1/src /mnt/data/Downloads/gtk-layer-shell-0.8.1/build/src/GtkLayerShell-0.1.gir
GtkLayerShell-0.1.gir:13.3-13.17: error: unknown child element `doc:format' in `repository'
ninja: build stopped: subcommand failed.
--- End code ---

Would you be able to recompile gtk-layer-shell?

GNUser:
I'm going to try updating gtk-layer-shell rather than simply recompiling the old version. I'll report back.

GNUser:
Same error when trying to compile latest version of gtk-shell layer:


--- Code: ---bruno@x230:~/Downloads/gtk-layer-shell-0.9.2$ time ninja -C build
ninja: Entering directory `build'
[20/21] Generating src/gtk-layer-shell-0.vapi with a custom command
FAILED: src/gtk-layer-shell-0.vapi
/usr/local/bin/vapigen --quiet --library=gtk-layer-shell-0 --directory=/mnt/data/Downloads/gtk-layer-shell-0.9.2/build/src --pkg=gtk+-3.0 --metadatadir=/mnt/data/Downloads/gtk-layer-shell-0.9.2/src /mnt/data/Downloads/gtk-layer-shell-0.9.2/build/src/GtkLayerShell-0.1.gir
GtkLayerShell-0.1.gir:13.3-13.17: error: unknown child element `doc:format' in `repository'
[21/21] Generating src/GtkLayerShell-0.1.typelib with a custom command
ninja: build stopped: subcommand failed.
Command exited with non-zero status 1
real 0m 6.37s
user 0m 10.94s
sys 0m 0.90s

--- End code ---

I don't think I can get past the above without help. I guess sfwbar is out of service for now :(

GNUser:
sfwbar works fine when I downgrade gtk3 to version 3.24.39. I guess this is my workaround for now.

I'm pretty sure that the problem is that  gtk-layer-shell  needs to be updated to be in sync with the new gtk3 version. But I'm stuck because I can't get gtk-layer-shell to compile.

Navigation

[0] Message Index

[#] Next page

Go to full version