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

Echo area appears white until used for the first time #3620

Open
arcensyl opened this issue Mar 4, 2025 · 0 comments
Open

Echo area appears white until used for the first time #3620

arcensyl opened this issue Mar 4, 2025 · 0 comments

Comments

@arcensyl
Copy link

arcensyl commented Mar 4, 2025

Describe the bug
When opening Nyxt (Electron) while using a non-default theme, the echo area will appear to be white until it is used for the first time. For example, if you run nyxt-init-time, the echo area will color itself when displaying the message echoed by it. This might be related to my previous issue (#3619); I'm not sure. As I experience both, I have to toggle the fullscreen state before echoing an empty string to color in the echo area.

Precise recipe to reproduce the issue
Upon starting Nyxt with the minimal config listed below, you should notice that the echo area is not colored to match the rest of the UI. If you echo anything, even an empty string, the message will display and the echo area will immediately color itself in.

Minimal config
This configuration is enough to showcase the issue.

(in-package #:nyxt-user)

(define-configuration browser
  ((theme theme:+dark-theme+)))

Workaround
I found a workaround that people can use until this problem is properly fixed. You can add this code to your configuration to have Nyxt echo an empty string and update the echo area. If you're also experiencing issue #3619, then you will need to combine its workaround with this so that Nyxt toggles its fullscreen state beforehand.

(define-configuration browser
  ((window-make-hook
	(hooks:add-hook %slot-value% (lambda (_) 
          (echo "")))))

Information

  • OS: Linux, 6.12.16
  • Distribution: NixOS, 25.05 (Warbler)
  • Graphics card: AMD Radeon RX 7900 XT
  • Window manager: Hyprland, 0.47.2
  • Installation method: Flatpak
  • Output of nyxt --system-information:
Nyxt version: 4
Web Renderer: Electron
OS: Linux 6.12.16
Lisp implementation: SBCL 2.4.10 (Dynamic space: 3072MB)
ASDF version: 3.3.1
Features: (:NYXT-ELECTRON :NYXT-4 :CLIPBOARD-CONTENT-METHOD :SWANK :SLYNK :PARENSCRIPT
 :NSYMBOLS :FSET-EXT-STRINGS :SBCL+SAFE-STANDARD-READTABLE :NAMED-READTABLES
 :FLATPAK :GLOBAL-VARS :LPARALLEL :21BIT-CHARS :PLUMP-UTF-32 :CLOSER-MOP
 :CL-PPCRE-UNICODE :CL-UNICODE :CL-JSON-DOUBLE-FLOAT-IS-SUBSUMED
 :CL-JSON-SINGLE-FLOAT-IS-SUBSUMED :CHUNGA :FLEXI-STREAMS :CL-PPCRE
 :BORDEAUX-THREADS :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-LDB :SB-PACKAGE-LOCKS :SB-THREAD :SB-UNICODE
 :SBCL :UNIX)

Output when started from a shell
I made a file containing both STDOUT and STDERR. I'm attaching it instead of just copying its contents because it is so long.
nyxt_debug_output.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant