Comments (14)
I think it's due to the call to input->queries
that fetches search engine suggestions in prompter:filter-postprocessor
. Maybe it's possible to make it more efficient but, regardless, there should be (1) a mechanism that only triggers it given that a certain minimum of characters has been inserted and (2) an upper bound of time to wait for the return values of input->queries
given that the internet connection may be slow.
from nyxt.
I think the issue mentioned in pull request #2998 is also at work here. I've been using the development build compiled over sbcl on Debian 12 as well as Fedora 38; & have the exact same problem.
from nyxt.
@wvstolzing I don't think that's related.
Could one of you test the command set-url
with the following patch applied (buffer.lisp
)?
(define-class new-url-or-search-source (prompter:source)
((prompter:name "New URL or search query")
- (prompter:filter-preprocessor
- (lambda (suggestions source input)
- (declare (ignore suggestions source))
- (input->queries input
- :check-dns-p nil
- :engine-completion-p nil)))
(prompter:filter nil)
- (prompter:filter-postprocessor
- (lambda (suggestions source input)
- (declare (ignore suggestions source))
- (input->queries input
- :check-dns-p t
- :engine-completion-p t)))
(prompter:actions-on-return #'buffer-load*))
(:export-class-name-p t)
(:documentation "This prompter source tries to \"do the right thing\" to
If the issue is gone, then it's due to input->queries
as I've pointed out and #2998 is unrelated.
It's hard for me to reproduce the issue you're facing. Theoretically, throttling the network bandwidth could show it.
from nyxt.
I, too, have this issue. I have commented out the lines you specified in buffer.lisp
and ran set-url
, but the lagging still persists. Sometimes, if I type too quickly, then the entire application freezes and I have to force quit. I'm on Debian 13 (Trixie/sid) and using Nyxt 3.9.0 (Flatpak).
from nyxt.
Thank you for your reports, we will investigate!
from nyxt.
I am having the same issue.
from nyxt.
@dimitar-petrov do you have a recipe to reproduce it? I'm still unable to reproduce it.
from nyxt.
I'm just updating that I do not have this particular problem on the arch version of Nyxt, but I did experience it on Debian using the Flatpak release.
from nyxt.
@apsinthium that could indicate that it is related to the renderer since the version of WebKitGTK on Arch and Flatpak differ.
from nyxt.
Not sure if at all helpful or relevant, but I tried to make a screen capture of a typical attempt to 'open url' under Nyxt: https://youtu.be/4jiZm0nJ_Ko
I'm trying to hit <C-l>
; then type lemmy.ml
. At the start I make a typo; by the time I correct it, the browser has taken me to the search.atlas.engineer
page for the mis-typed bit of text.
from nyxt.
@wvstolzing thanks for the recording. Unfortunately, I can't reproduce it.
The issue you face seems related to the network speed. Did you try my suggestion above?
from nyxt.
this also happens to me, but specially when there are more than 4 tabs open
from nyxt.
the same here. unable to open even one tab
from nyxt.
This issue is a duplicate of #2134.
from nyxt.
Related Issues (20)
- secondary keybinding not displaying in internal page *help-bindings* HOT 1
- Website partially obscured when zoom factor is higher than 1 HOT 4
- `repeat-mode` broken
- Some slots are methods in disguise and `funcall*`
- Simplify `theme` library
- Replace `iolib` by SBCL's primitives
- Idle inhibition when watching videos HOT 3
- Replace `extended-command-source` by separate command akin to `eval-expression` HOT 2
- `binding`, `keybinding` and `keyboard-shortcut`
- Methods defined within `define-ffi-generic` shouldn't inherit from `t`
- Delete `override-map` logic
- Google SSO for Websites HOT 2
- Cannot Load Invader Extension HOT 3
- Odd OOP idiom (parent/child relationship)
- `ffi` focus methods
- Delete `ffi-buffer-make` and `ffi-window-make`
- `ffi-buffer-cookie-policy` and Electron
- Simplify URL display logic
- Fix `global-history` test HOT 1
- nyxt crashes when there are too many tabs HOT 1
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.