2023/07/05

2023-07-05 00:05:11 +0200 <BakaOtaku[m]> Thanks! That seems to work. it's kinda slowish but nothing too much to worry about
2023-07-05 00:07:00 +0200 <geekosaur> there's a speedup to the dynamicPropertyChange stuff in git iirc
2023-07-05 00:07:24 +0200 <geekosaur> in released versions it triggers too often
2023-07-05 00:12:45 +0200 <[Leary]> Part of the issue could also be that `defineBorderWidth` delays action to the log hook, where it also requests a refresh that I'm not sure is necessary. The indirection is currently unavoidable in the manage hook, but could be erased from the title-change hook.
2023-07-05 00:36:07 +0200BakaOtaku[m]uploaded a video: (784KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/HIZvdIkxeFIIiBpYVmvBlMuN/record-2023.… >
2023-07-05 00:36:08 +0200 <BakaOtaku[m]> @[Leary]:libera.chat: I'm having a small problem. I use `XMonad.Hooks.WindowSwallowing` with my terminal and idk why but whenever I restore the terminal after it's swallowed the border resize doesn't work.
2023-07-05 00:36:08 +0200 <BakaOtaku[m]> You can see this in the screen recording I've attached thanks
2023-07-05 00:45:07 +0200m5zs7k(aquares@web10.mydevil.net) (Ping timeout: 246 seconds)
2023-07-05 00:45:54 +0200m5zs7k(aquares@web10.mydevil.net)
2023-07-05 00:50:33 +0200 <BakaOtaku[m]> s/@[Leary]:libera.chat://
2023-07-05 01:06:39 +0200Guest30(~Guest30@122.160.64.38)
2023-07-05 01:12:47 +0200Guest30(~Guest30@122.160.64.38) (Quit: Client closed)
2023-07-05 01:13:37 +0200 <geekosaur> restoring the window counts neither as a property change nor as a _new_ mapping of the window, so nothing happens to trigger the border resize
2023-07-05 01:19:37 +0200 <[Leary]> This is another consequence of `setInitialProperties` being in the wrong place. The parent window would just keep its proper border size, but `windows` thinks it's new and resets the properties to defaults.
2023-07-05 01:36:38 +0200 <BakaOtaku[m]> so would there be a workaround for this?🤔
2023-07-05 01:50:59 +0200 <BakaOtaku[m]> <geekosaur> "restoring the window counts..." <- Yes but the title of the window never changes the window just gets withdrawn/swallowed so the border should remain the same no?
2023-07-05 01:52:19 +0200 <[Leary]> You could declare `windowCloseHook :: ManageHook -> Event -> X All; windowCloseHook mh DestroyWindowEvent{ ev_event = w0, ev_window = w } | w0 == w = runQuery mh w $> mempty; windowCloseHook _ _ = mempty`, then in your event hook do `(dynamicTitle <> windowCloseHook) (title >>= \t -> ...)`.
2023-07-05 01:52:37 +0200 <geekosaur> that depends on your swallowEventHook; if you look for a title change…
2023-07-05 01:58:18 +0200jabuxas_(~jabuxas@user/jabuxas) (Server closed connection)
2023-07-05 01:58:44 +0200jabuxas_(~jabuxas@user/jabuxas)
2023-07-05 02:06:24 +0200 <geekosaur> (the problem with which is the title may change back while the window is still unmapped, hence won't trigger the event hook)
2023-07-05 02:08:48 +0200 <BakaOtaku[m]> <[Leary]> "You could declare `windowCloseHo..." <- so I did this:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/f816ec905e32012512281a8cab9705ffd042…>)
2023-07-05 02:09:42 +0200 <BakaOtaku[m]> <[Leary]> "You could declare `windowCloseHo..." <- so I did this:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/561c5087d5fa65ea719ca938ed74af48aed1…>)
2023-07-05 02:11:11 +0200 <BakaOtaku[m]> sorry if these are easy errors. I have very little experience with haskell. I've hacked together a xmonad config which works nicely for me and I mainly learn all my haskell through this project :)
2023-07-05 02:12:27 +0200 <[Leary]> Mostly errors in copying. You're using `<$>` where I have `$>`, and you haven't bracketed `(dynamicTitle <> windowCloseHook)`.
2023-07-05 02:18:30 +0200 <[Leary]> Mmmm. Technically this hook should take a `Query ()` rather than a `ManageHook`, but whatever, it should work as written.
2023-07-05 02:19:08 +0200 <BakaOtaku[m]> My bad! I fixed them and it compiles fine but I still get that issue i.e after exiting the child window the parent window(terminal in this case) doesn't restore border 🤔... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/cc0ed894d7c5849e089c64d0db8f15cdc45b…>)
2023-07-05 02:20:00 +0200 <BakaOtaku[m]> * My bad! I fixed them and it compiles fine but I still get that issue i.e after exiting the child window the parent window(terminal in this case) doesn't restore border 🤔... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/d9aada6620870614bfc78d3b03fcbacb2d45…>)
2023-07-05 02:20:52 +0200geekosaur[c](sid609282@id-609282.lymington.irccloud.com)
2023-07-05 02:22:26 +0200geekosaur[c](sid609282@id-609282.lymington.irccloud.com) (Changing host)
2023-07-05 02:22:26 +0200geekosaur[c](sid609282@xmonad/geekosaur)
2023-07-05 02:23:26 +0200 <[Leary]> You might need to swap the order with the swallowing hook.
2023-07-05 02:27:31 +0200 <BakaOtaku[m]> what do you mean? just move the swallowEventHook above the dynamictitle?... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/185faa6c4e4294cb3540108e57ac94ad4c82…>)
2023-07-05 02:28:05 +0200 <absta[m]> Does anyone have a clue about my question/problem above?
2023-07-05 02:29:13 +0200 <geekosaur> I saw your question but I have no idea why it'd be a problem
2023-07-05 02:29:35 +0200 <geekosaur> I run xmonad with mate and everything works as expected
2023-07-05 02:29:59 +0200geekosaur[m](~geekosaur@xmonad/geekosaur) ()
2023-07-05 02:30:30 +0200 <absta[m]> I applied doCenterFloat on the dialogs, but nautilus dialogs do not go afloat.
2023-07-05 02:31:01 +0200 <absta[m]> They stay tiled, even though they have .._DIALOG type.
2023-07-05 02:31:41 +0200 <[Leary]> BakaOtaku[m]: Okay, I'm not sure what's going wrong then; I'd have to take a closer look at what's actually happening.
2023-07-05 02:31:44 +0200 <absta[m]> Also I manually apply Ce terFloat on Gnome Calculator as well, and that one also stays tiled.
2023-07-05 02:32:02 +0200 <geekosaur> caja dialogs float with `isDialog --> doFloatPlace` (which uses XMonad.Hooks.Place rather than `doCenterFloat`, but that shouldn't matter)
2023-07-05 02:32:13 +0200 <geekosaur> can you pastebin your config?
2023-07-05 02:32:16 +0200 <geekosaur> @where paste
2023-07-05 02:32:16 +0200 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2023-07-05 02:32:25 +0200 <absta[m]> Yep, moment
2023-07-05 02:33:47 +0200 <BakaOtaku[m]> [Leary]: haha no problem!
2023-07-05 02:33:47 +0200 <BakaOtaku[m]> since my config is dividied up and you want to see the full config then I can maybe push a test_branch to my git repo for you to check?
2023-07-05 02:34:35 +0200 <absta[m]> geekosaur: https://paste.tomsmeding.com/8VGOj6E5
2023-07-05 02:37:14 +0200 <absta[m]> (What does Mate use for file browser? nemo?)
2023-07-05 02:38:29 +0200 <geekosaur> caja, which is more or less nautilus with the serial numbers filed off
2023-07-05 02:38:56 +0200 <geekosaur> similarly for mate-calculator vs. gnome-calculator
2023-07-05 02:39:05 +0200 <geekosaur> (mate is a maintained fork of gnome 2)
2023-07-05 02:40:13 +0200 <absta[m]> Hmm, I mean lower versions of nautilus worked as expected
2023-07-05 02:41:37 +0200 <geekosaur> did you verify they come up with all the properties in place when the window is mapped? gnome is so wayland-happy that I would not be surprised if they simply broke x11 completely, especially given that wayland doesn't use any of these things
2023-07-05 02:42:08 +0200 <geekosaur> (which is a big reason we're not trying to target wayland yet: the things people want won't work)
2023-07-05 02:43:44 +0200 <[Leary]> BakaOtaku[m]: I was mostly thinking about the code paths in xmonad and the relevant contrib modules, but the details of your config may also become relevant; go ahead and link it.
2023-07-05 02:43:54 +0200 <geekosaur> XMonad.Hooks.ManageDebug can be used to examine window state when a window opens: https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L55
2023-07-05 02:44:10 +0200 <geekosaur> absta[m] ^
2023-07-05 02:44:43 +0200 <geekosaur> I should really identify people more, especially with two discussions at once and irc doesn't do threads
2023-07-05 02:44:52 +0200 <BakaOtaku[m]> [Leary]: here! https://github.com/Tanish2002/xmonad-tanish2002/blob/dynamic-border/src/Hooks/EventHook.hs
2023-07-05 02:46:17 +0200 <geekosaur> absta[m], X11 and EWMH mandate that certain properties be set before the window is mapped. wayland doesn't use most of the relevant window properties…
2023-07-05 03:07:25 +0200 <absta[m]> Let me debug it then when I am back at my computer
2023-07-05 03:08:06 +0200 <absta[m]> I also suspect they might be settingnall the properties too late
2023-07-05 04:20:17 +0200td_(~td@i53870926.versanet.de) (Ping timeout: 246 seconds)
2023-07-05 04:22:11 +0200td_(~td@i53870923.versanet.de)
2023-07-05 05:04:02 +0200defjam(~defjam@2a02:c7e:2807:b900:60da:dd5e:157c:f21c) (Ping timeout: 246 seconds)
2023-07-05 05:17:39 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 05:21:58 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 05:35:07 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 05:40:28 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 240 seconds)
2023-07-05 05:54:28 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 05:59:11 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 260 seconds)
2023-07-05 06:02:48 +0200[Leary](~Leary]@user/Leary/x-0910699) (Server closed connection)
2023-07-05 06:07:30 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 06:12:35 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 260 seconds)
2023-07-05 06:24:47 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 06:29:26 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 06:43:09 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 06:48:18 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 260 seconds)
2023-07-05 06:58:13 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 246 seconds)
2023-07-05 07:01:01 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 07:05:32 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 240 seconds)
2023-07-05 07:18:28 +0200tv1(~tv@user/tv) (Ping timeout: 250 seconds)
2023-07-05 07:18:30 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 07:22:49 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 240 seconds)
2023-07-05 07:49:26 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 07:53:47 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 08:05:26 +0200hightower3(~hightower@141-136-198-23.dsl.iskon.hr) (Quit: Leaving)
2023-07-05 08:24:32 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 08:29:41 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 260 seconds)
2023-07-05 08:41:48 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 08:46:53 +0200jchia[m](~jchiamatr@2001:470:69fc:105::c50b)
2023-07-05 08:48:02 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 08:56:50 +0200[Leary](~Leary]@user/Leary/x-0910699)
2023-07-05 09:10:39 +0200defjam(~defjam@90.211.252.220)
2023-07-05 09:16:11 +0200defjam(~defjam@90.211.252.220) (Ping timeout: 264 seconds)
2023-07-05 09:33:58 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 09:39:06 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 260 seconds)
2023-07-05 09:40:29 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 09:44:50 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Max SendQ exceeded)
2023-07-05 09:47:46 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 09:55:35 +0200geekosaur[c](sid609282@xmonad/geekosaur) (Ping timeout: 246 seconds)
2023-07-05 09:55:44 +0200geekosaur[c](sid609282@xmonad/geekosaur)
2023-07-05 10:19:22 +0200samhh(7569f027cf@2604:bf00:561:2000::e4) (Ping timeout: 245 seconds)
2023-07-05 10:22:24 +0200samhh(7569f027cf@2604:bf00:561:2000::e4)
2023-07-05 10:33:52 +0200tv(~tv@user/tv)
2023-07-05 10:51:48 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 240 seconds)
2023-07-05 10:54:27 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 11:10:53 +0200liskin[m](~liskinmat@2001:470:69fc:105::768) (Remote host closed the connection)
2023-07-05 11:10:53 +0200unclechu(~unclechu@2001:470:69fc:105::354) (Remote host closed the connection)
2023-07-05 11:17:13 +0200ft(~ft@p508db151.dip0.t-ipconnect.de) (Quit: leaving)
2023-07-05 12:48:04 +0200horzion(~horzion@ProtonDB/horzion)
2023-07-05 12:53:21 +0200horzion(~horzion@ProtonDB/horzion) (Quit: Off praying to the Omnissiah)
2023-07-05 13:00:03 +0200alternateved(~user@77-254-166-50.dynamic.inetia.pl)
2023-07-05 13:00:21 +0200alternateved(~user@77-254-166-50.dynamic.inetia.pl) (Remote host closed the connection)
2023-07-05 13:00:43 +0200alternateved(~user@77-254-166-50.dynamic.inetia.pl)
2023-07-05 13:14:33 +0200hellwolf[m](~hellwolfm@2001:470:69fc:105::3:6a4) (Server closed connection)
2023-07-05 13:14:46 +0200hellwolf[m](~hellwolfm@2001:470:69fc:105::3:6a4)
2023-07-05 13:18:07 +0200cfricke(~cfricke@user/cfricke)
2023-07-05 14:15:01 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 14:26:27 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 14:31:11 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 15:01:40 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 15:07:56 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 240 seconds)
2023-07-05 15:13:53 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 15:18:38 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 15:57:31 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 16:00:13 +0200srk-(~sorki@user/srk)
2023-07-05 16:03:08 +0200srk(~sorki@user/srk) (Ping timeout: 240 seconds)
2023-07-05 16:03:12 +0200srk-srk
2023-07-05 16:26:41 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 16:41:00 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 16:46:21 +0200sagax(~sagax_nb@user/sagax)
2023-07-05 16:56:36 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 260 seconds)
2023-07-05 17:02:09 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 17:43:32 +0200alternateved(~user@77-254-166-50.dynamic.inetia.pl) (Ping timeout: 245 seconds)
2023-07-05 18:14:58 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 4.0.1)
2023-07-05 18:27:17 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 18:28:16 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 18:32:32 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 18:38:08 +0200alternateved(~user@77-254-166-50.dynamic.inetia.pl)
2023-07-05 18:50:13 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 18:56:20 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 240 seconds)
2023-07-05 19:10:42 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 19:15:12 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 240 seconds)
2023-07-05 19:39:36 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 19:55:50 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 20:15:57 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 20:51:20 +0200tremon(~tremon@83.80.159.219)
2023-07-05 21:21:31 +0200redgloboli(~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
2023-07-05 21:22:22 +0200redgloboli(~redglobol@user/redgloboli)
2023-07-05 21:33:09 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 240 seconds)
2023-07-05 22:00:37 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 22:05:12 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 240 seconds)
2023-07-05 22:10:23 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 22:13:49 +0200alternateved(~user@77-254-166-50.dynamic.inetia.pl) (Ping timeout: 240 seconds)
2023-07-05 22:15:43 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Max SendQ exceeded)
2023-07-05 22:16:12 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 23:14:20 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 240 seconds)
2023-07-05 23:23:52 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 23:28:22 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 23:38:49 +0200ft(~ft@p508db151.dip0.t-ipconnect.de)
2023-07-05 23:41:04 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)
2023-07-05 23:45:05 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f) (Ping timeout: 246 seconds)
2023-07-05 23:53:35 +0200defjam(~defjam@2a02:c7e:2807:b900:79d2:eb8:1592:99f)