#1037936 Qt6: Dialog minimum size larger than screen

Package:
qbittorrent
Source:
qbittorrent
Description:
bittorrent client based on libtorrent-rasterbar with a Qt5 GUI
Submitter:
T. Joseph Carter
Date:
2023-06-15 09:39:02 UTC
Severity:
normal
Tags:
#1037936#5
Date:
2023-06-14 14:36:14 UTC
From:
To:
The new Qt6 version of qBittorrent apparently does a better job reading
my font size settings from XFCE. The result is that fonts are scaled up
in a way that's comfortably easier for a legally blind reader … except
the torrent options dialog no longer fits on screen.

I've tried shrinking this to fit, but the minimum size possible still
has to fit everything the dialog contains within that minimum dialog
size.

A solution to this might be to place the dialog's controls inside a
widget which can scroll if the dialog is smaller than its contents. I
don't really code Qt stuff, so I don't know what widget that would be,
but I'm betting the devs do.

Workaround for now is to know how to grab a window by something other
than the titlebar in your WM or whatever one does under Wayland and move
the titlebar offscreen so you can reach the options and buttons at the
bottom of the larger than the screen dialog.

#1037936#10
Date:
2023-06-15 07:02:30 UTC
From:
To:
Maybe the best is to configure a theme for qt{5,6} applications  ?

You can try this theme kde-style-oxygen-qt5

Then set QT_QPA_PLATFORMTHEME to qt5ct

export QT_QPA_PLATFORMTHEME=qt5ct

Install the qt5ct package

You can select the oxygen theme (or another one) with qt5ct.

Christian

#1037936#15
Date:
2023-06-15 09:35:20 UTC
From:
To:
I don't think your solution is a proper fix. Qt toolkit should be able
to deal with this sort of issue.

Please open a bug upstream to add screen shot, etc... I don't have a so
small screen.

https://github.com/qbittorrent/qBittorrent/issues/

Christian