01:28
mx08 has quit [Quit: WeeChat 3.8]
02:10
boomboxnation has quit [Quit: WeeChat 4.2.1]
02:11
boomboxnation has joined #foot
02:16
boomboxnation has quit [Client Quit]
02:16
boomboxnation has joined #foot
02:19
boomboxnation has quit [Remote host closed the connection]
02:19
boomboxnation has joined #foot
02:20
boomboxnation has quit [Client Quit]
02:20
boomboxnation has joined #foot
07:11
<
dnkl >
since the hashes of the codeberg generated release tarballs change every now and then, I've decided to attach static tarballs (+ .sig files) to the releases. I've "backported" this for fcft-3.1.8, foot-1.16.2 and wbg-1.1.0, but plan on doing this for all my projects going forward
08:19
<
sewn >
why do they change
08:22
<
bookworm >
because the underlying git pack thing was never guaranteed to be stable, the compression especially
08:22
<
bookworm >
and as people assume that hashing the compressed files is a valid thing to do that screws it up
08:25
<
sewn >
why doesn't codeberg make it stable? i thought it was a good git service
08:26
<
sewn >
this makes distribution of foot etc kinda hard, i've seen issues being made on kiss-community for this exact reason
08:26
<
sewn >
(shameless advertisement for sourcehut)
08:46
<
rjarry >
dnkl, sewn, bookworm: weird that this is not constant, git archive --format=tar.gz seems to produce stable output
08:46
<
rjarry >
I only tested this on signed tags though
10:26
qyliss has quit [Quit: bye]
10:28
qyliss has joined #foot
11:00
emersion has quit [Remote host closed the connection]
11:00
emersion has joined #foot
11:23
<
bookworm >
there's also an upstream discussion on the git ML
11:24
<
bookworm >
it caused quite the stir also on GH
11:24
sefidel has quit [Remote host closed the connection]
11:25
sefidel has joined #foot
12:17
sentriz has quit [Ping timeout: 264 seconds]
12:22
<
sewn >
sourcehut my beloved
12:26
sentriz has joined #foot
13:11
boomboxnation has quit [Remote host closed the connection]
13:16
boomboxnation has joined #foot
17:15
<
manio >
guys, I am now using foot version: 1.16.2 +pgo +ime +graphemes -assertions from Arch
17:15
<
manio >
today I encounter for the second time a foot which is eating 100% cpu core
17:15
<
manio >
instead of killing this as yesterday I just attached to this using gdb
17:17
<
manio >
I still have it attached in case you're interested to do something...
18:01
<
dnkl >
looks like it's in a poll. Be interesting to know if the busy loop around the poll is entirely in libwayland, or in foot
18:17
<
rjarry >
just tested it and it seems not working as expected
18:19
<
rjarry >
130 is shift+numlock if I'm not mistaken
18:41
cbb has joined #foot
18:51
<
dnkl >
rjarry: judging from the version output, you're on the wrong branch/commit
19:11
<
dnkl >
rjarry: what's weirder though, is if it reports NumLock itself as an active modifier
19:12
<
dnkl >
it means your keymap is reporting it as enabled, but
*not locked*
19:12
<
dnkl >
i.e you're holding it down
19:12
<
rjarry >
I am not holding it
19:12
<
dnkl >
not saying you are, but that's what the keymap says
19:12
<
rjarry >
what is the correct branch/commit to apply this patch on?
19:13
<
dnkl >
just check out the "kitty-is-text" branch
19:14
<
dnkl >
but if I'm right about it not being locked, I doubt using the correct branch is going to help
19:14
<
rjarry >
I'll test that right away
19:15
<
dnkl >
you could also try setting LOG_ENABLE_DBG to 1 in input.c, do a debug build, and run foot with "-d debug"
19:15
<
dnkl >
then you'll get detailed logs when you press/release keys, including modifier state
19:17
<
dnkl >
manio: we might get somewhat more information if you could catch the bug while running foot with WAYLAND_DEBUG=1
19:18
<
rjarry >
missing another build option it seems
19:22
andyrtr has joined #foot
19:26
<
cbb >
rjarry: -Dbuildtype=debug
19:26
<
cbb >
(when running meson, that is)
19:27
<
rjarry >
cbb: how can it influence the foot log level argument parsing?
19:27
<
manio >
dnkl: will try, but don't know if/when it'll happen again
19:30
<
cbb >
rjarry: _DEBUG isn't defined in non-debug builds, so log_level_from_string() excludes it
19:31
<
cbb >
excludes parsing "debug" as a valid log level I mean
19:32
<
rjarry >
I had missed the sneaky map_len()
19:32
<
rjarry >
weird to exclude it like that, ok
19:33
<
rjarry >
cbb: still fails, for some reason
19:33
<
rjarry >
I checked with gdb, and it "works" when stepping
19:33
<
rjarry >
but not outside gdb
19:35
<
rjarry >
nevermind, I was using -d dbg
19:35
<
rjarry >
not working, it needs -d debug
19:37
<
cbb >
the map_len() hack was my doing
19:37
<
cbb >
it's used in 2 places, but maybe there's a clearer way to do it
19:38
<
rjarry >
I would expect that -d debug is available even in non debug builds
19:38
<
cbb >
yeah, I was just about to say that
19:39
<
rjarry >
unless there is a serious perf degradation because of it
19:39
<
cbb >
always recognize it, but give an error message noting that it's disabled
19:39
<
rjarry >
but since you're not disabling debug logs at compile time, it should not affect
19:39
<
rjarry >
or is it disabling logs at compile time?
19:41
<
rjarry >
dbg: input.c:1572: pressed: space (32/0x20), seat=seat0, term=0x10da080, serial=476499, mods=Shift (0x00000001), consumed=<none> (0x00000000), locked=Mod2 (0x00000010), repeats=1
19:42
<
rjarry >
whatever Mod2 is :)
19:57
<
cbb >
rjarry: I'm guessing it's numlock
19:58
<
rjarry >
looks like it
19:58
<
cbb >
it should be shown in the `xkbcli interactive-wayland` output if you press the numlock key
20:00
<
rjarry >
~$ xkbcli interactive-wayland
20:00
<
rjarry >
Command 'interactive-wayland' is not available
20:01
<
cbb >
rjarry: which distro?
20:02
<
rjarry >
there is interactive-evdev
20:02
<
rjarry >
but I don't know if this is the one foot uses
20:02
<
rjarry >
interactive-evdev output gives:
20:02
<
rjarry >
keycode [ LFSH ] keysyms [ Shift_L ] unicode [ ] layout [ English (US) (0) ] level [ 0 ] mods [ ] leds [ ]
20:03
<
rjarry >
keycode [ SPCE ] keysyms [ space ] unicode [ ] layout [ English (US) (0) ] level [ 0 ] mods [ Shift ] leds [ ]
20:03
<
cbb >
if it's numlock, I think you probably have to toggle num lock on and press some other keys
20:03
<
cbb >
and Mod2 should be listed in "mods"
20:04
<
rjarry >
I didn't change anything
20:04
<
rjarry >
numlock is fixed by sway
20:07
<
cbb >
ah ok, I guess that could change what it reports
20:09
<
cbb >
just to be clear, I'm not interpretting this stuff in the context of the original problem... just trying to help gather the needed info
20:11
<
rjarry >
no worries
20:12
<
rjarry >
I think the issue is with numlock (mod2) being fixed by sway, it seems to change the way it is reported
20:12
<
rjarry >
maybe foot shouldn't care about locked modifiers ?