2021/06/22

2021-06-22 00:20:17 +0000Nahra(~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection)
2021-06-22 00:25:52 +0000efvincent-007(~efvincent@71.69.232.38)
2021-06-22 00:27:13 +0000tremon(~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
2021-06-22 00:36:25 +0000efvincent-007(~efvincent@71.69.232.38) (Ping timeout: 246 seconds)
2021-06-22 00:37:50 +0000MrElendig(~Urist@archlinux/op/MrElendig) (Ping timeout: 252 seconds)
2021-06-22 00:38:56 +0000MrElendig(~Urist@archlinux/op/MrElendig)
2021-06-22 01:07:13 +0000blaa(~bla@89-67-84-220.dynamic.chello.pl)
2021-06-22 01:07:14 +0000bla(~bla@89-67-84-220.dynamic.chello.pl) (Read error: Connection reset by peer)
2021-06-22 01:13:04 +0000 <craige[m]> I am.
2021-06-22 01:13:40 +0000 <craige[m]> I don't use containers though dminuoso
2021-06-22 01:15:11 +0000 <craige[m]> Here's my config dminuoso - https://source.mcwhirter.io/craige/mio-ops/src/branch/consensus/profiles/xmonad.nix
2021-06-22 02:03:05 +0000banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 258 seconds)
2021-06-22 02:03:48 +0000kajzer_(~themainma@user/themainman) (Quit: WeeChat 3.1)
2021-06-22 02:11:42 +0000MrElendig(~Urist@archlinux/op/MrElendig) (Ping timeout: 264 seconds)
2021-06-22 02:12:18 +0000lisq(~quassel@lis.moe) (Ping timeout: 264 seconds)
2021-06-22 02:12:29 +0000lisq(~quassel@lis.moe)
2021-06-22 02:13:14 +0000MrElendig(~Urist@archlinux/op/MrElendig)
2021-06-22 02:22:08 +0000banc(banc@gateway/vpn/airvpn/banc)
2021-06-22 02:56:22 +0000td__(~td@94.134.91.150) (Ping timeout: 258 seconds)
2021-06-22 02:57:57 +0000td_(~td@94.134.91.59)
2021-06-22 04:11:02 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-06-22 04:11:02 +0000allbery_b(~geekosaur@xmonad/geekosaur)
2021-06-22 04:28:27 +0000haasn(~nand@haasn.dev) (Quit: ZNC 1.7.5+deb4 - https://znc.in)
2021-06-22 04:28:57 +0000haasn(~nand@haasn.dev)
2021-06-22 05:23:17 +0000efvincent-007(~efvincent@71.69.232.38)
2021-06-22 05:49:20 +0000suckless(~suckless@78-61-222-190.static.zebra.lt)
2021-06-22 05:50:11 +0000suckless(~suckless@78-61-222-190.static.zebra.lt) ()
2021-06-22 06:00:31 +0000efvincent-007(~efvincent@71.69.232.38) (Ping timeout: 246 seconds)
2021-06-22 06:57:31 +0000cfricke(~cfricke@user/cfricke)
2021-06-22 07:02:08 +0000Nahra(~user@static.161.95.99.88.clients.your-server.de)
2021-06-22 07:10:19 +0000backleet(~backleet@user/backleet)
2021-06-22 07:14:59 +0000Nahra(~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection)
2021-06-22 07:16:48 +0000Nahra(~user@static.161.95.99.88.clients.your-server.de)
2021-06-22 07:58:45 +0000 <Solid> mh... if we had a version of catchX that didn't log to stderr we could derive Alternative for X and use guards to check conditions
2021-06-22 08:11:26 +0000berberman_(~berberman@user/berberman)
2021-06-22 08:12:54 +0000berberman(~berberman@user/berberman) (Ping timeout: 264 seconds)
2021-06-22 08:18:28 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-06-22 08:22:12 +0000allbery_b(~geekosaur@xmonad/geekosaur) (Ping timeout: 258 seconds)
2021-06-22 09:06:41 +0000qbt(~edun@user/edun)
2021-06-22 09:17:11 +0000cosmos1(~CosmosAtl@180.111.62.57)
2021-06-22 09:28:08 +0000backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-22 10:14:36 +0000cosmos1(~CosmosAtl@180.111.62.57) (Quit: WeeChat 3.2)
2021-06-22 10:20:22 +0000backleet(~backleet@user/backleet)
2021-06-22 10:25:38 +0000backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-22 10:25:49 +0000kajzer(~themainma@user/themainman)
2021-06-22 10:46:59 +0000backleet(~backleet@user/backleet)
2021-06-22 10:53:14 +0000backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-22 11:45:40 +0000backleet(~backleet@user/backleet)
2021-06-22 12:08:22 +0000backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-22 12:09:19 +0000backleet(~backleet@user/backleet)
2021-06-22 12:31:12 +0000backleet(~backleet@user/backleet) (Ping timeout: 252 seconds)
2021-06-22 12:31:34 +0000backleet(~backleet@user/backleet)
2021-06-22 12:37:53 +0000backleet(~backleet@user/backleet) (Ping timeout: 258 seconds)
2021-06-22 12:40:00 +0000backleet(~backleet@user/backleet)
2021-06-22 13:18:52 +0000backleet(~backleet@user/backleet) (Ping timeout: 252 seconds)
2021-06-22 13:31:46 +0000 <dminuoso> freerdp crashes when opening .rdp files with the following error: https://gist.github.com/dminuoso/855e233956248052108e8e2ce30719be
2021-06-22 13:31:56 +0000 <dminuoso> How can I figure out what freerdp is trying to do?
2021-06-22 14:01:16 +0000 <liskin> dminuoso: maybe ltrace can be asked to print the source location of the library calls
2021-06-22 14:02:01 +0000 <liskin> If not then I guess you can set a breakpoint to the Xlib error handler in gdb and then print the backtrace
2021-06-22 14:33:11 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-06-22 14:35:27 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-06-22 14:40:10 +0000cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.1)
2021-06-22 14:52:02 +0000 <sfrique[m]> Does anybody have a problem with wine on xmonad? for floating. when i try to move some windows to another screen there is a lot of glitches
2021-06-22 14:52:36 +0000 <sfrique[m]> sometimes it cuts the windows size, sometimes the windows kind of "gravitates" to a corner and stick there
2021-06-22 15:53:03 +0000seschwar(~seschwar@user/seschwar)
2021-06-22 16:05:35 +0000thunderrd(~thunderrd@183.182.114.206) (Read error: Connection reset by peer)
2021-06-22 16:07:26 +0000thunderrd(~thunderrd@183.182.114.206)
2021-06-22 18:39:09 +0000thunderrd(~thunderrd@183.182.114.206) (Ping timeout: 265 seconds)
2021-06-22 19:27:07 +0000qbt(~edun@user/edun) (Ping timeout: 268 seconds)
2021-06-22 19:47:37 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-06-22 19:49:43 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-06-22 20:06:02 +0000Kobold(~koboldchi@12.18.150.83)
2021-06-22 20:13:34 +0000mc47(~mc47@xmonad/TheMC47)
2021-06-22 20:14:27 +0000 <mc47> liskin I'd be happy to help with some of the tedious paperwor if it comes to that
2021-06-22 20:15:28 +0000 <mc47> it would be cool to have a financial incentive for (some of) the maintainers, as like you said, the project needs maintenance
2021-06-22 20:16:35 +0000 <mc47> (I just managed to read the logs, I haven't been spending much time in front of the screen)
2021-06-22 20:27:13 +0000themc47(~mc47@xmonad/TheMC47)
2021-06-22 20:27:54 +0000 <dminuoso> liskin: Mmm I give up.
2021-06-22 20:27:59 +0000 <dminuoso> RDP is awful. :(
2021-06-22 20:28:52 +0000 <dminuoso> freerdp misbehaves in strange ways. it holds permanent keyboard grabs..
2021-06-22 20:29:19 +0000 <dminuoso> Which is *not* a fun thing in an environment when you dont have window decorations to kill a window
2021-06-22 20:29:50 +0000mc47(~mc47@xmonad/TheMC47) (Ping timeout: 265 seconds)
2021-06-22 20:32:39 +0000mc47(~mc47@xmonad/TheMC47)
2021-06-22 20:33:44 +0000 <sfrique[m]> dminuoso: have you tried `-grab-keyboard off` ?
2021-06-22 20:34:06 +0000themc47(~mc47@xmonad/TheMC47) (Ping timeout: 252 seconds)
2021-06-22 20:41:22 +0000 <dminuoso> sfrique[m]: ah mmm, I did not notice
2021-06-22 20:42:00 +0000Kobold(~koboldchi@12.18.150.83) (Quit: Leaving)
2021-06-22 21:05:55 +0000 <liskin> dminuoso: might be a good idea to have one of the layout with decorations then :-)
2021-06-22 21:06:23 +0000 <dminuoso> Mmm, cant quite make it out where it goes haywire, it seems that x fails at XSync
2021-06-22 21:06:46 +0000 <dminuoso> Is it correct that x property changes get queued up and flushed on XSync?
2021-06-22 21:09:44 +0000 <liskin> mc47: actually I don't think there will be too much paperwork (that's the whole point of having a fiscal sponsor as opposed to having our own legal entity), but there may be some stuff that can only be done by people who can in some way prove their affiliation to the project (like admins of github org, but maybe possibly some copyrights, I don't know), and there also may be some stuff that can only
2021-06-22 21:09:47 +0000 <liskin> be done by US citizens (like setting up github sponsors for the org)
2021-06-22 21:10:47 +0000mc47(~mc47@xmonad/TheMC47) (Ping timeout: 258 seconds)
2021-06-22 21:12:08 +0000 <liskin> it's quite likely it can all be done in a day if we have all that's needed, it's just that I have no idea what is needed :-)
2021-06-22 21:12:09 +0000mc47(~mc47@xmonad/TheMC47)
2021-06-22 21:12:45 +0000 <liskin> once we agree that we want to try it we can just do it and see :-)
2021-06-22 21:13:21 +0000 <liskin> dminuoso: I have no idea about xsync and prop changes; last time I needed to know something like this I just googled and maybe looked it up in xlib sources
2021-06-22 21:15:04 +0000 <geekosaur> most things queue up for XSync calls, I think
2021-06-22 21:16:48 +0000 <dminuoso> Well I have pinpointed it down
2021-06-22 21:17:21 +0000 <dminuoso> XChangeProperty(xfc->display, appWindow->handle, xfc->_NET_WM_WINDOW_TYPE, XA_ATOM, 32, PropModeReplace, (BYTE*)&window_type, 1);
2021-06-22 21:17:39 +0000seschwar(~seschwar@user/seschwar) (Quit: :wq)
2021-06-22 21:18:15 +0000 <dminuoso> https://github.com/FreeRDP/FreeRDP/blob/master/client/X11/xf_window.c#L658-L661
2021-06-22 21:18:23 +0000 <dminuoso> With this atom mmm
2021-06-22 21:20:06 +0000mc47(~mc47@xmonad/TheMC47) (Ping timeout: 265 seconds)
2021-06-22 21:22:17 +0000 <liskin> "Atom id in failed request: 0x0" - do we trust this or not?
2021-06-22 21:23:26 +0000 <dminuoso> oh heh
2021-06-22 21:24:03 +0000 <dminuoso> liskin: I wouldnt
2021-06-22 21:24:17 +0000 <dminuoso> Im `p`ing in gdb, and Im seeing different values here
2021-06-22 21:24:28 +0000 <dminuoso> Although huh
2021-06-22 21:24:30 +0000 <dminuoso> What the heck
2021-06-22 21:24:35 +0000 <dminuoso> (gdb) p window_type
2021-06-22 21:24:37 +0000 <dminuoso> $4 = 0
2021-06-22 21:27:05 +0000 <liskin> that's weird, all the if branches set a value
2021-06-22 21:27:19 +0000 <liskin> perhaps xfc is uninitialized?
2021-06-22 21:27:35 +0000 <liskin> (I'm assuming XInternAtom can't really return a zero normally, can it?)
2021-06-22 21:27:58 +0000 <dminuoso> nah, if xfc was uninitialized everything would be crashing left and right
2021-06-22 21:37:26 +0000 <liskin> yeah, so what do you get if you p all the xfc->_NET_WM_WINDOW_TYPE_DROPDOWN_MENU, xfc->_NET_WM_WINDOW_TYPE_NORMAL, xfc->_NET_WM_WINDOW_TYPE_DIALOG ?
2021-06-22 21:37:38 +0000 <dminuoso> liskin: Ah I just suck at nix it seems
2021-06-22 21:37:57 +0000 <liskin> :-D
2021-06-22 21:38:14 +0000 <dminuoso> nix-shell -p '(pkgs.enableDebugging pkgs.freerdp)'
2021-06-22 21:38:18 +0000 <dminuoso> Does not do what I think it does
2021-06-22 21:38:24 +0000 <dminuoso> Bleerg
2021-06-22 21:39:05 +0000liskinstill knows nothing about nix and after this zurihac, I have even less motivation to learn anything about it then before :-)
2021-06-22 21:39:40 +0000 <dminuoso> heh, I learned much new stuff today about nixos modules
2021-06-22 21:39:58 +0000 <dminuoso> its a bit disgusting that you kind of have to understand all the internals in order to not be surprised left and right
2021-06-22 21:40:34 +0000 <liskin> that's probably true of xmonad too :-)
2021-06-22 21:40:57 +0000 <geekosaur> true, but a lot less to be understood than of nix
2021-06-22 21:40:57 +0000 <dminuoso> window_type
2021-06-22 21:41:01 +0000 <dminuoso> $1 = 393
2021-06-22 21:41:40 +0000 <dminuoso> geekosaur: with xmonad you can just use whatever is in contrib and never worry about all the X quirks
2021-06-22 21:41:51 +0000 <dminuoso> You'll probably survive, until you want to use freerdp..
2021-06-22 21:41:53 +0000 <dminuoso> :-P
2021-06-22 21:41:57 +0000 <liskin> okay fair enough
2021-06-22 21:42:25 +0000 <liskin> anyway, window_type=393, but you sure that's the one it crashes with?
2021-06-22 21:43:52 +0000 <dminuoso> Im not sure of anything, this is still an optimized build..
2021-06-22 21:46:08 +0000 <liskin> oh
2021-06-22 21:46:39 +0000 <geekosaur> "If only_if_exists is False, the atom is created if it does not exist. Therefore, XInternAtom() can return None."
2021-06-22 21:47:10 +0000 <liskin> back when I used to do these things, reading the asm was a good way to tell what the real value might be
2021-06-22 21:47:22 +0000 <liskin> but gdb would usually tell you if it wasn't sure
2021-06-22 21:47:51 +0000 <liskin> https://github.com/FreeRDP/FreeRDP/blob/670cf8512ba751054b0e09d5c41e890953fbbb62/client/X11/xf_cli…
2021-06-22 21:48:08 +0000 <liskin> only_if_exists seems to be FALSE, so it should be fine
2021-06-22 21:53:46 +0000 <liskin> heading to bed, good look with the rest of the debugging, good night :-)
2021-06-22 21:54:24 +0000 <dminuoso> liskin: thanks!
2021-06-22 21:54:31 +0000 <dminuoso> Found it
2021-06-22 21:54:33 +0000 <dminuoso> It was something else
2021-06-22 21:54:41 +0000 <dminuoso> xf_SetWindowUnlisted(xfc, appWindow->handle);
2021-06-22 21:55:00 +0000 <dminuoso> If I XSync right before it, everything is fine, XSync after and I get the BadAtom error
2021-06-22 21:55:12 +0000 <dminuoso> Oh
2021-06-22 21:57:40 +0000 <dminuoso> That function is optimized away :(
2021-06-22 21:59:29 +0000 <dminuoso> geekosaur: Thank you too.
2021-06-22 21:59:32 +0000 <dminuoso> I think I figured it out
2021-06-22 22:35:20 +0000 <dminuoso> If I read this right, this is a weird memory bug. Should _NET_WM_STATE ever be XA_ATOM?
2021-06-22 22:36:21 +0000 <dminuoso> https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html
2021-06-22 22:36:28 +0000 <dminuoso> This suggests it should be an atom list
2021-06-22 22:44:25 +0000 <geekosaur> there's no difference between a singular value and a list of length 1
2021-06-22 22:45:54 +0000 <geekosaur> https://tronche.com/gui/x/xlib/window-information/obtain-properties.html
2021-06-22 22:46:11 +0000 <dminuoso> geekosaur: https://github.com/FreeRDP/FreeRDP/blob/670cf8512ba751054b0e09d5c41e890953fbbb62/client/X11/xf_win…
2021-06-22 22:47:22 +0000 <dminuoso> Shouldn't that be a None terminated list?
2021-06-22 22:47:42 +0000kajzer(~themainma@user/themainman) (Quit: WeeChat 3.1)
2021-06-22 22:48:09 +0000 <geekosaur> no, there's a length parameter instead
2021-06-22 22:48:44 +0000 <geekosaur> it's the 2 following the pointer to the values
2021-06-22 22:49:38 +0000 <dminuoso> Then its completely beyond me. It's specifically that call that generates the BadAtom.
2021-06-22 22:49:48 +0000 <dminuoso> I managed to narrow it down in an unoptimized build properly
2021-06-22 22:54:23 +0000 <geekosaur> you can see from all the non-array ones that just use a pointer to the value and a length of 1, things would have exploded well before then if it weren't length delimited
2021-06-22 22:54:50 +0000 <geekosaur> so I'd check what the atoms are there if possible
2021-06-22 22:57:41 +0000 <geekosaur> in particular I could see both those atoms not existing if you aren't running a taskbar or pager, so the app would have to create them (!only_if_exists, but I think liskin verified that?)
2021-06-22 22:57:41 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-06-22 22:59:58 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-06-22 23:01:30 +0000 <geekosaur> yeh, they're all False (except the one that's FALSE but it's not one of these)
2021-06-22 23:01:39 +0000 <dminuoso> Ive double checked, they all exist
2021-06-22 23:04:17 +0000 <geekosaur> aha
2021-06-22 23:05:24 +0000 <geekosaur> they all exist but _NET_WM_STATE is wrapped by get_supported_atom() which checks if it's in _NET_SUPPORTED and returns None if not, and I am pretty sure we don't advertise that one because xmonad itself doesn't care
2021-06-22 23:07:50 +0000 <geekosaur> confirmed on my own desktop, we don't advertise _NET_WM_STATE
2021-06-22 23:07:52 +0000 <dminuoso> (gdb) p xfc->_NET_WM_STATE
2021-06-22 23:07:54 +0000 <dminuoso> $13 = 0
2021-06-22 23:07:56 +0000 <dminuoso> Ahhh
2021-06-22 23:08:13 +0000 <dminuoso> Does xmonad have some hook to advertise this?
2021-06-22 23:08:37 +0000 <geekosaur> I'm not sure where we currently are on that, there's some stuff in flight for extensible EWMH hooks
2021-06-22 23:08:43 +0000 <dminuoso> https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/src/XMonad.Hooks.EwmhDesktops.html#se…
2021-06-22 23:08:45 +0000 <dminuoso> Indeed
2021-06-22 23:08:49 +0000 <geekosaur> which the current iteration of fullscreen windows should use
2021-06-22 23:09:06 +0000 <dminuoso> Perhaps _NET_WM_STATE even belongs in there
2021-06-22 23:09:46 +0000 <dminuoso> Though its still a freerdp bug that it checks for supported, and completely ignores the response it gets..
2021-06-22 23:34:11 +0000henninb(~henninb@63.226.174.157)
2021-06-22 23:36:58 +0000 <henninb> Greetings - with regards to minimizing a window is this how? sendMessage RestoreNextMinimizedWin
2021-06-22 23:37:46 +0000 <henninb> when I include XMonad.Layout.Minimize, i get an error of Data constructor not in scope