Comments (9)
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.
@aartaka look! the thing we talked about already has an open issue. I totally forgot about this... and made a new video describing the bug.
from nyxt.
scroll-buffer-up-down.mp4
from nyxt.
Scroll on hover is hard, because GTK treats the view with focused input (which prompt buffer is) as the highest priority one. So we either focus out of prompt buffer (by clicking on main buffer or elsewhere), or do some infernal magic to unfocus on hover.
from nyxt.
With regards to focus, there seems to be deeper issues so this one can only be addressed after #1463 (comment).
from nyxt.
Related Issues (20)
- fatal ERROR condition on nyxt electron HOT 4
- Clarify meaning of "deeply integrated AI and semantic document tools" in FAQ HOT 3
- This is in the wrong place but its close. HOT 2
- Ope new URL from the command line HOT 4
- Crash when deleting the last buffer if setting vi-normal keybindings in document-mode. HOT 2
- Nyxt website should prominently link to Nyxt github HOT 1
- GitHub Sponsors? HOT 1
- Duplicate nyxt website should be consolidated to one canonical version through 301 redirects HOT 1
- Nyxt crashes when changing buffers repeatedly HOT 13
- Running from source: `Component "swank/exts" not found` HOT 3
- minor typo in `assets/nyxt.metainfo.xml` (commit 655588b) HOT 1
- Gemini not always rendering as expected HOT 3
- Blank Page upon startup HOT 7
- Screen flickering on wayland and nvidia drivers HOT 1
- Broken clipboard commands on WSL (using Guix) HOT 6
- Links to nx-router and nx-tailor in EXTENSIONS.org are broken. HOT 3
- Consistent Hang With `search-auto-complete t` HOT 8
- Unable to navigate to gmail.com HOT 4
- Unable to login to gemini sites that require a self cert HOT 1
- Invalid Git submodule HOT 2
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.