ciderapp / Cider-2

Primary public repository for Cider 2.x
https://cider.sh
153 stars 2 forks source link

Click app icon to raise up a running client in the tray will cause JavaScript error. #710

Open Cardidi opened 1 month ago

Cardidi commented 1 month ago

Preflight Checklist

Download Source

Itch

Operating System

Ubuntu 24.04 LTS (Linux 6.8.0-40-lowlatency) with GNOME 46

Commit Hash

d46a15d346cc8cc7ae5dfc5ddd19808e291e9bd7

Connect Instance ID

not-logged-in

Build Timestamp

2024/5/31 02:59:57

Describe the Bug

Sometimes I can not open Cider window from my tray, so I put my Cider on the Dash to let me easily open window. But everytime I trying to open a hiding window by clicking app icon on the Dash, window will open with a error report. I don't know if this behavior is correct or it just a bug.

Steps to Reproduce

  1. Open a Cider instance from App Grid or Dash.
  2. Set 'Setting > General > Close to tray' to true.
  3. Play music and close it to tray.
  4. Open Cider from App Grid or Dash again.
  5. A JavaScript error report window has shown up with previous Cider instance window opened.

Anything else?

Logfile:

[2024-08-14 11:30:20.301] [warn]  InstanceHandler:second-instance Instance started with /opt/Cider/cider,--allow-file-access-from-files
[2024-08-14 11:30:20.507] [warn]  InstanceHandler:second-instance Instance started with /opt/Cider/cider,--allow-file-access-from-files
[2024-08-14 11:30:20.509] [warn]  [Cider] Another instance has been found, quitting.
[2024-08-14 11:30:20.515] [debug] [module:nanoleaf]  Nanoleaf is ready
[2024-08-14 11:30:22.625] [info]  [koa:serve] Serving SPA from local {
  zipPath: '/home/cardidi/.config/sh.cider.electron/spa.zip',
  shouldZip: true,
  port: 33087
}
[2024-08-14 11:30:22.632] [info]  [main:ready] App is ready. Component Status: {
  oimompecagnajdejgnnjijobebaeigek: {
    status: 'new',
    title: 'Widevine Content Decryption Module',
    version: '4.10.2710.0'
  }

Error Report Snapshot:

image

github-actions[bot] commented 1 month ago

Hello @Cardidi :wave:

We really appreciate you taking the time to report this issue, please double check your issue to make sure you are clear and concise in your description. This will help us to help you as quickly as possible.

We'd like to ask you be patient and we will get back to you as soon as we can.

In the meantime, take a look at our FAQs which may answer your question.

Thanks again and we hope you enjoy the app! :smiley: