Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,943 events total
2023-04-19 16:11:22 <geekosaur> so another few months and then I have income
2023-04-19 16:11:36 <geekosaur> and can start paying back what I've taken 🙂
2023-04-19 16:54:38 <xmonadtrack> xmonad-contrib Brandon S Allbery KF8NH * v0.17.1-151-g87ae269b: Put a cap on window names (2 hours ago, 1 file, 6+ 2-) https://github.com/xmonad/xmonad-contrib/commit/87ae269b8279
2023-04-19 17:19:04 × jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
2023-04-19 17:20:25 jeeeun joins (~jeeeun@78.40.148.178)
2023-04-19 17:37:01 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
2023-04-19 17:59:02 jabuxas joins (~jabuxas@user/jabuxas)
2023-04-19 17:59:23 <jabuxas> hello
2023-04-19 18:02:56 <geekosaur> hi
2023-04-19 18:03:38 <geekosaur> I saw your messages yesterday but you left before I could reply
2023-04-19 18:04:35 <geekosaur> unfortunately while I think there was an overhaul of ewmhFullscreen recently I can't find it
2023-04-19 18:04:48 <geekosaur> are you running a released version or from git?
2023-04-19 18:05:37 L29Ah joins (~L29Ah@wikipedia/L29Ah)
2023-04-19 18:17:44 ft joins (~ft@p4fc2a88b.dip0.t-ipconnect.de)
2023-04-19 19:34:53 <jabuxas> git
2023-04-19 19:36:12 <jabuxas> yea i had a blackout yesterday that's why
2023-04-19 19:37:05 <jabuxas> xmonad contrib commit 673de11ca876a4a58cae3a4d52e36260f66aa6cc
2023-04-19 19:39:03 <jabuxas> the problem with ewmh fullscreen specifically was that it was tiling the game client when it shouldnt
2023-04-19 19:39:16 <geekosaur> %gitcontrib 673de11ca87
2023-04-19 19:39:16 <xmonadtrack> xmonad-contrib Tomas Janousek {GitHub} * v0.17.1-150-g673de11c: Merge pull request #768 from liskin/fullscreen-hooks (3 weeks ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad-contrib/commit/673de11ca876
2023-04-19 19:40:34 <geekosaur> does it behave if you revert that locally?
2023-04-19 19:43:02 <geekosaur> you probably want liskin but I don't know if he's around
2023-04-19 19:52:07 <jabuxas> how would i go about reverting locally? switching commits in stack.yaml and `stack build`?
2023-04-19 19:53:31 <jabuxas> i dont think that would change anything since i've had this problem for at least 3/4 months, but can do it anyway
2023-04-19 19:57:33 <geekosaur> oh. so that was just the commit you're on now?
2023-04-19 19:57:42 <jabuxas> yes
2023-04-19 19:58:47 <geekosaur> I'd be interested in knowing if the client still is asserting _NET_WM_STATE_FULLSCREEN on the window
2023-04-19 19:59:46 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L246 or similar
2023-04-19 20:00:51 <geekosaur> (I have a bunch of debugging / "how do I build a manageHook for this?" keybinds)
2023-04-19 20:02:31 × terrorjack quits (~terrorjac@2a01:4f8:c17:87f8::) (Ping timeout: 260 seconds)
2023-04-19 20:03:52 terrorjack joins (~terrorjac@2a01:4f8:c17:87f8::)
2023-04-19 20:08:32 × terrorjack quits (~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat)
2023-04-19 20:15:26 terrorjack joins (~terrorjac@2a01:4f8:c17:87f8::)
2023-04-19 20:21:19 rekahsoft joins (~rekahsoft@bras-base-orllon1122w-grc-04-174-88-193-177.dsl.bell.ca)
2023-04-19 20:33:05 <jabuxas> let me add that and test
2023-04-19 20:33:07 <jabuxas> do you want me to test with or without ewmhFullscreen?
2023-04-19 20:37:02 <jabuxas> https://dpaste.org/yAykK
2023-04-19 20:40:07 <geekosaur> what I'm interested in is whether the window that gets incorrectly tiled still has _NET_WM_STATE_FULLSCREEN in _NET_WM_STATE
2023-04-19 20:40:18 <geekosaur> so yes, with
2023-04-19 20:40:52 <jabuxas> this is with https://dpaste.org/zOs4g
2023-04-19 20:41:20 <geekosaur> actually according to that paste neither window has _NET_WM_STATE at all
2023-04-19 20:41:45 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Ping timeout: 240 seconds)
2023-04-19 20:44:03 <geekosaur> I wonder if it's just sending the message without setting the state, which is an EWMH violation
2023-04-19 20:44:18 <jabuxas> well its possible to see that tiles automatically on the screen dimensions of the log, even though managehook tells it not to
2023-04-19 20:44:54 <jabuxas> https://dpaste.com/CF9ALU8GE#line-368
2023-04-19 20:48:11 <geekosaur> hm. some things have to be done in a particular order or they get undone. what happens if you swap the doShift and the doCenterFloat?
2023-04-19 20:52:45 <jabuxas> still happens on interact
2023-04-19 20:54:19 <geekosaur> hm. I'm back to thinking this is related to _NET_WM_STATE
2023-04-19 20:55:13 <geekosaur> "on interact" is weird
2023-04-19 20:55:40 <jabuxas> so if I'm understanding correctly, ewmhFullscreen would fullscreen an application if asked, so that's why disabling it fixes the issue, because maybe if the game client asks to fullscreen, xmonad just doesn't do it?
2023-04-19 20:55:54 <geekosaur> that said I have something similarly weird related to my own config, every so often the focused window "follows me" when I switch workspaces. but it keeps its tiled/float state
2023-04-19 20:56:04 <jabuxas> I can record what's happening if that helps
2023-04-19 20:56:44 <geekosaur> ewmhFullscreen is what listens for the app asking to be fullscreened (_NET_WM_STATE_FULLSCREEN message sent to the root window)
2023-04-19 20:57:06 <geekosaur> the other way it can happen is _NET_WM_STATE changes
2023-04-19 20:57:18 <geekosaur> but you have no _NET_WM_STATE at all
2023-04-19 20:58:08 <jabuxas> i maybe have a similar issue where on max layout, if i touch a floating window, the window being maxed behind the floated one switches with the other one hidden
2023-04-19 21:01:18 <jabuxas> https://imgur.com/a/MHg4ekp
2023-04-19 21:01:24 <geekosaur> that one is the infamous "bug 4", there are partial workarounds but no fix
2023-04-19 21:01:56 <jabuxas> oh you opened that one
2023-04-19 21:02:50 <geekosaur> not the bug 4 in the current tracker; the one in the old tracker that we couldn't migrate
2023-04-19 21:03:21 <geekosaur> https://code.google.com/archive/p/xmonad/issues/4
2023-04-19 21:04:33 <geekosaur> basically, focus is kept by rotating the StackSet, and while floats are on top of everything else they're spread throughout the StackSet so clicking on one rotates the whole StackSet
2023-04-19 21:05:45 <geekosaur> the StackSet is mathematically lovely but almost pathological UX
2023-04-19 21:08:48 <jabuxas> so fixing it would take a lot of work
2023-04-19 21:13:46 × hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Ping timeout: 276 seconds)
2023-04-19 21:13:58 L29Ah joins (~L29Ah@wikipedia/L29Ah)
2023-04-19 21:20:11 <jabuxas> if you want to see the bug i uploaded to imgur https://imgur.com/a/mIUmaNU
2023-04-19 21:27:34 <geekosaur> that looks like it's unnmapping and remapping itself
2023-04-19 21:35:07 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
2023-04-19 21:35:22 <geekosaur> well, re floating windows in general, we have https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/FocusTracking.hs which I'm not sure is in a release yet, but you said you run git
2023-04-19 21:35:52 <geekosaur> but it's an imperfect solution
2023-04-19 21:44:56 catman joins (~catman@user/catman)
2023-04-19 21:58:39 L29Ah joins (~L29Ah@wikipedia/L29Ah)
2023-04-19 22:11:01 <jabuxas> how would i implement that?
2023-04-19 22:17:51 <geekosaur> https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/FocusTracking.hs#L41-L60
2023-04-19 22:17:52 <liskin> Well that PR of mine lets you disable ewmh fullscreen for individual apps
2023-04-19 22:18:06 <liskin> So that might be a viable workaround
2023-04-19 22:20:12 <geekosaur> I'm looking over your config (that dbus stuff looks familiar 🙂 )
2023-04-19 22:21:11 <geekosaur> looks like you'd change line 394: wrap what you have in parentheses and put `focusTracking` in front of it
2023-04-19 22:21:39 <geekosaur> after importing XMonad.Layout.FocusTracking
2023-04-19 22:23:41 <jabuxas> doesn't seem to do anything, should i restart X completely?
2023-04-19 22:24:01 <jabuxas> `focusTracking (tiled ||| simpleFloat ||| Mirror tiled ||| Full)`
2023-04-19 22:24:08 <geekosaur> it will only do something with floats
2023-04-19 22:24:33 <geekosaur> it tries to remember and restore where you were when you select the tiled layer
2023-04-19 22:24:57 <geekosaur> to work around that StackSet rotation issue I mentioned earlier
2023-04-19 22:25:03 <geekosaur> ("bug 4")
2023-04-19 22:25:20 × mncheck quits (~mncheck@193.224.205.254) (Ping timeout: 260 seconds)
2023-04-19 22:25:23 <jabuxas> ohhhhhhh i thought we were talking about the other bug
2023-04-19 22:25:25 <jabuxas> my bad
2023-04-19 22:25:37 <geekosaur> nope, I think you need liskin for that
2023-04-19 22:25:57 <jabuxas> yeah now floats aren't changing the max layout, nice :)
2023-04-19 22:26:07 <geekosaur> and I still suspect the _NET_WM_STATE thing is part of the problem
2023-04-19 22:26:45 <jabuxas> interestingly even though it doesn't change on moving or even interacting, it changes when closing the float
2023-04-19 22:29:09 <jabuxas> liskin: are you able to help with that issue?
2023-04-19 22:29:50 <geekosaur> [19 22:17:52] <liskin> Well that PR of mine lets you disable ewmh fullscreen for individual apps
2023-04-19 22:29:50 <geekosaur> [19 22:18:06] <liskin> So that might be a viable workaround
2023-04-19 22:30:17 <geekosaur> if all else fails you can disable fullscreen just for those apps and let it work for the ones it works with
2023-04-19 22:31:09 <geekosaur> but I really think it moving itself to +0+0 means it's unmapping and remapping, without the FULLSCREEN atom set so it doesn't go fullscreen
2023-04-19 22:31:19 <jabuxas> oh that's what he was talking about, that's why i was confused. ok.
2023-04-19 22:31:39 <jabuxas> i'll try that pr, let me see how i would use that

All times are in UTC.