atlas-engineer / nyxt

Nyxt - the hacker's browser.
https://nyxt-browser.com/
9.88k stars 413 forks source link

no minibuffer for changing/setting url #358

Closed spiderbit closed 5 years ago

spiderbit commented 5 years ago

In nixos with exwm I don't see a minibuffer for entering url. There is a minibuffer for execute-command but even if I try to open the set url command in there doesn't give me a input buffer.

When I start next I get following message:

[18:13:49] next minibuffer.lisp (echo) - Can't echo 'MINIBUFFER-MODE enabled.' without minibuffer or interface

I use the next 1.3.1 guix package.

Ambrevar commented 5 years ago

Hmm, curious issue.

Can you share the full shell output?

Did you install the Guix pack or the Guix package using =guix install next=?

My hunch is that since it works for execute-command, the issue might be that set-url depends on SQLite and the history.db file. What are the files in ~/.local/share/next?

[18:13:49] next minibuffer.lisp (echo) - Can't echo 'MINIBUFFER-MODE enabled.' without minibuffer or interface

This message is harmless, no need to worry about it. (It will disappear very soon by the way.)

spiderbit commented 5 years ago

Yes I just set the window to floating and when I pressed C-l it outputs that:

WARNING: Method handler (NEXT::CORE-OBJECT NEXT::PUSH-INPUT-EVENT) signaled an error: Could not prepare an sqlite statement. Code ERROR: no such column: visits. Database: /home/black/.local/share/next/history.db SQL: select url from typed where url like ? order by visits desc.

so your assumptions are right.

Btw installing software over guix in nixos does not really work, guix expects stuff in certain paths which are symlinks or somewhere else in nixos. So I extracted the tar file put the 2 folders in a subdirectory and started it from there.

On the download page there is a paragraph about that you don't need to have to install it in root to work, so I thought that should be ok like that.

The archive does not have to be extracted to the filesystem root (/).

Ambrevar commented 5 years ago

It's a migration issue. We will get rid of SQLite soon, so for now the easiest way to go is simply to remove /home/black/.local/share/next/history.db and restart Next.

spiderbit commented 5 years ago

ok that worked now I have problems because of high-dpi so I have to wait till the highdpi bugs are solved :D but maybe it's a alternative for my old netbook instead of vimb.

There was no working solution for default zoom for the content yet right?

Ambrevar commented 5 years ago

Now that we have hooks, you can set the default zoom for content (at last!).

I'll expand on this soon when I start working on the font size in the minibuffer, which should solve the HiDPI issue.

Coming Soon©, stay tuned!

Ambrevar commented 5 years ago

You can now set the default zoom for content and for the minibuffer. See https://github.com/atlas-engineer/next/issues/293 for an example.

Hope this helps! Feel free to re-open if there is anything else.