sunaku / wmiirc

Ruby configuration for WMII window manager
ISC License
82 stars 26 forks source link

wmiirc freezes upon complex shortcuts #1

Closed sunaku closed 14 years ago

sunaku commented 14 years ago

On Fri, Nov 6, 2009 at 6:14 PM, Nathan Neff wrote:

Wmii doesn't crash that often. However, if I have something odd in my config files, it will stop responding to keyboard events. The applications /clients will still respond, so I can switch windows with the mouse, but not the keyboard.

Now that you mention it, I've been experiencing this occasionally, ever since they switched from Ruby 1.8 to Ruby 1.9 as the default for the Linux distro I use: ArchLinux.

The problem just happened again now --- seems to be triggered by key chording (lots of Control/Alt/Shift pressed together) --- and I went to a virtual console and ran wmiir read /event. It was reading events just fine. Then I went back to my X session and wmii was not frozen anymore.

I think it's a fault with the IXP implementation in Rumai. I may have over-engineered that library in the name of thread-safety. I'll have to cut it back down to size someday.

Cheers.

sunaku commented 14 years ago

I rewrote the send/recv functionality of Rumai::IXP::Agent to be thread-less: http://github.com/sunaku/rumai/commit/951983523bc1debea78216e18f361878c1136020

Let's see if this solves the problem.

sunaku commented 14 years ago

That patch has been released with Rumai 3.2.0. It seems to solve the problem for me, but I'll wait for more verification from other users.

sunaku commented 14 years ago

There haven't been any more complaints about this issue. Closing.