Skip to content
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

Add timer to recover the i3wm ipc #70

Merged
merged 2 commits into from
Jul 14, 2023
Merged

Add timer to recover the i3wm ipc #70

merged 2 commits into from
Jul 14, 2023

Conversation

z1gc
Copy link
Contributor

@z1gc z1gc commented Jul 12, 2023

An old problem is that the plugin cannot work normally if the i3wm starts before xfce4-panel as in #62, here we're using a timer to handle the ipc resources' acquisition.

May still have some segfault there.

Tested in archlinux with latest xfce4-panel (v4.18.4).

@z1gc
Copy link
Contributor Author

z1gc commented Jul 13, 2023

Investigating an error that causing the .xsession-errors during restart i3wm twice or more, crashed in g_io_channel_read_chars: and channel->is_readable.

Backtrace seems indicates an error of i3ipc-glib.

The problem is caused by an unhandled error status code from glib, submitted a PR to altdesktop/i3ipc-glib#41, but may not get merged due to unmaintained.

@denesb
Copy link
Owner

denesb commented Jul 14, 2023

The problem is caused by an unhandled error status code from glib, submitted a PR to altdesktop/i3ipc-glib#41, but may not get merged due to unmaintained.

This can be worked around in packaging (apply patch which is not applied upstream) if somebody is determined.

This plugin is not really maintained either, pretty much all I do these days is merge PRs so people can use the code they contribute.

@denesb denesb merged commit 427f165 into denesb:master Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants