Helium314 / HeliBoard

Customizable and privacy-conscious open-source keyboard
Apache License 2.0
2.39k stars 93 forks source link

Symbolbar enhancement #1142

Open Baerbeisser opened 3 weeks ago

Baerbeisser commented 3 weeks ago

Is your feature request related to a problem? Please describe.

If you want symbols on the right side, you currently have to fill the whole bar with symbols. Same for pinned symbols but left side.

Describe the solution you'd like

A "space" and "variable space" symbol, similiar to Firefox' symbol bar would probably be the easist and most flexible solution.

Use case

One-handed use.

Describe alternatives you've considered (if any)

There's a setting for "variable symbolbar directionality" (roughly translated from german). Adding an overwrite toggle for left/right hand mode.
But it's less flexible.

Btw, symbols flow left, pinned symbols right, is that on purpose?
And ability to change bar height would be nice.

b02860de585071a2 commented 2 weeks ago

I've actually been thinking about this recently, and I'm pretty sure I can implement it - the problem is finding free time right now.

This is how I see it in my head, let me know if it sounds right to you:

It would also give the benefit of avoiding accidental presses (if you tend to hit one of your toolbar keys on a regular basis while typing). Just relocate a key from an awkward position to a better one.

To me, that seems like the way to handle it. The alternative is scrapping a bunch of existing code and doing a full rewrite of how the toolbar works as a whole - not ideal, nor do I think anyone wants to do that. I certainly wouldn't.

Baerbeisser commented 2 weeks ago

About the "variable space" (Firefox calls it "flexible space", my bad); a button that stretches until the whole bar is full, would be hard to do?

To have some buttons left, some right. Basically [x][y][<->][z]

edit: right, the bar has overflow scroll. Btw, is that needed?

b02860de585071a2 commented 2 weeks ago

edit: right, the bar has overflow scroll. Btw, is that needed?

Yeahhhhhh I didn't mention it, but that is a big factor since the space you actually "want" to take up is highly variable.

As for if it's needed: I don't personally use it, but that doesn't mean it should be removed.