wire-desktop icon indicating copy to clipboard operation
wire-desktop copied to clipboard

Linux Indicator-plugin icon is too big

Open danielroehrig opened this issue 6 years ago • 19 comments

Using Ubuntu Budgie 18.10 the indicator icon is now too big. Tested on multiple desktops (with more or less the same setup). wireicontoobig

Edit: 3.5.2881

danielroehrig avatar Jan 05 '19 16:01 danielroehrig

The size looks fine on KDE, but the icon is blurry. I suspect that wire-desktop only has a single size for the icon (64x64 ?) and Ubuntu changes the notification area size to accommodate 64x64, while KDE scales the icon down to fit leading to a blurry icon.

wire-notification-icon-screenshot

Seen with wire-desktop 3.0.2816 and 3.5.2881

isj4 avatar Jan 18 '19 16:01 isj4

Using Ubuntu Budgie 18.10 the indicator icon is now too big. Tested on multiple desktops (with more or less the same setup). wireicontoobig

Edit: 3.5.2881

This is also the case on recent versions of Linux Mint.

ghost avatar Jan 18 '19 23:01 ghost

I have the same problem on 18.04 budgie, see: https://github.com/solus-project/budgie-desktop/issues/701#issuecomment-456822055

This apparently needs to be fixed in the application (I use 3.5.2881 / 2019.01.17.1508) Others have similar issue (other app, but same problem) with mate. So I assume this would also affect wire on mate: https://0xacab.org/leap/bitmask-vpn/issues/67

chaos-prevails avatar Jan 23 '19 16:01 chaos-prevails

Quick fix: Shrink the tray.png in /opt/Wire/resources/app/img/tray-icon/tray to 22px and restart wire. It works, but it's just a band-aid.

Edit: I meant tray.gnome.png and you should also change the tray-with-badge variant.

danielroehrig-mm avatar Jan 28 '19 10:01 danielroehrig-mm

Why was this issue closed? Wire just received an update and I was greeted by this my budgie panel this morning

I will now go an resize the icons again, so I wouldn't call it fixed.

danielroehrig-mm avatar Feb 25 '19 08:02 danielroehrig-mm

It seems like budgie is using the tray.gnome.png instead of the tray.png for the app indicator. I don't know if this is a budgie thing or a wire thing. Is wire assuming, that budgie is unity or gnome?

danielroehrig-mm avatar Feb 25 '19 08:02 danielroehrig-mm

I don't know if this info helps to fix the issue. If you choose a language in Wire, Wire will restart. After the restart the icon is normal in Ubuntu Budgie. I don't know what the difference is

sirdrakeistda avatar Mar 22 '19 13:03 sirdrakeistda

I can confirm @sirdrakeistda 's weird workaround: I choose a different language in the "Wire > Languages" dropdown and the icon size is fine after it restarts, on my Ubuntu Budgie 18.04-derivative. However, once I close Wire, and reopen it, the icon is back to huge.

stragu avatar May 25 '19 12:05 stragu

@stragu this is indeed a strange workaround :smiley: Let me investigate on this.

ffflorian avatar Jul 16 '19 07:07 ffflorian

Just so you know, this is still the case in 3.10.2904 on Ubuntu Budgie 18.04.

stragu avatar Aug 20 '19 11:08 stragu

Yes, but they changed the folder names so my workaround needs to be changed accordingly.

danielroehrig-mm avatar Aug 20 '19 11:08 danielroehrig-mm

I get a squeezed icon with Solus-Budgie. image

The icon is still too big with the language fix imo. image

aventustudio avatar Oct 04 '19 15:10 aventustudio

@danielroehrig @danielroehrig-mm is this still the case for you with Wire Desktop 3.11.2912?

ffflorian avatar Nov 07 '19 12:11 ffflorian

@ffflorian I am still getting the same issue with 3.11.2912 in Ubuntu 18.04 with Budgie.

stragu avatar Nov 12 '19 07:11 stragu

I still have this problem with 3.12.2916 (Ubuntu, amd64 deb). Even worse - the workaround posted by @ffflorian is not applicable, resources seems to be gone and now there is resources.pak ?

jumski avatar Mar 11 '20 11:03 jumski

@ffflorian I am still getting the same issue with Wire 3.21.2936 in Ubuntu 20.04.1 with Budgie. The change language workaround is working as @stragu and @sirdrakeistda has told. It seems that on language switch there is some code routine executed which is not executed on startup which is resizing the system tray icon.

robertfausk avatar Jan 05 '21 10:01 robertfausk

It's (still) very very annoying to have to restart wire with the language switch workaround on every reboot :-/

@ffflorian Did you found some time to investigate the issue? Or is there something I can do about this? I am still getting the same issue with "Wire Version 3.21.2936" and "Wire for Web Version 2021.02.02.15.16" in Ubuntu 20.04.2 with Budgie.

This is my electron.log from wire:

[2021-02-07 12:27:20] [@wireapp/desktop/ConfigurationPersistence] Reading config file from "/home/robert/.config/Wire/config/init.json" ...
[2021-02-07 12:27:20] [@wireapp/desktop/ConfigurationPersistence] Restoring "enableSpellChecking"
[2021-02-07 12:27:20] [@wireapp/desktop/ConfigurationPersistence] Restoring "env"
[2021-02-07 12:27:20] [@wireapp/desktop/ConfigurationPersistence] Initializing ConfigurationPersistence
[2021-02-07 12:27:20] [@wireapp/desktop/ConfigurationPersistence] Restoring "showMenu"
[2021-02-07 12:27:21] [@wireapp/desktop/main] Initializing Wire v3.21.2936 ...
[2021-02-07 12:27:21] [@wireapp/desktop/CoreProtocol] Registering custom protocol "wire" ...
[2021-02-07 12:27:20] [@wireapp/desktop/ConfigurationPersistence] Restoring "shouldAutoLaunch"
[2021-02-07 12:27:21] [@wireapp/desktop/ElectronWrapperInit] webviewProtection init
[2021-02-07 12:27:21] [@wireapp/desktop/lifecycle] Checking if we are the first instance ... true
[2021-02-07 12:27:21] [@wireapp/desktop/ConfigurationPersistence] Restoring "enableSpellChecking"
[2021-02-07 12:27:20] [@wireapp/desktop/ConfigurationPersistence] Restoring "locale"
[2021-02-07 12:27:21] [@wireapp/desktop/CoreProtocol] App ready, looking for deep link in arguments ...
[2021-02-07 12:27:21] [@wireapp/desktop/ConfigurationPersistence] Restoring "fullscreen"
[2021-02-07 12:27:21] [@wireapp/desktop/CoreProtocol] No deep link found in arguments.
[2021-02-07 12:27:21] [@wireapp/desktop/ConfigurationPersistence] Restoring "bounds"
[2021-02-07 12:27:21] [@wireapp/desktop/ConfigurationPersistence] Restoring "showMenu"
[2021-02-07 12:27:21] [@wireapp/desktop/ConfigurationPersistence.js] Reading config file from "/home/robert/.config/Wire/config/init.json" ...
[2021-02-07 12:27:21] [@wireapp/desktop/ConfigurationPersistence.js] Initializing ConfigurationPersistence
[2021-02-07 12:27:21] [@wireapp/desktop/ConfigurationPersistence.js] Restoring "locale"
[2021-02-07 12:27:21] [@wireapp/desktop/ConfigurationPersistence] Restoring "env"
[2021-02-07 12:27:22] [@wireapp/desktop/ConfigurationPersistence.js] Reading config file from "/home/robert/.config/Wire/config/init.json" ...
[2021-02-07 12:27:22] [@wireapp/desktop/ConfigurationPersistence.js] Initializing ConfigurationPersistence
[2021-02-07 12:27:23] [@wireapp/desktop/ConfigurationPersistence.js] Restoring "locale"
[2021-02-07 12:27:24] [@wireapp/desktop/preload-webview.js] Attempting to register event handlers...
[2021-02-07 12:27:24] [@wireapp/desktop/preload-webview.js] Registering event handlers
[2021-02-07 12:27:25] [@wireapp/desktop/preload-webview.js] Received amplify event "wire.webapp.team.info": "{"accentID":1,"name":"Robert Freigang","picture":"data:application/octet-stream;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAA...","teamRole":"z.team.TeamRole.ROLE.NONE","userID":"c953c49f-2ddb-4c49-921e-5d33f7eac689","availability":0}", forwarding event ...
[2021-02-07 12:27:25] [@wireapp/desktop/preload-webview.js] Received amplify event "wire.webapp.lifecycle.loaded", forwarding event ...
[2021-02-07 12:27:26] [@wireapp/desktop/preload-webview.js] Received amplify event "wire.webapp.lifecycle.unread_count" (count: "0"), forwarding event ...
[2021-02-07 12:27:27] [@wireapp/desktop/preload-webview.js] Received amplify event "wire.webapp.lifecycle.unread_count" (count: "0"), forwarding event ...
[2021-02-07 12:44:03] [@wireapp/desktop/CoreProtocol] Second instance detected, looking for deep link in arguments ...
[2021-02-07 12:44:03] [@wireapp/desktop/CoreProtocol] No deep link found in arguments.
[2021-02-07 12:44:03] [@wireapp/desktop/WindowManager] Got primaryWindow with ID "1"
[2021-02-07 12:45:29] [@wireapp/desktop/WindowManager] Got primaryWindow with ID "2"

This is my electron.old from wire:

