meganz / MEGAsync

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

scaling quirks w/ HiDPI + Wayland #784

Open richardm1 opened 1 year ago

richardm1 commented 1 year ago

Plasma/Wayland scaled to 200%. The MEGAsync app freshly-installed works fine and is scaled correctly but the Add Folder (sync) dialog box has improper text scaling (i.e. huge text in a normal size dialog box).

Launching the app with GDK_DPI_SCALE=0.5 GDK_SCALE=2 corrects this text scaling but causes the client's context menu (i.e. clicking the client when minimized in the systray) to open at the display's upper boundary. Going beyond the Add Folder dialog, the file chooser opens at the wrong [too large] scale -- both text and the box itself.

Looks like three different versions of gtk are at play here; all of them using Xwayland? There's a rat's nest of ini's and rcfiles involved when attempting to re-scale legacy apps on modren systems -- can I perhaps avoid the trial-and-error and just throw another env hack at this?

jx-mega commented 1 year ago

Hello,

Thank you for your message.

Does the behaviour happen all the time? Could you please confirm when the issue occurs, are you LOGGED IN to the MEGA account in the desktop app and the sync path is ENABLED?

Are you syncing among multiple computers?