Criptext / Criptext/Criptext-Email-React-Client

Tray icon disappears in the last version of criptext 0.30.1-1 - Linux

Aperta
#1,509 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
75
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Describe the bug**
The tray icon dissapear in the last version of criptext 0.30.1.1, the tray icon never appears in the tray-bar, after review the cli output im sure its a problem related to the upgrade version not kernel or electron related, after back to the version 0.29.4-1 all works perfect.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'criptext app'
2. Open 'the app'
3. Close 'the app'
4. The tray icon never appears and the app process runs behind until you "kill" it or close the app from file -> quit

**Expected behavior**
On other versions if you close the app (from X icon), the app process run and you can see a tray icon informing the app its running, you can close or open (and execute other options) from tray icon. (its a visual alert icon near to the system tray icons).

**Screenshots (Optional)**
If applicable, add screenshots to help explain your problem.

**Device and System information (please complete the following information):**
- Device: [Thinkpad T4XX]
- OS Version: [Arch Linux x86_64 // 5.8.4-arch1-1 // Electron v9.2.1]
- App Version: [criptext 0.30.1-1]

**Additional information**
i run the app from terminal this is the output from criptext 0.30.1-1 version:

```
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
(electron) 'setResizable function' is deprecated and will be removed. Please use 'resizable property' instead.
{"message":"statusCode: 200","level":"info","timestamp":"2020-08-18T12:17:21.749Z"}
{"message":"Database Current Version : {"id":1,"value":4}","level":"info","timestamp":"2020-08-18T12:17:22.222Z"}
(electron) 'getBadgeCount function' is deprecated and will be removed. Please use 'badgeCount property' instead.
(node:13816) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9.
(node:13816) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9.
Checking for update
{"message":"Backups : []","level":"debug","timestamp":"2020-08-18T12:17:24.044Z"}
Update for version 0.30.1 is not available (latest version: 0.30.1, downgrade is disallowed).
```

I run again after downgrade to 0.29.4 version:

```
{"message":"statusCode: 200","level":"info","timestamp":"2020-08-18T12:26:42.768Z"}
{"message":"Backups : []","level":"debug","timestamp":"2020-08-18T12:26:45.270Z"}
Checking for update
Found version 0.30.1 (url: Criptext-0.30.1.AppImage)
Downloading update from Criptext-0.30.1.AppImage
updater cache dir: /home/c/.cache/criptext-updater
No cached update info available
Error: Error: APPIMAGE env is not defined
at newError (/opt/criptext-bin/resources/app.asar/node_modules/builder-util-runtime/out/index.js:212:17)
at Object.task (/opt/criptext-bin/resources/app.asar/node_modules/electron-updater/out/AppImageUpdater.js:106:52)
at AppImageUpdater.executeDownload (/opt/criptext-bin/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:741:25)
```

the 0.29.4 version works perfectly, the 0.30.1-1 version dont (tray icon vanished).

Thanks and i hope you can look this issue before the next release.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia riproducendo l’icona dell’area di notifica mancante su Arch Linux con Criptext 0.30.1-1 e confrontala con 0.29.4-1, usando l’app Electron e l’output del terminale descritti nell’issue. Esamina il comportamento dell’icona dell’area di notifica quando si chiude l’app; il lavoro è completato quando il processo rimane disponibile e l’icona dell’area di notifica supporta la riapertura, le opzioni e l’uscita.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
electron, javascript
Ambito
desktop
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.