nyxt icon indicating copy to clipboard operation
nyxt copied to clipboard

Mousepad scrolling is way too fast in the prompt buffer

Open Ambrevar opened this issue 1 year ago • 7 comments

Weirdly enough, mouse scrolls work perfectly fine.

Ambrevar avatar Mar 24 '23 15:03 Ambrevar

is this a setting users can change? I notice that many games have this as a common setting and it seems to solve problems.

lansingthomas avatar Mar 30 '23 15:03 lansingthomas

I'm pretty sure one can somehow change it via system settings and input drivers. But would be nice to isolate it to Nyxt, because other apps may be fine with the speed that's there.

aartaka avatar Mar 31 '23 10:03 aartaka

I'm pretty sure one can somehow change it via system settings and input drivers.

I think that's the right answer and there's nothing else to do here. Closing?

aadcg avatar May 30 '23 11:05 aadcg

No, the issue is on Nyxt's side: the thing is that we don't use the usual scroll bar, instead we re-implement scrolling ourselves, hence this issue.

The proper solution would be, I guess, to print the whole list of suggestions in the prompt buffer, thus generating the scroll bars as part of the natural HTML view.

The final piece of the puzzle is to compute the suggestions lazily, depending on which one is in the view.

Ambrevar avatar May 30 '23 12:05 Ambrevar

Yeah, rewriting prompter as HTML/CSS-native thing would solve lots of our problems, I guess. But it's quite some piece of work :D

aartaka avatar May 30 '23 13:05 aartaka

@Ambrevar I see it now, thanks for the clarification!

aadcg avatar May 31 '23 20:05 aadcg

Noticing that we have some new user segments on the roadmap. Noticing that those user segments (mac) are far more likely to be using Mousepad Scrolling than our current guests.

I think this issue should be resolved in the near term : ) <3

lansingthomas avatar Jul 06 '23 21:07 lansingthomas