meganz / MEGAsync

Easy automated syncing between your computers and your MEGA Cloud Drive
Other
1.64k stars 281 forks source link

MEGAsync icon in XFCE4 sistem tray #25

Closed jfernandz closed 7 years ago

jfernandz commented 8 years ago

Hi all! I am still with xfce4 MEGA integration and ... I would like ask about this glitch:

http://i.imgur.com/lJiF8F6.png

Do you think this could be your issue? or Maybe is XFCE devs thing?

Thank you so much! :P

polmr commented 8 years ago

@WyRe Sorry for the late response. I am unable to reproduce in an XFCE environment. It scales properly. However, xfce allows you to define the maximum icon size for the notification area: Panel -> panel preferences -> Items -> Notification Area -> Edit current selected item (cogwheel)

jfernandz commented 8 years ago

Well, I've got this issue because I've setup my maximum size of the icons in the system tray in 15px (the lowest) And the issue appears in system startup when xfwm4 is loaded from system init (for first time).

When I modify this value (maximum size of the icons in the system tray) with right click over system tray > properties (basically the same as you've pointed to me), the issue is fixed and icon returns to normal.

PS: I'm running in ArchLinux with xfce 4.12; another helpful info could it be my panel has 2 rows of 20px size each one.

polmr commented 8 years ago

Interesting .... I've been able to reproduce this with other distributions. It is definitely some XFCE thing. It only happens when you use the lowest size (being that 15, 13, 12 or whatever <I'm guessing that depends on resolution/other appearance settings>). This is solved by increasing the size, or reloading the pannel with: xfce4-panel -r. I would suggest you to write to XFCE guys. IMHO this is a corner case situation, so as to implement any dirty fix from our side (forcing a panel reload everytime megasync opens/using a tiny icon/...)

jfernandz commented 8 years ago

Ok, I'll try to contact with them and keep informing here, thank you so much!

polmr commented 8 years ago

It's been quite a long while... but, @WyRe is there any news on that?

jfernandz commented 8 years ago

Well, I've posted the issue in the bug tracker, but I haven't got answers,

https://bugzilla.xfce.org/show_bug.cgi?id=11323

Pival81 commented 8 years ago

@WyRe you should create a new issue, not post on one dated 2014.

jfernandz commented 7 years ago

It seems have been solved for xfce4-panel 4.12.1-1 in ArchLinux. I don't know if it has to do with my post, I don't think so but I've tested several times (rebooting) and now the icon is resized properly.

Maybe it was your last update, but now when I open Mega menu the xfce4-panel begins to blinking frantically. I've observed that happens when your panel is setup to hide automatically.

polmr commented 7 years ago

@WyRe, I am afraid that I cannot reproduce it. Anyway, I understand that this is a bug for xfce. megasync does nothing actively with the panel.

Pival81 commented 7 years ago

I've read somewhere else that you just need to use the appindicator, just install alltray and: alltray megasync

jfernandz commented 7 years ago

@polmr really is with 'intelligent autohide', sorry. @Pival81 xfce4 is based on gtk3 I think.

polmr commented 7 years ago

@WyRe, I've just been able to reproduce it. It seems xfce panel is having problems with Qt5 apps. See: https://forum.manjaro.org/t/flickering-panel-when-set-autohidden-on-click-notification-area-qt-icons/3810. It's been reported here already: https://bugzilla.xfce.org/show_bug.cgi?id=11733. For the moment you might want to avoid "intelligent autohide".

polmr commented 7 years ago

I'm closing this one since it is not an actual megasync issue. Hopefully this ticket will serve as reference if anyone is experiencing the same problem