-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pager not mapped, show-window failing #5
Comments
I'll have a look at it, soon. |
So I pushed a change to the git repository. (pager-autohide) now hooks into 'map-notify-hook and is then only triggered when a) pager is really mapped, b) pager-autohide-enable is true. That mail from Eli Barzilay references an issue that occured because back then I re-wrote the edge-flipping feature in Sawfish (and the pager was not yet updated then). If you still have no visible windows after this change I need more informations. |
With that fix, I no longer get any errors running (pager). But it still doesn't do anything. The process doesn't launch, nor does a window appear. I ran (pager) through sawfish-client under strace, and it doesn't even look like it's trying to launch the process. What else can I give you to work with? I'm pretty stumped. |
My pager's still not working. I tried a vanilla Ubuntu install with the latest code from git, but it's still the same behavior. Any ideas? Thanks. |
@elliotkendall I am seeing a traceback like this in
I am not sure why that would happen, I compiled both sawfish and pager in my machine. |
I'm not sure that's the same bug. The pager binary runs fine for me, it just doesn't do anything. |
Thanks for clarifying. I am getting this error, so unable to proceed that far. |
I did a bunch of digging (thanks, docker!) and have isolated this problem to changes introduced between Ubuntu 16.04 and 16.10. The same version of sawfish and sawfish-pager works correctly in the earlier release but not in the later. The issue appears to be that sawfish-pager is segfaulting in gdk_gc_set_foreground. The full gdb backtrace follows (sawfish 1.11 and sawfish-pager latest from git, plus gtk 2.24.30-4 and libglib 2.50.0-2). I ported the gtk and libglib versions from 16.04 (2.24.30-1 and 2.48.0-1) to 16.10, but that still wasn't enough to fix the problem on that release. I'm not sure what else to try to narrow it down more.
|
When the (pager) command runs, either from an after-initialization-hook in my rc file or manually from sawfish-client, I get the following output:
Lisp backtrace:
#1 show-window ...
#0 pager-unhide ...
Sawfish error:
Bad argument: #, (), 1
If I launch the pager binary manually and run "xwininfo -root -children" I can see that the pager window is running, and if I run xwininfo on that id, I can see that "Map State: IsUnMapped".
If I launch the pager manually and feed it "S" on stdin, it does appear and (pager-hide) and (pager-unhide) do work, but the pager remains blank.
I found an instance of another person having a similar problem way back in 2011, but the thread doesn't seem too helpful:
https://mail.gnome.org/archives/sawfish-list/2011-January/msg00061.html
I'm running Ubuntu 16.10 with its supplied sawfish (1:1.11.90-1) and the latest sawfish-pager code from http://download.tuxfamily.org/sawfishpager/, since it's no longer packaged. I tried building various versions of sawfish back to 1.8.2 and pager back to 0.90.1 with the same results, though.
Any ideas? Life without a pager is really bumming me out. Thanks.
The text was updated successfully, but these errors were encountered: