Closed mirenradia closed 2 years ago
I think this icons now used from binary
I think this icons now used from binary
I thought this might be the case but I couldn't see any obvious changes in their repo.
https://github.com/meganz/MEGAsync/blob/master/src/MEGASync/gui/TransfersStateInfoWidget.cpp#L25-L35
This file hasn't been modified recently and, from a quick search, nor have the other files that refer to this class (e.g. TransferStateInfoWidget.ui).
But Mega support added in 2017 (on 2021 added flatpak version for all apps ONLY, but not checked) I can't doing anything. You can check replaced tray icons or not (on /usr/share/icons/hicolor/scalable/status directory). If replcaced, but on application used red icons - this means that they are used from binary.
But Mega support added in 2017 (on 2021 added flatpak version for all apps ONLY, but not checked) I can't doing anything. You can check replaced tray icons or not (on /usr/share/icons/hicolor/scalable/status directory). If replcaced, but on application used red icons - this means that they are used from binary.
I'm a bit confused by what you mean here. This was working until only a few weeks ago.
Previously, icons were supported, I confirm this. But at what point they began to be used from the binary, I do not remember
Anyway, if now used icons from binary - we can't doing anything. You can install previous versions and check this... if needed. On last release paths for tray icons not changed: DEB package Version: 4.6.6-5.1
hardcode-tray database:
{
"name": "Megasync",
"app_path": [
"/usr/bin/megasync",
"/var/lib/flatpak/app/nz.mega.MEGAsync/"
],
"icons_path": [
"/usr/share/icons/hicolor/scalable/status/",
"/var/lib/flatpak/app/nz.mega.MEGAsync/current/active/files/share/icons/hicolor/scalable/status/"
],
"icons": {
"paused": {
"original": "megapaused.svg",
"theme": "megapaused"
},
"synching": {
"original": "megasynching.svg",
"theme": "megasynching"
},
"logging": {
"original": "megalogging.svg",
"theme": "megalogging"
},
"warning": {
"original": "megawarning.svg",
"theme": "megawarning"
},
"ok": {
"original": "megauptodate.svg",
"theme": "megauptodate"
},
"alert": {
"original": "megaalert.svg",
"theme": "megaalert"
}
}
}
Their repo: https://mega.nz/linux/repo/
On KDE worked:
Maybe on GTK used ubuntu-mono-dark
icons?
You can show screenshot?
It's very interested hm... on KDE icons not hardcoded and used from theme:
@mirenradia Try run from terminal with this option:
XDG_CURRENT_DESKTOP=KDE megasync
@mirenradia Try run from terminal with this option:
XDG_CURRENT_DESKTOP=KDE megasync
Hmm, I'm actually already using KDE Plasma (v5.18.8) so the XDG_CURRENT_DESKTOP
environment variable is already set to KDE
.
I'm not use Mega and only test it... But current version 4.6.6 worked fine with Papirus icon theme without hardcode-tray on KDE Neon with Plasma 5.24.4
Specifications
4.3-0~1115+pkg5~ubuntu20.04.1
(or4.3
fromhardcode-tray -v
output)Ubuntu 20.04.4
3.24
0.92.5-1ubuntu1.1
megasync
4.6.6-5.1
Expected behavior and actual behavior
The hardcoded megasync tray icon is not replaced (after a recent update).
Steps to reproduce the problem
megasync
from https://mega.io/desktop.sudo harcode-tray --apply
Looking at the output of
dpkg -L megasync
, I can see there are some status icons in/usr/share/icons/ubuntu-mono-dark/status
which is not in megasync.json but replacing these manually didn't seem to work for me.