persway icon indicating copy to clipboard operation
persway copied to clipboard

layouts sometimes stops when moving a window to scratchpad

Open Arrow-x opened this issue 2 years ago • 6 comments

I am on Arch linux with sway 1:1.8.1-1 and persway 0.6.2 it works for a time and then stops it throughs this error 2023-05-22T18:07:26Z ERROR persway::server::event_handlers::layout::stack_main] stack_main layout err: recursion limit exceeded at line 1 column 29391 over and over this seems to happend after I move any window to scratchpad, closing them solves the problem

Arrow-x avatar May 22 '23 18:05 Arrow-x

Interesting. Not using the scratchpad much myself. I'll see if I can reproduce this.

johnae avatar May 23 '23 05:05 johnae

Same behavior here, thanks Arrow-x to point the link with scratchpad. Same setup : Arch, sway, persway 0.6.2.

rimeno avatar May 24 '23 14:05 rimeno

@Arrow-x @rimeno Please try latest on main branch.

johnae avatar May 24 '23 21:05 johnae

nope, It is still an issue, I think I can reproduce it like this: 1 star the daemon persway daemon -d stack_main 2 in an empty workspace start a terminal and send it to the scratchpad 3 start another terminal and send it to the scratchpad 4 start another terminal 5 summon a scratchpad and resize it a bit (with the mouse) then put it back 6 bring the other one and resize it (there is a flicker in the size sometimes) and send it back 7 try starting another window will not stack now.

Arrow-x avatar May 24 '23 22:05 Arrow-x

Thanks Johnae, for simple scratchpad action it's now ok, but Arrow-x is also right, doing exactly what he did do the same beahviour.

rimeno avatar May 25 '23 09:05 rimeno

Sorry for the delay. I'm just really busy. I'll get around to these at some point.

johnae avatar Aug 30 '23 07:08 johnae