Open woprandi opened 8 years ago
I do have the same issue on Fedora 23
After upgrading to Fedora 24. The issue is still there
I have the same issue on Fedora 24, GNOME shell. It's annoying, as there is no possibility to resize the window. So the indicators for disk space in the cloud and up-/download cannot be shown. EDIT: I use the seafile-client from the official Fedora repository
I set up a second system with Fedora 24 and GNOME shell, but the window had a comfortable size.
I suppose, that this issue correlates with the used screen size. Can you two support this claim, maybe with your screen sizes and resolutions?
14" Lenovo Thinkpad Laptop
@FeuRenard I confirm that.
On external monitors (~22/23", 1920x1080) -> good size On laptop screen (14", 1920x1080) -> issue
Same problem here :(
I'm also having this problem on the latest XFCE4. But a friend, using xfce aswell, doesn't have the problem.
I'm running Manjaro Linux but switched to xfce a few days ago. I installed/compiled seafile on gnome-shell.
I have the same issue on my laptop (1080p) running arch with i3.
On my computer VLC also has this issue, it seems to be something Qt related.
Adding
export QT_AUTO_SCREEN_SCALE_FACTOR=0.8
to ~/.profile
and rebooting fixed it for me :) Can others confirm?
@jhasse: Good work around! Can confirm it is working for me, both with Seafile and VLC.
@jhasse Amazing work! Many thanks!! It works like charm, also with Ghostwriter editor! (I didn't have .profile file, just created with this line) :)
@jhasse Thx, that works.
How can we include that fix in the seafile client or will this mess up the scaling for others?
I think we'll need to ask the Qt devs about it. I couldn't find a bug report there, should we open one?
Yeah, looks like more QT issue as it's happening also with other programs.
This problem is due to https://github.com/haiwen/seafile-client/blob/292da5f3cf96cc24d678acafe7dfe4570627e831/src/main.cpp#L70 and it's really annoying. The autoscale feature since QT5.6 sets a 2x scaling on display with >144 DPI (like my fullhd 12.5" laptop display).
EDIT: for reference see https://bugzilla.redhat.com/show_bug.cgi?id=1381828. A quick fix is to revert this change and let those people with real hiDPI 'manually' scale the client instead of forcing all other to 2x.
It worked until last update of QT I think (I'm using Antergos).
Jop, same here....huge window again with client 6.0.7 on Ubuntu Gnome 17.04, gnome 3.2.4.2.
I just installed Fedora 26 and now the client window is sized correctly on both of my machines/screens. So this issue doesn't exist any longer for me.
Fedora 26 (Gnome Shell) Seafile Client 6.0.4
I confirm @FeuRenard, It seems no longer present in Fedora 26
@FeuRenard Fedora patched QT to use 2x scaling at 192 dpi (like GNOME) instead of 144 dpi. https://bugzilla.redhat.com/show_bug.cgi?id=1381828
@woprandi it is present in Fedora 25 as well. See my previous comment.
I'm on Arch linux and had to add the following lines to ~/.profile export QT_AUTO_SCREEN_SCALE_FACTOR=1 export QT_SCALE_FACTOR=0.6
I use a 13.3" display with 1080p resolution. The commands are described in http://doc.qt.io/qt-5/highdpi.html Apparently QT_AUTO_SCREEN_SCALE_FACTOR is a boolean. I guess something about it was changed so that setting it to 0.8 as jhasse suggested does not work anymore.
@tobiasmllr That worked for me. Many thanks!!! :)
@tobiasmllr Your workaround is OK to Seafile, but it affects other apps as well. For instance QOwnNotes (Qt 5.9) displays tiny Menus and navigation panels. Clementine (Qt 4.8), on the other hand, work as intended.
@ludenticus You can call the QT* settings for each program separately if you wrap them in a shell script. To test this I removed the QT lines from my ./profile
and created the script seafile_scaled.sh
:
#!/bin/bash
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_SCALE_FACTOR=0.6
seafile-applet
You then have to make the script executable chmod +x seafile_scaled.sh
and call that instead of seafile-applet
.
@tobiasmllr thx, that works like a charm!
EDIT: or, well let's say better. For me, the client window has an appropriate size now and i can still use vlc, qbittorrent, etc. in a normal size. But the settings windows and the context menu of the seafile-applet are pretty small in relation to the client window.
So I'm not sure what the exact problem is with seafile-applet
@tobiasmllr Thanks for the workaround. However, as @fuelflo states, now the context menu is quite small. In that case, I prefer the oversized applet, as the «only» problem is that I don't see the bottom of the window
If you don't use scaling at all, you can disable it by putting QT_AUTO_SCREEN_SCALE_FACTOR=0
into your /etc/environment, ~/.profile, /etc/profile.d/ etc. It's described here https://blog.qt.io/blog/2016/01/26/high-dpi-support-in-qt-5-6/
Problem fixed by itself. I deleted .profile file and apparently everything seems to be working now. I also had some issues with Nexcloud and it's fine as well. Running Antergos and last versions of the software.
most elegant solution I found was to modify the .desktop file for the applet this will be overwritten when a new packaged version is installed (which hopefully fixes the issue). to do this:
sudo vim /usr/share/applications/seafile.desktop
...
# fixing huge scale problem
# https://github.com/haiwen/seafile-client/issues/809
Exec=env QT_AUTO_SCREEN_SCALE_FACTOR=0 seafile-applet
...
Why won't the devs add this as option for the client? It's such an easy fix.
Hi,
I use the seafile client on Fedora 23 (GNOME Shell) with this repo : https://copr.fedorainfracloud.org/coprs/pkerling/seafile/
Since the version 5.1.1 (this issue was not present on 5.0.7), the client is appears "huge" (as if I zoomed)
With multi monitors, I have not this issue if I drag the window on a external monitor.