This problem has annoyed me for many years and I am surprised that I can't find an existing bug report for it. It might be related to #1178, though. I'm currently on 9d8202f32338a3f08d3fa39057dc5eec5d97be4e and the newer commits don't sound like they would help.
The problem is that after long use (currently months) fluxbox appears to get confused about the stacking of windows. Using a key combination to create a new terminal window does create it, but raises several (all?) other windows, which were below the previous top window, above it. The topmost window does not have focus. If I then try to click these windows (I use click to focus), the clicked window instantly moves further down in the window stack. Trying to use the toolbar to raise the new window does not work until I have clicked all windows above it.
Once fluxbox is confused, the chance that the next new window has the same problem is high.
And how could someone reproduce this?
Did you at least did a rebuild with
./configure --enable-debugto generate a debug log?Sometimes it's good to reboot because of security-updates but well..
Does a
pkill -SIGUSR1 fluxboxat least fix the problem?Well, I wouldn't call restarting fluxbox a fix.
I tried it anyway, but instead of gracefully execing into itself, fluxbox died and caused the X server to terminate. I'm now running a build of 5606d3a986d2d5b52504b9c07ba06b6072e730ca with --enable-debug. Also switched from GCC 9 to GCC 14 while at it. I hope I run into this problem again before the log fills the remaining space on my harddisk.
just choose your weapon of choice to trigger it daily.