MEGAsync icon indicating copy to clipboard operation
MEGAsync copied to clipboard

Icons are pixelated

Open QazCetelic opened this issue 2 years ago • 5 comments

image

System Information

Operating System: Fedora 34 KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 Kernel Version: 5.16.8-100.fc34.x86_64 (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz Memory: 15.5 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630

QazCetelic avatar Feb 15 '22 06:02 QazCetelic

Hello, just wanted to clarify. Is the issue about the pixelated icons? also, which version of Megasync you are using please? Thank you.

angelds-mega avatar Feb 16 '22 02:02 angelds-mega

Yes, this is about the pixelated icons. I'm using version 4.6.1.

QazCetelic avatar Feb 16 '22 07:02 QazCetelic

Could be due to fragmented scaling setting in windows laptops with high dpi screens. I suggest changing display scaling in OS to 100% and see whether icon pixelation happens.

https://support.microsoft.com/en-us/topic/windows-scaling-issues-for-high-dpi-devices-508483cd-7c59-0d08-12b0-960b99aa347d

sanjaylord avatar Feb 20 '22 16:02 sanjaylord

Same problem here.

However it's not related to Scaling for me.

I use 4k monitors running native 4k resolution on 2 machines (each machine has 1 monitor) running the same Arch Linux distro. Results are a little different than OP:

  • Systray icon is pixelated and ugly upon normal boot process;
  • If I quit megasync and relaunch it, systray icon is perfect;
  • Plasma/GTK windows are fine with non-pixelated icons even if I don't relaunch megasync;
  • Changing resolution to 2K or scaling up (125-150%) or using xrandr within SDDM script to scale up does not change behavior;
  • Launching megasync with env GDK_DPI_SCALE=0.5 or the opposite env GDK_DPI_SCALE=5 does not change behavior nor the size of the systray icon.

I'm currently testing a workaround in order to launch megasync on system boot without user intervention and still showing up non-pixelated.

Running Plasma 5.24.2 and megsync 4.6.3 995b5c9.

EDIT: Ok I found a workaround, you have to delay the start of megasync so that is starts AFTER latte-dock. It could be related to latte-dock, never thought of that. I am running Garuda linux and by default is uses latte-dock and no KDE panel at all. Systray is included in latte-dock. Timing the launch of megasync after latte-dock does the trick. Hoping someone with the same situation as me falls here. I feel you guys! :)

EDIT 2: Hang on, I'll finish my post one day. loll Some people might think that within the megasync.desktop file created by megasync package upon installation (~/.config/autostart, for KDE), the variable at the end X-GNOME-Autostart-Delay=60 will delay by 60sec the launch. Well that could and should be true for GNOME, but it's not supported in KDE and I don't know for other DEs (XFCE, LXQT, MATE, CINNAMON, LXDE, PANTHEON, DEEPIN, and so on). Depending on your DE the exact solution may vary, Google is full of responses on how to delay the start of an application at boot.

FGD-Garuda avatar Feb 28 '22 23:02 FGD-Garuda

I just upgraded to 4.6.6-2 (megasync-bin AUR package) on Manjaro KDE Plasma 5.24.4 and the lovely red system tray icon has been changed to a horrible low-res black and white one. On my HTPC attached to my 4K TV it is very pixelated as described in the post above by FGD-Garuda, however I am using 200% scaling so I guess that may have something to do with it. Exiting Megasync and restarting it manually improves the icon's appearance here too.

On my other desktop (1080p monitor) it's nearly invisible (I have the same problem with the Steam icon).

OK, it's not a big deal but I wonder why the change. I can't see where I can change it back. I believe the new icon may be from the Mac icon set which looks rubbish compared to the Windows icon.

RodJLinux avatar Apr 22 '22 12:04 RodJLinux