You are not logged in.

#1 2017-07-05 21:09:26

Brxm
Member
Registered: 2017-07-05
Posts: 2

Scaling issues with some Qt application

I've had this issue for some time now but it never really bothered me as I was only seeing this in qBittorrent.
I recently installed qtox and the GUI is really messed up it's not easy to read messages.
The weird thing is that it's not happening in all Qt application, for example keepassx2 works fine.

Here is some information I think is relevant
/etc/X11/xorg.conf.d/90-monitor.conf

Section "Monitor"
	Identifier	"<default monitor>"
	DisplaySize	293 165 # monitor size given by xrandr
EndSection
$ uname -a
Linux laptop 4.11.7-1-ARCH #1 SMP PREEMPT Sat Jun 24 09:07:09 CEST 2017 x86_64 GNU/Linux
$ qbittorrent -v
qBittorrent v3.3.13
$ keepassx2 -v
keepassx 2.0.3
$ qtox -v
[20:42:04.508 UTC] persistence/settings.cpp:133 : Debug: "Loading settings from /home/user/.config/tox/qtox.ini"
qTox 
Git commit: b73603b45a32e63a649294537a62a9f11176c73d
$ i3 -v
i3 version 4.13-non-git © 2009 Michael Stapelberg and contributors

My WM is i3-gaps

Here is a picture of qBittorrent
https://cdn.discordapp.com/attachments/ … -53-28.png
As you can see the scaling on some icons is really weird and messes with the GUI. qBittorrent uses qt 5.8.0 so it's not related to the recent update.

I hope I didn't mess up this post, it's my first one.

Last edited by jasonwryan (2017-07-05 21:20:38)

Offline

#2 2017-07-05 21:20:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Scaling issues with some Qt application

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-07-07 16:09:50

eleius
Member
Registered: 2017-04-25
Posts: 28

Re: Scaling issues with some Qt application

Exactly the same issue here with QBittorrent in Gnome Shell. My xrandr reports the following:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
XWAYLAND0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 290mm x 170mm
   1920x1080     59.88*+

Edit: if I do the following QBittorrent looks normal, although small (not scaled):

QT_AUTO_SCREEN_SCALE_FACTOR=0 qbittorrent

Last edited by eleius (2017-07-07 16:13:21)

Offline

#4 2017-07-07 18:32:42

Brxm
Member
Registered: 2017-07-05
Posts: 2

Re: Scaling issues with some Qt application

QT_AUTO_SCREEN_SCALE_FACTOR=0 qbittorrent

This works for me too and it actually look like it use to. Now how do I make it the default?

Offline

#5 2017-07-07 22:07:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,406

Re: Scaling issues with some Qt application

Offline

#6 2017-07-08 05:36:19

eleius
Member
Registered: 2017-04-25
Posts: 28

Re: Scaling issues with some Qt application

The only problem is, qbittorrent will not be scaled at all. I'd prefer a solution where qt software is scaled correctly so I don't have to look at the screen with a magnifying glass...

Offline

Board footer

Powered by FluxBB