ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
rv1sr has quit []
Moprius has joined #wayland
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
ybogdano has quit [Ping timeout: 480 seconds]
Moprius has quit [Quit: bye]
___nick___ has quit []
___nick___ has joined #wayland
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #wayland
lyudess has joined #wayland
Lyude has quit [Read error: Connection reset by peer]
Leopold_ has quit [Remote host closed the connection]
Lyude has joined #wayland
lyudess has quit [Ping timeout: 480 seconds]
thevar1able1 has joined #wayland
thevar1able1 is now known as thevar1able
nerdopolis has quit [Ping timeout: 480 seconds]
zebrag has quit [Quit: Konversation terminated!]
rasterman has joined #wayland
danshick has quit [Ping timeout: 480 seconds]
<kchibisov> If input_method sends garbage data that breaks what text_input says who is in charge of sanity checking it?
danvet has joined #wayland
<kchibisov> We had a bug report with mutter when we were getting invalid cursor offset in text_input::preedit. Invalid as the cursor was inside utf-8 character.
dcz_ has joined #wayland
danshick has joined #wayland
rv1sr has joined #wayland
hardening has joined #wayland
___nick___ has quit []
<jadahl> kchibisov: in general, compositors should sanity check everything from clients, but clients should arguably need less sanity checking
___nick___ has joined #wayland
<emersion> kchibisov: iirc the proto says that indices must not be between two unicode codepoints? thus the compositor needs fixing?
<jadahl> emersion: it doesn't seem to say very much, but one can assume that it shouldn't at least
<emersion> maybe it was input method then
<kchibisov> input method says even less afaics.
<jadahl> kchibisov: can you open a bug with wayland debug logs? looking at the code it should already always convert a "unicode index" to byte index, so need a bit data to reproduce I suspect
<kchibisov> jadahl: I think it's from old mutter https://github.com/alacritty/alacritty/issues/6396
<jadahl> oh, thats pretty old indeed
<jadahl> rocky linux 8, so rhel8 more or less then
<jadahl> thus any bug report should go to rocky or rhel
<kchibisov> I know, I was more in doubt who should sanity check that. But the protocol doesn't say that the byte offset should be at the char bound.
<jadahl> fwiw, upstream fix came in https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1132 ~2 years ago
<jadahl> kchibisov: yea, it's a bit vague indeed. imo the protocol should be fixed to spell out gargabe sent is not ok
<emersion> hm, input method just says "Text strings are UTF-8 encoded, their indices and lengths are in bytes."
<jadahl> could be expanded to say the byte offsets must be equivalent to valid UTF-8 offsets"
chipxxx has quit [Remote host closed the connection]
chipxxx has joined #wayland
co1umbarius has quit [Read error: No route to host]
manuel1985 has quit [Ping timeout: 480 seconds]
rv1sr has quit []
jmd has quit [Ping timeout: 480 seconds]
carbonfiber has joined #wayland
BPCZ has joined #wayland
nerdopolis has joined #wayland
rv1sr has joined #wayland
Leopold has joined #wayland
Moprius has joined #wayland
rv1sr has quit []
Moprius has quit [Quit: bye]
JoshuaAshton has quit [Ping timeout: 480 seconds]
kts has joined #wayland
pbsds has joined #wayland
rv1sr has joined #wayland
flare has joined #wayland
Company has quit [Quit: Leaving]
chipxxx has quit [Remote host closed the connection]
zebrag has joined #wayland
MajorBiscuit has joined #wayland
chipxxx has joined #wayland
flare has quit []
jmd has joined #wayland
Lucretia has quit []
Lucretia has joined #wayland
kts has quit [Quit: Leaving]
MajorBiscuit has quit [Quit: WeeChat 3.5]
rv1sr has quit []
rv1sr has joined #wayland
<vyivel> hm, there's no error defined for destroying an xdg_surface before xdg_{toplevel,popup} either
<vyivel> actually, can an error be sent in response to a destructor request?
<vyivel> seems like it can
<wlb> wayland Merge request !278 opened by Kirill Primak (vyivel) protocol: add role_object_exists error https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/278
JoshuaAshton has joined #wayland
columbarius has joined #wayland
vega has joined #wayland
gschwind has joined #wayland
zebrag has quit [Read error: Connection reset by peer]
zebrag has joined #wayland
___nick___ has quit [Ping timeout: 480 seconds]
rv1sr has quit []
rv1sr has joined #wayland
andyrtr has quit [Quit: ZNC 1.8.2 - https://znc.in]
andyrtr has joined #wayland
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
JoshuaAshton has quit [Ping timeout: 480 seconds]
dcz_ has quit [Ping timeout: 480 seconds]
dcz_ has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
jmd has quit []
danvet has quit [Ping timeout: 480 seconds]
jmdaemon has joined #wayland
hardening has quit [Ping timeout: 480 seconds]
floof58 is now known as Guest3195
floof58 has joined #wayland
carbonfiber has quit [Quit: Connection closed for inactivity]
Guest3195 has quit [Ping timeout: 480 seconds]
dcz_ has quit [Ping timeout: 480 seconds]
<gschwind> hello, does wl_pointer_set_cursor is bufferised and applyedon surface commit ?
<gschwind> It seems it cannot because surface may be null
rv1sr has quit []
<danieldg> gschwind: I'd assume the hiding is immediate but other actions are on commit
<danieldg> but it seems like that could be clarified
MajorBiscuit has joined #wayland
DemiMarieObenour[m] is now known as DemiMarie
MajorBiscuit has quit [Ping timeout: 480 seconds]
vega has quit [Remote host closed the connection]