<Industrial>
Hi. I have this init file: https://gist.github.com/Industrial/1bef4dd2d9185bbd1a0d60b7f75a8d60#file-init-ts-L17 and this particular line doesn't seem to "work" while others do. When I copy the command and enter it in a terminal it says `overwrote an existing keybinding: normal Super+Shift P` and after that it starts working.
Industrial has quit [Ping timeout: 244 seconds]
Keeto has joined #river
fleischie has quit [Ping timeout: 252 seconds]
fleischie has joined #river
notchoc has quit [Ping timeout: 260 seconds]
sewn has quit [Ping timeout: 272 seconds]
aryak has quit [Ping timeout: 264 seconds]
aktina has quit [Ping timeout: 272 seconds]
notchoc has joined #river
aryak has joined #river
aktina has joined #river
sewn has joined #river
hush has joined #river
hush has quit [Read error: Connection reset by peer]
notzmv has quit [Ping timeout: 252 seconds]
mtm has quit [Ping timeout: 252 seconds]
mtm has joined #river
Keeto has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #river
<leon-p>
is it just me or is codeberg starting to get a bit slow on the rwm PR?
<ifreund>
too many comments :/
<ifreund>
to be fair, codeberg doesn't cheat by hiding 90% of the information behind (click to show more) buttons like github does
<leon-p>
fair, and caching probably would grow their disk demand too much
<ifreund>
leon-p: I don't have time for a detailed answer right now, but here's a quick example of the race I'm trying to explain:
<ifreund>
say that clicking a button in a shell surface should open a new shell surface and give keyboard focus to that shell surface
<ifreund>
also say the user starts typing as soon as they click the button as they know what it doe
<ifreund>
do to the race, it is not guaranteed that the first keypresses after the click are routed to the shell surfaces
<ifreund>
to the new shell surface that has just been given keyboard focus in response to the wl_seat pointer button event that is
<ifreund>
in order to make that race-free, river would have to know to stop further processing of input events after it sends the wl_seat pointer button event
<ifreund>
sorry for the terrible spelling
<vyivel>
that doesn't seem solvable in general case
<leon-p>
I see the issue. I'll think about that for while. Arguably the rest of my argumentation still stands though
<ifreund>
maybe it's not worth solving and I'm just getting too hung up on it wanting things to be perfect
<ifreund>
this race is solved for e.g. using a keybind to switch focus between windows for example
<leon-p>
This race also exists f.e. a windows-esque task switcher in a bar
<leon-p>
perhaps we could have a river_seat_v1:hold_back_input_events_until_...() event
notzmv has joined #river
Keeto has joined #river
regalk has joined #river
regalk has quit [Client Quit]
rederriver has joined #river
<rederriver>
Hi to everyone!
<rederriver>
Someone is aware of this error on nixos?
<rederriver>
error: The Wayland server does not support river-control-unstable-v1.
<rederriver>
Do your versions of river and riverctl match?
<rederriver>
using unstable
<LarstiQ>
rederriver: yes
<rederriver>
This error is caused by the nixpkgs?
<LarstiQ>
no I mean both come from the same package in nixpkgs so they match, no problems for me
<rederriver>
You're using unstable channel right?
rederriver has quit [Quit: Client closed]
<leon-p>
arguably an obscure error if river was installed from repos, so unsurprisingly it's nixos...
<leon-p>
they left, but if they read logs: you may be running riverctl under a different wayland server. no idea how you have to mis-configure your system to do that, but I know no other way to trigger that error message
<LarstiQ>
one thing I can think of is updating the river package and getting a newer riverctl without restarting river, maybe
<ifreund>
LarstiQ: all river versions so far support river-control-unstable-v1
<ifreund>
it will be dropped in the future, but that hasn't happened yet
<LarstiQ>
right. I have no clue what was going on then, I have never seen this afaicr on nixos
<ifreund>
like leon said, they ran riverctl under a different wayland compositor than river
<leon-p>
I already suspect that the version introducing the WM protocol will increase traffic in this channel quite a bit...
<ifreund>
the first wave will be when we break river's master branch
<ifreund>
the second wave will be when 0.4.0 is released
<ifreund>
I'd like to have a reasonable "river-legacy" WM available when 0.4.0 is released
<leon-p>
depending on what kind of WM you want to ship with river, it could be a switch 🤷
<ifreund>
long term, I don't want any "default" WM
<ifreund>
I do intend to ship a fallback WM with river that allows listing and executing other window managers
<ifreund>
details very much TBD
<leon-p>
then we need a specification for river to find WMs
<ifreund>
probably yeah, but it shouldn't be much more than a path and environment variable
<ifreund>
probably there's some XDG_* thing that already makes sense to use
<ifreund>
or just repurpose .desktop files like is done for wayland sessions
<leon-p>
we should probably also think about how river startup in general is supposed to work
<ifreund>
idk, haven't given it much thought yet
<leon-p>
ok the more I work on this widgets system the more I understand how GLib works internally and I am not sure if I like that, lol
<leon-p>
it is certainly somewhat elegant to have nested structs to implement inheritance, even I don't plan on taking it quite that far
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
pixavi has joined #river
alexherbo2 has quit [Remote host closed the connection]
Keeto has quit [Remote host closed the connection]
hush has joined #river
pixavi has quit [Ping timeout: 248 seconds]
pixavi has joined #river
pixavi has quit [Remote host closed the connection]