Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History recorded after M-x set-url-new-nosave-buffer #3372

Open
pretentious7 opened this issue Mar 28, 2024 · 1 comment
Open

History recorded after M-x set-url-new-nosave-buffer #3372

pretentious7 opened this issue Mar 28, 2024 · 1 comment
Labels
bug history Related to history handling.

Comments

@pretentious7
Copy link

pretentious7 commented Mar 28, 2024

Describe the bug

I open a page in M-x set-url-new-nosave-buffer and then close the buffer, and close nyxt. The page is visible in history-all-query (C-M-b) upon reopening nyxt
Precise recipe to reproduce the issue

  1. start nyxt
  2. run M-x set-url-new-nosave-buffer example.com
  3. M-x delete-current-buffer
  4. close browser
  5. open browser
  6. M-x history-all-query examp

You should now see example.com in the history

Information

  • OS name+version: Guix, Linux 6.7.10
  • Graphics card and driver: Intel
  • Desktop environment / Window manager name+version: Gnome
  • How you installed Nyxt (Guix pack, package manager, build from source): Guix package -i, with this patch https://issues.guix.gnu.org/69971 to webkit
  • Information from show-system-information:
Nyxt version: 3.11.5
Renderer: GI-GTK
Operating system kernel: Linux 6.7.10
Lisp implementation: SBCL 2.4.0 (Dynamic space size: 3221225472)
Features: (:NYXT-GI-GTK :NYXT-GTK :NYXT-3.11 :NYXT-3 :NYXT-3.11.5 :CLIPBOARD-CONTENT-METHOD :SWANK :SLYNK :PLUMP-UTF-32 :PARENSCRIPT :NSYMBOLS :FSET-EXT-STRINGS :NAMED-READTABLES :CL-FAD :LPARALLEL :21BIT-CHARS :CUSTOM-HASH-TABLE-NATIVE :CL-PPCRE-UNICODE :CL-UNICODE :CHUNGA :FLEXI-STREAMS :CL-PPCRE :WEBKIT2 :WEBKIT-2.42.5 :WEBKIT-2.42 :WEBKIT-2 :WEBKIT2-CORS-ALLOWLIST :WEBKIT2-PASTE-PLAINTEXT :WEBKIT2-TRACKING :WEBKIT2-MUTE :WEBKIT2-EMOJI :WEBKIT2-MEDIA :WEBKIT2-SANDBOXING :GTK-3-22 :GTK-3-20 :GTK-3-18 :GTK-3-16 :GTK-3-14 :GTK-3-12 :GTK-3-10 :GTK-3-8 :GTK-3-6 :GTK-3-4 :GTK :GDK-3-22 :GDK-3-20 :GDK-3-18 :GDK-3-16 :GDK-3-14 :GDK-3-12 :GDK-3-10 :GDK-3-8 :GDK-3-6 :GDK-3-4 :CAIRO-1-10 :CAIRO-1-12 :GDK-PIXBUF :CLOSER-MOP :GLIB-2-30 :GLIB-2-32 :GLIB-2-34 :GLIB-2-36 :GLIB-2-38 :GLIB-2-40 :GLIB-2-42 :GLIB-2-44 :GLIB-2-46 :GLIB-2-48 :GLIB-2-50 :GLIB-2-52 :GLIB-2-54 :GLIB-2-56 :GLIB-2-58 :GLIB :BORDEAUX-THREADS :GLOBAL-VARS :ASDF-SYSTEM-CONNECTIONS :LPARALLEL.WITH-CLTL2 :LPARALLEL.WITH-CAS :LPARALLEL.WITH-STEALING-SCHEDULER :SPLIT-SEQUENCE CFFI-FEATURES:FLAT-NAMESPACE CFFI-FEATURES:X86-64 CFFI-FEATURES:UNIX :CFFI CFFI-SYS::FLAT-NAMESPACE ALEXANDRIA::SEQUENCE-EMPTYP :FAST-IO-SV :FAST-IO :CL-JSON-CLOS :CL-JSON :SBCL-USES-SB-ROTATE-BYTE CHIPZ-SYSTEM:GRAY-STREAMS :THREAD-SUPPORT :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX :NON-BASE-CHARS-EXIST-P :ASDF-UNICODE :ARENA-ALLOCATOR :X86-64 :GENCGC :64-BIT :ANSI-CL :COMMON-LISP :ELF :IEEE-FLOATING-POINT :LINUX :LITTLE-ENDIAN :PACKAGE-LOCAL-NICKNAMES :SB-CORE-COMPRESSION :SB-LDB :SB-PACKAGE-LOCKS :SB-THREAD :SB-UNICODE :SBCL :UNIX)

ASDF version: 3.3.5
ASDF registries: (NYXT-SOURCE-REGISTRY ENVIRONMENT-SOURCE-REGISTRY USER-SOURCE-REGISTRY USER-SOURCE-REGISTRY-DIRECTORY DEFAULT-USER-SOURCE-REGISTRY SYSTEM-SOURCE-REGISTRY SYSTEM-SOURCE-REGISTRY-DIRECTORY DEFAULT-SYSTEM-SOURCE-REGISTRY)
Critical dependencies: (/gnu/store/v1q4sy44h53vmgcxwr6v4gm1vad4cb2j-sbcl-cl-cffi-gtk-3.8.8-3.1700fe6/share/common-lisp/sbcl/cl-cffi-gtk/gtk/cl-cffi-gtk.asd /gnu/store/5llhygicxsfqwgrfhxnfal5v5y8a8f3g-cl-gobject-introspection-0.3-3.83beec4/share/common-lisp/source/cl-gobject-introspection/cl-gobject-introspection.asd /gnu/store/jn6pij610pip0bzx6ajqzcbr9lg7bmav-sbcl-cl-webkit-3.5.10/share/common-lisp/sbcl/cl-webkit/webkit2/cl-webkit2.asd)

Guix version:

**Output when started from a shell**
<INFO> [15:02:01] Source location: #P"/gnu/store/hgqw7pf1jvck5083a35r1095l92ajm4i-nyxt-3.11.5/share/nyxt/"
<INFO> [15:02:01] Loading Lisp file #P"/home/abhishek/.config/nyxt/auto-config.3.lisp".
<INFO> [15:02:01] Listening to socket: #P"/run/user/1000/nyxt/nyxt.socket"
<INFO> [15:02:01] Reload the buffer for no-script-mode to take effect.
<INFO> [15:02:03] Loading #P"/home/abhishek/.local/share/nyxt/auto-rules.lisp".
<INFO> [15:02:03] Loading #P"/home/abhishek/.local/share/nyxt/hostlist-stevenblack.txt".
<INFO> [15:02:04] Loading #P"/home/abhishek/.local/share/nyxt/history/default.lisp".
<INFO> [15:02:04] Restoring 1 buffer from history.
<INFO> [15:02:04] Reload the buffer for no-script-mode to take effect.

@aadcg
Copy link
Member

aadcg commented Apr 1, 2024

@pretentious7 thanks for reporting.

@aadcg aadcg added bug history Related to history handling. labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug history Related to history handling.
Development

No branches or pull requests

2 participants