Comments (5)
Makes sense.
I want what you propose:
scroll the buffer being hovered!
from nyxt.
Eeeeeew a bug
from nyxt.
Soo... just thinking out loud here.
If we set the input-focus to follow mouse pointer hover position,
- then this scrolling problem is fixed, as well as a few other problems (like trying to run
quit-prompt-buffer
when focus is on the main buffer). - however, we introduce another problem (opening prompt buffer with mouse pointer on the upper half of the screen would change input to main buffer at the wrong time)
Sooo... Can we set the input-focus to follow the mouse pointer -- AFTER a transition has been made (from main-buffer to prompt-buffer, but not the other way.)
from nyxt.
Like this:
a mouse cursor transition from mainb
→ promptb
| toggle-buffer-focus
a mouse cursor transition from promptb
→ mainb
| no action (a click is still required)
from nyxt.
@lansingthomas think about the user. You suggestion feels overly complicated for no good reason. Generally speaking, setting the focus without a mouse click is rather unintuitive and not a good default.
On the other hand, people expect to interact, i.e. scroll, with the thing that they're pointing to.
Think about the text box from where you'll be writing a reply to my message. Hover over the box - it scrolls the message. Hover outside the text box - it scrolls the issue's page. Focus on hover is orthogonal to this discussion.
From my top post:
When the prompt buffer is open and the mouse hovers over a non prompt buffer area, I'd suggest either no scrolling or scrolling the buffer that is being hovered.
I think it's clear what my choice would be :)
from nyxt.
Related Issues (20)
- Ubuntu flatpak permission issues runing as normal user HOT 2
- Is Qt render alive? HOT 15
- Remove Qt port from the repo HOT 5
- quit-prompt-buffer keybinding does not show in the bindings column HOT 7
- WebProcess didn't exit as expected after the UI process connection was closed HOT 5
- `make-buffer-with-context` missing the custom contexts (+ another reported bug)
- Extend prompt buffer keyscheme map bug
- Dark mode/theme error HOT 5
- Enabling `dark-mode` shows warning and doesn't work
- Building with sbcl on OpenBSD fails HOT 5
- 3.6.0 regression on macOS HOT 11
- the `nyxt-version` throws error HOT 3
- affordances for the toggle-modes menu (checkboxes) HOT 3
- Describe-Slot -- Show current value HOT 4
- search-engines doesn't take effect with multiple define-configuration HOT 3
- update interaction states for the prev/next source arrows in prompt area HOT 5
- Delete `documentation-coverage.lisp` HOT 1
- Delete `nyxt-quicklisp.scm` HOT 3
- status buffer/ pressed-active state | color update
- Delete `gdk-event-button-state`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nyxt.