2024/05/07

2024-05-07 00:00:45 +0000sajenim(~sajenim@user/sajenim)
2024-05-07 02:22:07 +0000td_(~td@i53870908.versanet.de) (Ping timeout: 272 seconds)
2024-05-07 02:23:25 +0000td_(~td@i53870936.versanet.de)
2024-05-07 02:44:05 +0000terrorjack(~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat)
2024-05-07 02:47:10 +0000terrorjack(~terrorjac@2a01:4f8:c17:87f8::)
2024-05-07 03:36:25 +0000catman(~catman@user/catman) (Quit: WeeChat 4.3.0-dev)
2024-05-07 03:42:29 +0000catman(~catman@user/catman)
2024-05-07 04:03:29 +0000sajenim(~sajenim@user/sajenim) (Ping timeout: 268 seconds)
2024-05-07 04:47:07 +0000ChubaDuba(~ChubaDuba@37.112.224.172)
2024-05-07 04:58:20 +0000redgloboli(~redglobol@user/redgloboli)
2024-05-07 05:17:36 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 260 seconds)
2024-05-07 05:27:35 +0000todi1(~todi@p57803331.dip0.t-ipconnect.de)
2024-05-07 05:29:45 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 05:33:31 +0000todi1(~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
2024-05-07 05:34:24 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 260 seconds)
2024-05-07 05:39:55 +0000 <Solid> No borders no problem :]
2024-05-07 05:46:54 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 05:52:36 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 260 seconds)
2024-05-07 06:00:13 +0000julie_pilgrim(~julie_pil@user/julie-pilgrim/x-1240752)
2024-05-07 06:05:06 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 06:10:46 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 246 seconds)
2024-05-07 06:18:25 +0000sajenim(~sajenim@user/sajenim)
2024-05-07 06:24:47 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 06:25:42 +0000julie_pilgrim(~julie_pil@user/julie-pilgrim/x-1240752) (Remote host closed the connection)
2024-05-07 06:31:01 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 272 seconds)
2024-05-07 06:39:10 +0000 <acidbong> anyway, liskin, screenshots are incoming
2024-05-07 06:39:11 +0000 <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
2024-05-07 06:39:11 +0000 <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
2024-05-07 06:39:45 +0000 <acidbong> https://uploads.hmm.st/acidbong/e9mUjPNkG69p/sqrt-20240507_092348.png
2024-05-07 06:39:45 +0000 <acidbong> https://uploads.hmm.st/acidbong/FixzrLE9ChRF/sqrt-20240507_093303.png
2024-05-07 06:43:09 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 06:49:22 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds)
2024-05-07 06:52:21 +0000justache(~justache@user/justache) (Quit: ZNC 1.8.2 - https://znc.in)
2024-05-07 06:53:30 +0000justache(~justache@user/justache)
2024-05-07 07:02:02 +0000 <acidbong> this comment (https://github.com/xmonad/xmonad/pull/207#issuecomment-642626754) shows exactly how Xmonad shapes windows
2024-05-07 07:02:22 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 07:06:41 +0000 <acidbong> i'll test with a workaround from #198's penultimate comment
2024-05-07 07:08:11 +0000todi(~todi@p57803331.dip0.t-ipconnect.de) (Quit: ZNC - https://znc.in)
2024-05-07 07:08:24 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 255 seconds)
2024-05-07 07:09:28 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 07:15:17 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 240 seconds)
2024-05-07 07:25:46 +0000julie_pilgrim(~julie_pil@user/julie-pilgrim/x-1240752)
2024-05-07 07:27:26 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 07:33:46 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds)
2024-05-07 07:44:58 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 07:48:18 +0000ChubaDuba_(~ChubaDuba@5.167.114.29)
2024-05-07 07:51:21 +0000ChubaDuba(~ChubaDuba@37.112.224.172) (Ping timeout: 268 seconds)
2024-05-07 07:51:27 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 272 seconds)
2024-05-07 08:01:15 +0000julie_pilgrim(~julie_pil@user/julie-pilgrim/x-1240752) (Remote host closed the connection)
2024-05-07 08:01:35 +0000julie_pilgrim(~julie_pil@user/julie-pilgrim/x-1240752)
2024-05-07 08:03:00 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 08:09:04 +0000julie_pilgrim(~julie_pil@user/julie-pilgrim/x-1240752) (Remote host closed the connection)
2024-05-07 08:09:14 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds)
2024-05-07 08:10:27 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 08:12:56 +0000julie_pilgrim(~julie_pil@user/julie-pilgrim/x-1240752)
2024-05-07 08:16:22 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 255 seconds)
2024-05-07 08:28:53 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 08:34:48 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 255 seconds)
2024-05-07 08:46:05 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 08:57:23 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds)
2024-05-07 09:10:28 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 09:13:30 +0000ft(~ft@p3e9bc1bf.dip0.t-ipconnect.de) (Quit: leaving)
2024-05-07 09:16:27 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds)
2024-05-07 09:28:27 +0000 <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
2024-05-07 09:29:01 +0000 <liskin> it'd be 79x23 with a big black padding if things weren't working as they should, right?
2024-05-07 09:29:27 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 09:32:14 +0000julie_pilgrim(~julie_pil@user/julie-pilgrim/x-1240752) (Ping timeout: 250 seconds)
2024-05-07 09:35:29 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds)
2024-05-07 09:40:07 +0000 <liskin> but yeah with xeyes I do get a window that isn't large enough, hm
2024-05-07 09:45:33 +0000 <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
2024-05-07 10:05:34 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 10:05:37 +0000ChubaDuba_(~ChubaDuba@5.167.114.29) (Quit: Leaving)
2024-05-07 10:05:48 +0000 <liskin> well anyway, I'm looking into it :-)
2024-05-07 10:18:59 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds)
2024-05-07 10:29:09 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 10:49:43 +0000mekeor(~user@2001:a61:10ae:1901:3241:bc6e:53bb:fccc)
2024-05-07 10:50:13 +0000 <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
2024-05-07 10:52:23 +0000 <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
2024-05-07 10:53:19 +0000 <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
2024-05-07 10:54:11 +0000 <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
2024-05-07 10:54:24 +0000 <liskin> should be easy to do… later today
2024-05-07 11:02:48 +0000 <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
2024-05-07 11:55:51 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds)
2024-05-07 12:04:00 +0000 <acidbong> speaking of future events: `willFloat` is already a convenient identifier and is present in the core Xmonad
2024-05-07 12:04:13 +0000 <acidbong> maybe it can be used?
2024-05-07 12:05:43 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 12:20:21 +0000todi(~todi@p57803331.dip0.t-ipconnect.de)
2024-05-07 13:01:13 +0000todi(~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
2024-05-07 13:21:59 +0000ircbrowse_tom(~ircbrowse@user/tomsmeding/bot/ircbrowse-tom)
2024-05-07 13:21:59 +0000Server+cnt
2024-05-07 13:23:16 +0000todi(~todi@p57803331.dip0.t-ipconnect.de)
2024-05-07 13:47:23 +0000Lears(~Leary]@user/Leary/x-0910699)
2024-05-07 13:49:49 +0000[Leary](~Leary]@user/Leary/x-0910699) (Ping timeout: 255 seconds)
2024-05-07 14:08:08 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds)
2024-05-07 14:08:24 +0000catman(~catman@user/catman) (Quit: WeeChat 4.3.0-dev)
2024-05-07 14:09:59 +0000catman(~catman@user/catman)
2024-05-07 14:13:34 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 14:35:07 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds)
2024-05-07 14:41:30 +0000 <liskin> it can be used but it's not actually needed
2024-05-07 14:43:11 +0000 <liskin> although… manageHooks are a weird beast…
2024-05-07 14:44:15 +0000 <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
2024-05-07 14:47:21 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 14:51:34 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 246 seconds)
2024-05-07 14:55:40 +0000andrewjf(~andrewjf@70.90.143.154)
2024-05-07 15:00:29 +0000todi(~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
2024-05-07 15:03:01 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 15:05:04 +0000andrewjf(~andrewjf@70.90.143.154) (Quit: Client closed)
2024-05-07 15:42:10 +0000sajenim(~sajenim@user/sajenim) (Ping timeout: 268 seconds)
2024-05-07 16:46:55 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 268 seconds)
2024-05-07 16:47:42 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 16:54:57 +0000 <liskin> acidbong: what you mean by "no longer works in xmonad v0.17.2" exactly?
2024-05-07 16:56:41 +0000 <liskin> oh, it indeed doesn't, lol
2024-05-07 16:56:58 +0000 <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
2024-05-07 16:57:12 +0000 <liskin> and you got the same size as without the patch
2024-05-07 16:57:20 +0000 <liskin> right, I just tried it as well :-)
2024-05-07 16:57:24 +0000 <acidbong> yup
2024-05-07 16:57:39 +0000 <acidbong> i mean, it's 4 years old, many things changed
2024-05-07 16:57:49 +0000 <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
2024-05-07 16:58:54 +0000 <liskin> that also probably means my understanding of why it works is wrong
2024-05-07 16:59:22 +0000 <liskin> or something :-)
2024-05-07 18:03:21 +0000todi(~todi@p57803331.dip0.t-ipconnect.de)
2024-05-07 18:14:41 +0000todi1(~todi@p57803331.dip0.t-ipconnect.de)
2024-05-07 18:19:58 +0000todi(~todi@p57803331.dip0.t-ipconnect.de) (Remote host closed the connection)
2024-05-07 18:20:23 +0000todi1todi
2024-05-07 18:43:31 +0000ft(~ft@p3e9bc1bf.dip0.t-ipconnect.de)
2024-05-07 19:03:08 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 260 seconds)
2024-05-07 19:08:51 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 20:57:35 +0000L29Ah(~L29Ah@wikipedia/L29Ah) (Ping timeout: 252 seconds)
2024-05-07 22:30:02 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e) (Ping timeout: 256 seconds)
2024-05-07 22:35:08 +0000defjam(~defjam@2a02:c7e:2807:b900:19c6:3bfe:1d9d:c22e)
2024-05-07 23:47:57 +0000sajenim(~sajenim@user/sajenim)