Logs on 2024-05-07 (liberachat/#xmonad)
| 00:00:45 | → | sajenim joins (~sajenim@user/sajenim) |
| 02:22:07 | × | td_ quits (~td@i53870908.versanet.de) (Ping timeout: 272 seconds) |
| 02:23:25 | → | td_ joins (~td@i53870936.versanet.de) |
| 02:44:05 | × | terrorjack quits (~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat) |
| 02:47:10 | → | terrorjack joins (~terrorjac@2a01:4f8:c17:87f8::) |
| 03:36:25 | × | catman quits (~catman@user/catman) (Quit: WeeChat 4.3.0-dev) |
| 03:42:29 | → | catman joins (~catman@user/catman) |
| 04:03:29 | × | sajenim quits (~sajenim@user/sajenim) (Ping timeout: 268 seconds) |
| 04:47:07 | → | ChubaDuba joins (~ChubaDuba@37.112.224.172) |
| 04:58:20 | → | redgloboli joins (~redglobol@user/redgloboli) |
| 05:17:36 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 260 seconds) |
| 05:27:35 | → | todi1 joins (~todi@p57803331.dip0.t-ipconnect.de) |
| 05:29:45 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 05:33:31 | × | todi1 quits (~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 268 seconds) |
| 05:34:24 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 260 seconds) |
| 05:39:55 | <Solid> | No borders no problem :] |
| 05:46:54 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 05:52:36 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 260 seconds) |
| 06:00:13 | → | julie_pilgrim joins (~julie_pil@user/julie-pilgrim/x-1240752) |
| 06:05:06 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 06:10:46 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 246 seconds) |
| 06:18:25 | → | sajenim joins (~sajenim@user/sajenim) |
| 06:24:47 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 06:25:42 | × | julie_pilgrim quits (~julie_pil@user/julie-pilgrim/x-1240752) (Remote host closed the connection) |
| 06:31:01 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 272 seconds) |
| 06:39:10 | <acidbong> | anyway, liskin, screenshots are incoming |
| 06:39:11 | <acidbong> | the one with an orange/black bar is DWM, notice the even padding in the floating terminal (I specifically set it to 2 px): DWM seems to draw borders outside of the window |
| 06:39:11 | <acidbong> | the one with a monotone bar is Xmonad, notice that the padding in the floating terminal got all weird: the terminal already set the size 140x38 characters, but Xmonad seems to "eat out" the window with its borders |
| 06:39:45 | <acidbong> | https://uploads.hmm.st/acidbong/e9mUjPNkG69p/sqrt-20240507_092348.png |
| 06:39:45 | <acidbong> | https://uploads.hmm.st/acidbong/FixzrLE9ChRF/sqrt-20240507_093303.png |
| 06:43:09 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 06:49:22 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds) |
| 06:52:21 | × | justache quits (~justache@user/justache) (Quit: ZNC 1.8.2 - https://znc.in) |
| 06:53:30 | → | justache joins (~justache@user/justache) |
| 07:02:02 | <acidbong> | this comment (https://github.com/xmonad/xmonad/pull/207#issuecomment-642626754) shows exactly how Xmonad shapes windows |
| 07:02:22 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 07:06:41 | <acidbong> | i'll test with a workaround from #198's penultimate comment |
| 07:08:11 | × | todi quits (~todi@p57803331.dip0.t-ipconnect.de) (Quit: ZNC - https://znc.in) |
| 07:08:24 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 255 seconds) |
| 07:09:28 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 07:15:17 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 240 seconds) |
| 07:25:46 | → | julie_pilgrim joins (~julie_pil@user/julie-pilgrim/x-1240752) |
| 07:27:26 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 07:33:46 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds) |
| 07:44:58 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 07:48:18 | → | ChubaDuba_ joins (~ChubaDuba@5.167.114.29) |
| 07:51:21 | × | ChubaDuba quits (~ChubaDuba@37.112.224.172) (Ping timeout: 268 seconds) |
| 07:51:27 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 272 seconds) |
| 08:01:15 | × | julie_pilgrim quits (~julie_pil@user/julie-pilgrim/x-1240752) (Remote host closed the connection) |
| 08:01:35 | → | julie_pilgrim joins (~julie_pil@user/julie-pilgrim/x-1240752) |
| 08:03:00 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 08:09:04 | × | julie_pilgrim quits (~julie_pil@user/julie-pilgrim/x-1240752) (Remote host closed the connection) |
| 08:09:14 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds) |
| 08:10:27 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 08:12:56 | → | julie_pilgrim joins (~julie_pil@user/julie-pilgrim/x-1240752) |
| 08:16:22 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 255 seconds) |
| 08:28:53 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 08:34:48 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 255 seconds) |
| 08:46:05 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 08:57:23 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds) |
| 09:10:28 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 09:13:30 | × | ft quits (~ft@p3e9bc1bf.dip0.t-ipconnect.de) (Quit: leaving) |
| 09:16:27 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds) |
| 09:28:27 | <liskin> | acidbong: strange, if I ask urxvt to open a 80x24 terminal, and ask xmonad for the next window to be floating, I get a 80x24 terminal |
| 09:29:01 | <liskin> | it'd be 79x23 with a big black padding if things weren't working as they should, right? |
| 09:29:27 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 09:32:14 | × | julie_pilgrim quits (~julie_pil@user/julie-pilgrim/x-1240752) (Ping timeout: 250 seconds) |
| 09:35:29 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds) |
| 09:40:07 | <liskin> | but yeah with xeyes I do get a window that isn't large enough, hm |
| 09:45:33 | <liskin> | hm, right, floatLocation does account for borders, but it fails to account for the fact that initially the window doesn't have borders but then xmonad adds borders laters |
| 10:05:34 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 10:05:37 | × | ChubaDuba_ quits (~ChubaDuba@5.167.114.29) (Quit: Leaving) |
| 10:05:48 | <liskin> | well anyway, I'm looking into it :-) |
| 10:18:59 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds) |
| 10:29:09 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 10:49:43 | → | mekeor joins (~user@2001:a61:10ae:1901:3241:bc6e:53bb:fccc) |
| 10:50:13 | <liskin> | the "workaround from #198's penultimate comment" is a dead end, it's crap that happens to kinda work totally accidentally and might/will break things |
| 10:52:23 | <liskin> | the real issue is that floatLocation only takes into account the current border width, which is 0 when it's first invoked, but then xmonad adds borders and the float size isn't adjusted |
| 10:53:19 | <liskin> | floatLocation could theoretically use the future border width, but we don't really know what's it gonna be because there's all sorts of xmonad-contrib modules messing up with border width |
| 10:54:11 | <liskin> | so I'm thinking a manageHook that adjusts the float location but lets you skip that adjustment if you know other parts of your manageHook/layoutHook will clear the borders |
| 10:54:24 | <liskin> | should be easy to do… later today |
| 11:02:48 | <liskin> | https://github.com/xmonad/xmonad/pull/207 is an alternative - but it's ugly because now Rectangle means something else for floating and non-floating windows, so if one grabs a tiled window and starts moving it somewhere, it'll resize |
| 11:55:51 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds) |
| 12:04:00 | <acidbong> | speaking of future events: `willFloat` is already a convenient identifier and is present in the core Xmonad |
| 12:04:13 | <acidbong> | maybe it can be used? |
| 12:05:43 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 12:20:21 | → | todi joins (~todi@p57803331.dip0.t-ipconnect.de) |
| 13:01:13 | × | todi quits (~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 268 seconds) |
| 13:21:59 | → | ircbrowse_tom joins (~ircbrowse@user/tomsmeding/bot/ircbrowse-tom) |
| 13:21:59 | Server | sets mode +cnt |
| 13:23:16 | → | todi joins (~todi@p57803331.dip0.t-ipconnect.de) |
| 13:47:23 | → | Lears joins (~Leary]@user/Leary/x-0910699) |
| 13:49:49 | × | [Leary] quits (~Leary]@user/Leary/x-0910699) (Ping timeout: 255 seconds) |
| 14:08:08 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds) |
| 14:08:24 | × | catman quits (~catman@user/catman) (Quit: WeeChat 4.3.0-dev) |
| 14:09:59 | → | catman joins (~catman@user/catman) |
| 14:13:34 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 14:35:07 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds) |
| 14:41:30 | <liskin> | it can be used but it's not actually needed |
| 14:43:11 | <liskin> | although… manageHooks are a weird beast… |
| 14:44:15 | <liskin> | but the Endo WindowSet part of the managehook is executed _after_ manage made the window floating, so we don't need to guess, we know whether the window is or isn't floating |
| 14:47:21 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 14:51:34 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 246 seconds) |
| 14:55:40 | → | andrewjf joins (~andrewjf@70.90.143.154) |
| 15:00:29 | × | todi quits (~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 15:03:01 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 15:05:04 | × | andrewjf quits (~andrewjf@70.90.143.154) (Quit: Client closed) |
| 15:42:10 | × | sajenim quits (~sajenim@user/sajenim) (Ping timeout: 268 seconds) |
| 16:46:55 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds) |
| 16:47:42 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 16:54:57 | <liskin> | acidbong: what you mean by "no longer works in xmonad v0.17.2" exactly? |
| 16:56:41 | <liskin> | oh, it indeed doesn't, lol |
| 16:56:58 | <acidbong> | I patched xmonad (luckily with nixos it's easy), rebuild with a short config (only set the terminal, mod4Mask and a floating rule for a terminal with Ranger in it) and tried launching a floating terminal |
| 16:57:12 | <liskin> | and you got the same size as without the patch |
| 16:57:20 | <liskin> | right, I just tried it as well :-) |
| 16:57:24 | <acidbong> | yup |
| 16:57:39 | <acidbong> | i mean, it's 4 years old, many things changed |
| 16:57:49 | <liskin> | I was so invested into understanding why the fuck it doesn't crash xmonad I forgot to check whether it does anything at all |
| 16:58:54 | <liskin> | that also probably means my understanding of why it works is wrong |
| 16:59:22 | <liskin> | or something :-) |
| 18:03:21 | → | todi joins (~todi@p57803331.dip0.t-ipconnect.de) |
| 18:14:41 | → | todi1 joins (~todi@p57803331.dip0.t-ipconnect.de) |
| 18:19:58 | × | todi quits (~todi@p57803331.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 18:20:23 | todi1 | is now known as todi |
| 18:43:31 | → | ft joins (~ft@p3e9bc1bf.dip0.t-ipconnect.de) |
| 19:03:08 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 260 seconds) |
| 19:08:51 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 20:57:35 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Ping timeout: 252 seconds) |
| 22:30:02 | × | defjam quits (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds) |
| 22:35:08 | → | defjam joins (~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) |
| 23:47:57 | → | sajenim joins (~sajenim@user/sajenim) |
All times are in UTC on 2024-05-07.