desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Enable fractional scaling (#4776)

Open usatiuk opened this issue 3 years ago • 1 comments

Fixes #4776

Not sure if I put this line 100% in the right place, but it seems to work.

usatiuk avatar Jul 26 '22 09:07 usatiuk

AppImage file: Nextcloud-PR-4779-770ad08bfd63a96c6ab4f6289eaffd1bfe586a10-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

nextcloud-desktop-bot avatar Jul 28 '22 10:07 nextcloud-desktop-bot

I would also be very interested in the solution of the problem, on the dell notebooks you can not use nextcloud.

Hardexit avatar Oct 21 '22 08:10 Hardexit

Just as a bump, this will also fix these issues: #4040 #3561 (I think)

usatiuk avatar Nov 07 '22 20:11 usatiuk

Let's have it merged please, it is impossible to use with 4K monitors.

alphasixtyfive avatar May 02 '23 19:05 alphasixtyfive

Thanks for the fix. This fixes it for me.

I suppose this is also needed for the crashreporter window separately:

Index: desktop-3.9.0/src/crashreporter/main.cpp
===================================================================
--- desktop-3.9.0.orig/src/crashreporter/main.cpp
+++ desktop-3.9.0/src/crashreporter/main.cpp
@@ -25,6 +25,8 @@
 int main(int argc, char *argv[])
 {
     QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
+    QApplication::setHighDpiScaleFactorRoundingPolicy(
+            Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
 #ifdef Q_OS_WIN
     QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
 #endif // !Q_OS_WIN

badshah400 avatar Jul 04 '23 09:07 badshah400

seems mostly fine when running on top of wayland using Qt 5.15 except some icons are blurry and would need a fix before we can enable fractional scaling

Hi, do you see blurred icons only on the "main window" or everywhere (e.g. settings window)?

badshah400 avatar Jul 07 '23 06:07 badshah400

@badshah400 I tested the main dialog and saw one issue there this most probably should be fixed before that can be tested more thoroughly

mgallien avatar Jul 10 '23 16:07 mgallien