keeweb icon indicating copy to clipboard operation
keeweb copied to clipboard

Minimize to tray

Open YouSysAdmin opened this issue 6 years ago • 13 comments

Describe the bug Multiple display of the tray icon when minimized

To Reproduce Steps to reproduce the behavior:

  1. Minimize to tray
  2. Click in tray "Open KeeWeb"
  3. Minimize KeeWeb
  4. GoTo 1.

Expected behavior One KeeWeb tray icon.

Screenshots

Environment KeeWeb 1.8.2 (ebe7d35c, 2019-04-22) Electron v. 4.0.1

uname -a
Linux yousysadmin 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

YouSysAdmin avatar May 19 '19 17:05 YouSysAdmin

I can still reproduce it on Ubuntu and latest Electron unfortunately. Not possible to fix until this is properly fixed: https://github.com/electron/electron/issues/17622

antelle avatar Aug 17 '19 13:08 antelle

@antelle Work fine in arch linux + xfce. The problem only in the gnome environment (tested in ubuntu & centos7).

YouSysAdmin avatar Aug 17 '19 15:08 YouSysAdmin

Yes, although we call tray.destroy, it doesn't get destroyed. Actually we don't have any other control over this tray icon apart from calling this method, so the bug will be there for some time until it's fixed in Electron.

antelle avatar Aug 17 '19 15:08 antelle

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 09 '19 06:09 stale[bot]

The bot was misconfigured, sorry for a wrong notification.

antelle avatar Sep 09 '19 06:09 antelle

HI, it appears that electron has fixed this bug on version >=7.0.0 which are the one used on this project (https://github.com/electron/electron/pull/18196). However this bug is still happening on Gnome (Fedora 31). I tried to update electron version from 7.0.0 to 7.1.0 but nothing changes

aleskandro avatar Nov 20 '19 10:11 aleskandro

I solved this problem cardinally - I deleted the Gnome. No Gnome, no problem :)

P.S. Perfectly working in the i3wm

YouSysAdmin avatar Dec 04 '19 10:12 YouSysAdmin

Same problem with Ubuntu 20.04 LTS

  • "Minimize the app instead of close" checked (if not, no problem).

KeeWeb v1.15.6 (af49645, 2020-08-08) Environment: electron v9.0.4 User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) KeeWeb/1.15.6 Chrome/83.0.4103.104 Electron/9.0.4 Safari/537.36

The problem doesn't exist on Ubuntu 20.10 Groovy

hitodev avatar Aug 26 '20 15:08 hitodev

A solution could be to keep the tray icon also when the app is activated. There is actually no need to remove the tray icon when the app window is opened.

3mb3dw0rk5 avatar Dec 03 '20 11:12 3mb3dw0rk5

Hello, any updates regarding the issue ? still present in ubuntu 21.04... how can I help :) ?

el3ctrician avatar Aug 23 '21 15:08 el3ctrician

Still doesn't work :disappointed:

Ubuntu 20.04.3 LTS KeeWeb v1.18.7 (dfc6201, 2021-07-18) Environment: electron v12.0.7 User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) KeeWeb/1.18.7 Chrome/89.0.4389.128 Electron/12.0.7 Safari/537.36

delameter avatar Oct 26 '21 14:10 delameter

Yes, still present, for me on fedora 35.

Tamono avatar Dec 18 '21 22:12 Tamono

I still have the same problem on Cinnamon. Is there any news about this? The issue that @antelle mentioned has been automatically closed due to inactivity, but it seems it still hasn't been resolved.

viktordw avatar Jan 17 '24 09:01 viktordw