jan icon indicating copy to clipboard operation
jan copied to clipboard

bug: JavaScript errors in the main process

Open gaardhus opened this issue 1 year ago • 2 comments

Describe the bug When I launch the app, and while running it, I get multiple errors saying "A JavaScript error occured in the man process". I can press OK, but a new error pops up very frequently.

Steps to reproduce Steps to reproduce the behavior:

  1. Install the package from AUR with yay.
  2. Open the app with rofi.
  3. Two errors pop up on launch.
  4. Last error repeats frequently.

Expected behavior A functioning app

Screenshots image image image

The first two only appears once when opening the app, and then the last keeps repeating.

Environment details

  • Operating System: Arch Linux 6.6.10-arch1-1
  • Jan Version: 0.4.3
  • Processor: Ryzen 7 PRO 7840U w/ Radeon 780M Graphics (16)
  • RAM: 32GB

Additional context This only happens when I launch jan through the rofi menu, and not when I launch it from a terminal.

Here I only occasionally get the following error:

[132794:0111/140950.464800:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[132794:0111/140957.830495:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[132794:0111/140957.832929:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

gaardhus avatar Jan 11 '24 13:01 gaardhus

Super weird, but it seems that a reboot has fixed the pop up errors.

gaardhus avatar Jan 11 '24 20:01 gaardhus

The issues has been fixed in the latest Nightly Build cc @Van-QA

louis-jan avatar Jan 12 '24 02:01 louis-jan