[2021-02-07 12:25:51] [@wireapp/desktop/ConfigurationPersistence] Restoring "env"
[2021-02-07 12:25:51] [@wireapp/desktop/ConfigurationPersistence] Initializing ConfigurationPersistence
[2021-02-07 12:25:51] [@wireapp/desktop/ConfigurationPersistence] Restoring "enableSpellChecking"
[2021-02-07 12:25:51] [@wireapp/desktop/ConfigurationPersistence] Restoring "showMenu"
[2021-02-07 12:25:51] [@wireapp/desktop/ConfigurationPersistence] Restoring "locale"
[2021-02-07 12:25:52] [@wireapp/desktop/main] Initializing Wire v3.21.2936 ...
[2021-02-07 12:25:51] [@wireapp/desktop/ConfigurationPersistence] Restoring "shouldAutoLaunch"
[2021-02-07 12:25:52] [@wireapp/desktop/ElectronWrapperInit] webviewProtection init
[2021-02-07 12:25:52] [@wireapp/desktop/lifecycle] Checking if we are the first instance ... true
[2021-02-07 12:25:52] [@wireapp/desktop/CoreProtocol] Registering custom protocol "wire" ...
[2021-02-07 12:25:52] [@wireapp/desktop/ConfigurationPersistence] Restoring "enableSpellChecking"
[2021-02-07 12:25:51] [@wireapp/desktop/ConfigurationPersistence] Reading config file from "/home/robert/.config/Wire/config/init.json" ...
[2021-02-07 12:25:52] [@wireapp/desktop/CoreProtocol] App ready, looking for deep link in arguments ...
[2021-02-07 12:25:52] [@wireapp/desktop/CoreProtocol] No deep link found in arguments.
[2021-02-07 12:25:52] [@wireapp/desktop/ConfigurationPersistence] Restoring "bounds"
[2021-02-07 12:25:52] [@wireapp/desktop/ConfigurationPersistence] Restoring "fullscreen"
[2021-02-07 12:25:52] [@wireapp/desktop/ConfigurationPersistence] Restoring "showMenu"
[2021-02-07 12:25:52] [@wireapp/desktop/ConfigurationPersistence.js] Reading config file from "/home/robert/.config/Wire/config/init.json" ...
[2021-02-07 12:25:52] [@wireapp/desktop/ConfigurationPersistence.js] Initializing ConfigurationPersistence
[2021-02-07 12:25:52] [@wireapp/desktop/ConfigurationPersistence.js] Restoring "locale"
[2021-02-07 12:25:52] [@wireapp/desktop/ConfigurationPersistence] Restoring "env"
[2021-02-07 12:25:53] [@wireapp/desktop/ConfigurationPersistence.js] Reading config file from "/home/robert/.config/Wire/config/init.json" ...
[2021-02-07 12:25:53] [@wireapp/desktop/ConfigurationPersistence.js] Initializing ConfigurationPersistence
[2021-02-07 12:25:54] [@wireapp/desktop/ConfigurationPersistence.js] Restoring "locale"
[2021-02-07 12:25:54] [@wireapp/desktop/preload-webview.js] Attempting to register event handlers...
[2021-02-07 12:25:54] [@wireapp/desktop/preload-webview.js] Registering event handlers
[2021-02-07 12:25:55] [@wireapp/desktop/preload-webview.js] Received amplify event "wire.webapp.team.info": "{"accentID":1,"name":"Robert Freigang","picture":"data:application/octet-stream;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAA...","teamRole":"z.team.TeamRole.ROLE.NONE","userID":"c953c49f-2ddb-4c49-921e-5d33f7eac689","availability":0}", forwarding event ...
[2021-02-07 12:25:56] [@wireapp/desktop/preload-webview.js] Received amplify event "wire.webapp.lifecycle.loaded", forwarding event ...
[2021-02-07 12:25:57] [@wireapp/desktop/preload-webview.js] Received amplify event "wire.webapp.lifecycle.unread_count" (count: "0"), forwarding event ...
[2021-02-07 12:25:58] [@wireapp/desktop/preload-webview.js] Received amplify event "wire.webapp.lifecycle.unread_count" (count: "0"), forwarding event ...
[2021-02-07 12:27:12] [@wireapp/desktop/WindowManager] Got primaryWindow with ID "1"
[2021-02-07 12:27:18] [@wireapp/desktop/ConfigurationPersistence] Saving "locale" with value: en
[2021-02-07 12:27:20] [@wireapp/desktop/lifecycle] Relaunching the app ...
[2021-02-07 12:27:20] [@wireapp/desktop/lifecycle] Initiating app quit ...
[2021-02-07 12:27:20] [@wireapp/desktop/ConfigurationPersistence] Saving configuration to persistent storage in "/home/robert/.config/Wire/config/init.json":
[2021-02-07 12:27:20] [@wireapp/desktop/lifecycle] Clearing cache ...
[2021-02-07 12:27:20] [@wireapp/desktop/lifecycle] Exiting ...

And this my /home/robert/.config/Wire/config/init.json

{
  "configVersion": 1,
  "locale": "en",
  "shouldAutoLaunch": true
}

Hope it helps! :-)

robertfausk avatar Feb 07 '21 12:02 robertfausk

Still the case on Budgie with Wire-3.21.2936_amd64.deb from GitHub. The workaround with language change does fix it.

jpastuszek avatar Feb 27 '21 22:02 jpastuszek

@danielroehrig @danielroehrig-mm is this still the case for you with Wire Desktop 3.11.2912?

@ffflorian It is still the case with Wire Version 3.21.2936 and it (bug & workaround at every start) results in a reallly really bad user experience :disappointed:

robertfausk avatar Oct 17 '21 07:10 robertfausk