Bug#1037936: Qt6: Dialog minimum size larger than screen

2023-06-15 Thread Christian Marillat
On 15 juin 2023 01:42, "Joseph Carter"  wrote:

> The dialog did fit on screen when the application was previously using
> Qt 5, but things got "roomier" when it was recompiled for Qt 6. I was
> able to shrink the fonts a little using qt6ct without even restarting
> the application which was enough for me to (barely) get the dialog in
> question to fit on screen. (The fonts used previously under Qt 5
> seemed to be a hair smaller, so what I did was effectively restore
> things to the size they were before.)
>
> I still consider this in the workaround camp because with my font
> scaling my 1600-tall monitor is still effectively 800px after scaling,
> and the answer should not be "get a higher resolution/new screen". if
> a dialog box won't fit in that space. Still, it's a better workaround
> than I had. I've already suggested what I think a "proper" fix would
> eventually look like.

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



Bug#1037936: Qt6: Dialog minimum size larger than screen

2023-06-15 Thread Christian Marillat
On 14 juin 2023 07:36, "T. Joseph Carter"  wrote:

> Package: qbittorrent
> Version: 4.5.3-2
> Severity: normal
> Tags: a11y upstream
>
> 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.

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



Bug#1037936: Qt6: Dialog minimum size larger than screen

2023-06-14 Thread T. Joseph Carter
Package: qbittorrent
Version: 4.5.3-2
Severity: normal
Tags: a11y upstream

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.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qbittorrent depends on:
ii  libc62.36-9
ii  libgcc-s113.1.0-5
ii  libqt5sql5-sqlite5.15.8+dfsg-12
ii  libqt6core6  6.4.2+dfsg-11
ii  libqt6dbus6  6.4.2+dfsg-11
ii  libqt6gui6   6.4.2+dfsg-11
ii  libqt6network6   6.4.2+dfsg-11
ii  libqt6sql6   6.4.2+dfsg-11
ii  libqt6widgets6   6.4.2+dfsg-11
ii  libqt6xml6   6.4.2+dfsg-11
ii  libssl3  3.0.9-1
ii  libstdc++6   13.1.0-5
ii  libtorrent-rasterbar2.0  2.0.9-1
ii  zlib1g   1:1.2.13.dfsg-1

qbittorrent recommends no packages.

qbittorrent suggests no packages.

-- no debconf information