[rxvt-unicode] half-screen spacing on launch

Comment by Toolybird (Toolybird) - Monday, 09 January 2023, 21:27 GMT

Yes, I can kinda replicate in a fresh Xfce4 VM. Launching urxvt results in a small terminal window. Maximizing that window then results in the prompt being half way down the window. Repeating procedure under 9.30 results in prompt at the top of the window as expected. Have you reported upstream?

Comment by Toolybird (Toolybird) - Tuesday, 10 January 2023, 06:49 GMT

Comment by Gordon Lenz (cappa) - Tuesday, 10 January 2023, 09:40 GMT

same happen on my mashines after starting a new Window.
both are BSPWM driven.

Comment by Dmitry Denisjuk (dimadenisjuk) - Friday, 13 January 2023, 07:33 GMT

Replicated on I3WM windows manager.
rxvt-unicode-9.30-1 and below: prompt at the top,
rxvt-unicode-9.31-1: prompt at the middle

Comment by Toolybird (Toolybird) - Saturday, 14 January 2023, 21:26 GMT

Comment by Andrew S. Grigorev (eigrad) - Tuesday, 07 March 2023, 23:18 GMT

I can't find appropriate changelog entry, but from the git log it seems that in version 9.31 of rxvt-unicode Marc Lehmann decided to move some lines-rewrap functionality under the ENABLE_FRILLS flag, and slightly updated the related algorithm. Compiling rxvt-unicode with --enable-frills doesn't fix the issue, so it looks like there is a problem with updated algorithm.

Here is a patch for svntogit-community packages/rxvt-unicode branch trunk directory to make a rxvt-unicode package with screen.C changes reverted to 9.30 (this patch contains the screen.C diff for 9.30..9.31 to make a clear vision on changes introduced in 9.31).

Comment by Martin Hertz (mhertz) - Tuesday, 21 March 2023, 20:58 GMT

Same issue on dwm, and fixed by patch by eigrad, thanks!

Comment by Martin Hertz (mhertz) - Wednesday, 22 March 2023, 20:09 GMT

Sorry, just wanted to add that the posted solution in linked report by Toolybird did work also, so patching out line 397 from src/screen.C was enough simply.

Comment by Andrew S. Grigorev (eigrad) - Wednesday, 16 August 2023, 07:19 GMT

Comment by Martin Hertz (mhertz) - Wednesday, 16 August 2023, 09:41 GMT

Interesting read thanks. Personally I have never seen this happening before this regression talked about here(as link infer), in the decade+ I used this package on arch - only used tiling VMs though, maybe related dunno. I just updated to recheck/post, and same fix worked on newest v9.31-4 i.e. patching out line 397 from src/screen.C, like stated in the posted solution in linked report by Toolybird(though states line 410 there, but regardless). Thanks in advance.

Comment by Toolybird (Toolybird) - Wednesday, 16 August 2023, 22:28 GMT

Comment by Martin Hertz (mhertz) - Thursday, 17 August 2023, 09:07 GMT

Thank you so much Toolybird, that works perfectly for me on dwm, seemingly always i.e. just the example line from your wiki link, and i'm sorry for not finding firstly myself. Thanks!

Comment by Boban (boban_dj) - Sunday, 15 October 2023, 14:21 GMT

I have 9.31-4 installed, with i3 window manager. Also in ~/XResources.d/urxvt-unicode added: URxvt.geometry: 400x400.
When opening a new terminal with i3 shortcut, the cursor is on top. Only when moving the window to the right then below, the cursor stays in the middle. The same issue as before.

Loading...