9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Jacob Moody <moody@posixcafe.org>
To: 9front@9front.org
Subject: Re: [9front] [PATCH] rio: resize border and scrollbar based on font
Date: Fri, 10 May 2024 14:15:43 -0500	[thread overview]
Message-ID: <e2d76efa-0b99-413d-b236-ab5430102545@posixcafe.org> (raw)
In-Reply-To: <D4EA84F3C06801EC3D10C95E99BC0690@smtp.pobox.com>

On 5/10/24 13:43, Romano wrote:
> For whatever reason, I'm getting delayed mails from the mailing list. I
> haven't investigated further.
> 
>> I do not like merging hacks, I want to find solutions. This is only
>> a problem when using the system over drawterm from a mac.
> 
> No, it also is when I hook up my extrawide LG monitor, not via drawterm.
> I gave one example. I also want to find general solutions but I don't
> want to make the perfect the enemy of the good: sometimes things may not
> be the best, but they do help with a large chunk of the problem. That's
> probably why there are so many commits already to 9front that are self-
> described hacks: they're not ideal, but they are better than before.

This is not just a one time hack however, this sets a precedent.
If we allow scaling patches for rio then do we also for acme and sam
and mothra and every other graphical program? I don't want to make
perfect the enemy of good but I also don't want to just make conventions
without thinking about them properly.

I don't think bad conventions in the tree create an environment that is
better then before.

> 
>> If all this discussion is going to be
>> is you hamfisting this despite all these problems for it just being "well
>> it kinda works not really but its a start" then we're going nowhere.
> 
> That's not what I said: it works for me, not "it kinda works not really".
> And it's not me ham-fisting (which is the first time I've seen it used as a
> verb not an adjective) the patch by giving more details about how it helps
> in my setup. That's not "all this discussion" is about. I think there has
> been a good discussion, particularly the suggestion about using environment
> variables and /dev/theme. Whether or not either of those is an approach that
> would be acceptable is another matter.

You are not listening to what I said, your patch does not work. I pointed
out that there are assumptions about the rio border size. You *will* break programs with this.
You don't just get to decide to ignore that problem and break people's shit. This is why I
called what you did ham-fisting, this patch is clumsy and pushing for its inclusion after being
told how clumsy it is is not how we do things here.

By "all the discussion" I was referring to your previous email which basically boiled down to
"yes I know there are issues but it works on my machine". You ask for review, I give it to you
then you reject my review by giving anecdotal evidence and saying you can't be bothered to fix
graphical programs that have assumptions about the border width. Again this is not how we do shit here.

/dev/theme is not merged so you can not hang your solution off of that if you'd like it merged.
Here's how I would approach this:
1. fix code assumptions about rio's border size, or use an environment variable or something.
2. Attempt a transparent scaling, perhaps something in libdraw that just stupidly does 2x upscaling of draw ops
   a. evaluate how much this sucks, maybe it works fine maybe it creates a shit experience idk
3. Failing that we give up and add $scale and make it every programs problem to distinguish what should be scalled (things like UI elements) vs not (fonts and images)

I don't see any other appetizing option at the moment, perhaps someone else does.


  reply	other threads:[~2024-05-10 19:18 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-10  6:13 Romano
2024-05-10 13:27 ` Kristo
2024-05-10 14:01   ` Stanley Lieber
2024-05-10 14:17 ` Jacob Moody
2024-05-10 18:43   ` Romano
2024-05-10 19:15     ` Jacob Moody [this message]
2024-05-10 19:40       ` ori
2024-05-11 16:45         ` hiro
2024-05-11  4:31       ` Romano
2024-05-11 15:00         ` Jacob Moody
2024-05-11 16:54           ` hiro
2024-05-13  5:18           ` Romano
2024-05-11 16:42       ` hiro
2024-05-10 21:00     ` sl
2024-05-11  4:34       ` Romano
2024-05-13  5:38         ` Romano
  -- strict thread matches above, loose matches on Subject: below --
2024-05-09 21:04 Romano
2024-05-10  0:14 ` Jacob Moody
2024-05-10  0:34   ` sl
2024-05-10  6:20   ` Kurt H Maier
2024-05-10 14:10     ` Jacob Moody
2024-05-10 14:16       ` Stanley Lieber
2024-05-10 14:20         ` Jacob Moody
2024-05-10 14:23           ` Stanley Lieber
2024-05-10 14:21         ` ori
2024-05-10 14:33           ` Stanley Lieber
2024-05-10 14:37             ` Stanley Lieber
2024-05-10 14:58       ` Kurt H Maier
2024-05-10 15:28         ` Stuart Morrow
2024-05-10 16:11           ` Stanley Lieber
2024-05-10 16:43             ` Stuart Morrow
2024-05-10 16:50               ` Stuart Morrow
2024-05-11 16:36               ` hiro
2024-05-11 16:30             ` hiro
2024-05-11 16:27       ` hiro
2024-05-11 16:36         ` Jacob Moody

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e2d76efa-0b99-413d-b236-ab5430102545@posixcafe.org \
    --to=moody@posixcafe.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).