dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.16.2 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
sevz has joined #foot
uncomfy has joined #foot
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #foot
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #foot
uncomfy has quit [Client Quit]
jmcantrell has quit [Quit: WeeChat 4.1.2]
jmcantrell has joined #foot
jmcantrell has quit [Quit: WeeChat 4.1.2]
chiselfuse has quit [Ping timeout: 240 seconds]
chiselfuse has joined #foot
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #foot
Biolunar has joined #foot
Biolunar has quit [Ping timeout: 245 seconds]
tkna has joined #foot
geemili has joined #foot
Hummer12007 has joined #foot
jmcantrell has joined #foot
c7s has joined #foot
brocellous has joined #foot
dekedro has joined #foot
akspecs has joined #foot
pvsr has joined #foot
lh has joined #foot
dnkl has joined #foot
ddevault_ has joined #foot
andrea_ has joined #foot
WhyNotHugo_ has joined #foot
psnszsn has joined #foot
tachi has joined #foot
p00f has joined #foot
gbrlsnchs has joined #foot
onjen has joined #foot
SusanTheNerd has joined #foot
novakane has joined #foot
rockorager_ has joined #foot
d4ve has joined #foot
leon-p has joined #foot
mcepl_ has joined #foot
rodrgz has joined #foot
cpli has joined #foot
rselim has joined #foot
cat has joined #foot
freed00m has joined #foot
ifreund has joined #foot
coder_kalyan has joined #foot
dooba has joined #foot
ddevault_ has quit [Remote host closed the connection]
xgpt has quit [Ping timeout: 260 seconds]
WhyNotHugo_ has quit [Remote host closed the connection]
<dnkl> finally... chat.sr.ht is back! From what I can see in the logs, my presence wasn't really needed anyway :)
tkna has quit [Remote host closed the connection]
tkna has joined #foot
hao has joined #foot
rockorager_ is now known as rockorager
chomwitt has joined #foot
<ahesford> bah, this fractional scaling thing is driving me insane
<ahesford> I'm convinced there is no good solution with the tools available
<ahesford> I can get the desired behavior... foot... by modifying the saving of stashed_{width,height} to only record it if either a) win->configure.{height,width} are nonzero, so the compositor has requested a size, or b) win->stashed_{height,width} are non zero, so we update the stashed size whenever there already is one
<ahesford> this causes foot to reapply the default sizing every time it is given a choice of size *until one is explicitly set*, which seems ok, but this breaks placement algorithms
<ahesford> i.e., client is configured with 0x0 sizing to allow it to choose a preferred size before mapping, which has no fractional scale information and guesses; window is mapped, so compositor is notified and decides to place the window based on that size; initialization continues and eventually foot is told the right scale, so it wants to resize, which may or may not violate the intent of the original
<ahesford> placement
andrea_ is now known as andrea
hao has quit [Remote host closed the connection]
hao has joined #foot
hao has quit [Ping timeout: 264 seconds]
hao has joined #foot
<dnkl> yeah, we really *need* to know the scale *before* we're mapped...
<ahesford> is there even a good way to know that?
<ahesford> hrm
<dnkl> the compositor has to emit the event before mapping the window. I know I've seen at least one compositor do that; not sure which I've it was. Maybe hyprland, or possibly mutter
<ahesford> we might be able to that in labwc
<ahesford> just pick the output when the surface is created
<ahesford> instead of when it's mapped
<dnkl> that seems very reasonable
<dnkl> on foot's side, it seems reasonable to not stash, or ignore stashed dimensions, as long as the window hasn't been mapped
<ahesford> that was my first attempt to fix the issue, but then I realized the scale didn't come until later
andyrtr has quit [Quit: ZNC 1.8.2 - https://znc.in]
<ahesford> this might work without any changes to foot
<ahesford> fractional scale notification is sent even before the first configure
andyrtr has joined #foot
<ahesford> thanks dnkl and Consolatis for insight into this problem
<dnkl> awesome!
<ahesford> now I have to reconcile the cognitive dissonance that I want 90x30 terminals with Hack:size=9, but I also want four terminals to fit width-wise on my 4k scale 1.5 display
<ahesford> I was almost happier being lied to
chomwitt has quit [Ping timeout: 260 seconds]