Robomongo: Unreadable GUI

Created on 10 Nov 2016  Â·  15Comments  Â·  Source: Studio3T/robomongo

Fonts are unreadable. I've tried setting fontFamily and fontSize at ~/.config/robomongo/0.9/robomongo.json
but no result. I have dual-monitor setup: 1920x1080 and 2560x1080.
Pics are from larger screen.

r1
r2
r3

UI & Qt

Most helpful comment

Ubuntu 16.04; Robomongo 1.0.0-RC1
Ugly font when QT_SCALE_FACTOR with decimal value: QT_SCALE_FACTOR=1.25
Font looks good when use integer value: QT_SCALE_FACTOR=2

Change textFontPointSize on robomongo.json not solve this issue

All 15 comments

Hi @sevcio , thanks for reporting the problem. We will investigate.
And how is the situation on your other screen?

Robomongo uses Qt and unfortunately Qt's HiDPI support and DPI -awareness for Linux distributions is not complete yet. For Windows and MAC it is much better. Robomongo tries to handle some problematic cases, but it is not very likely to handle all.

Can you apply this workaround solution? It was tested on Ubuntu.
https://github.com/paralect/robomongo/issues/1104#issuecomment-244914667

Hey, i've tried your solution, GUI seems more readable now, but i see some scalling issues.

r4

Happy to hear that is better now.

To control the script text font size, please open Robomongo config file:
vim ~/refer_to_doc_for_path/robomongo.json
Robomongo-Config-File-Guide

Change "textFontPointSize" accordingly and restart Robomongo.
e.g. "textFontPointSize" : 10,

Since I've upgraded from RC9 to 0.9.0, robomongo does not seem to respect DPI settings from Windows anymore (tried disabling scaling, enabling, forcing...) but JUST for the images. Everything else really sharp and nice.

The icons are pixelated and twice the size.

4k screen on Windows 10.

Hi @nightwolfz , thanks for reporting the problem. But there is almost no change regarding DPI topic between RC9 and 0.9.0. I am thinking the reason might be some other parameter changed in your environment. Can you share screenshots so that we can understand your problem better?

It's exactly like @sevcio screenshot but with the text being sharp. Only the icons seem to be affected.

Ubuntu 16.04; Robomongo 1.0.0-RC1
Ugly font when QT_SCALE_FACTOR with decimal value: QT_SCALE_FACTOR=1.25
Font looks good when use integer value: QT_SCALE_FACTOR=2

Change textFontPointSize on robomongo.json not solve this issue

Would it be hard to make the font size correct out of the box?

Same for me on Archlinux with i3wm and XFCE4. I don't have 4K, but 2x FullHD and 1x WQHD.

Setting textFontPointSize=10 or 12 or 24 doesn't make a difference -> still unreadably small, settings seems to be ignored.

QT_SCALE_FACTOR=2 seems ok for robo3t but I can't set it globally because it messes up all other QT apps!!! (fonts get way too big)

No problems with other QT4 or QT5 apps.

Same for me on Ubuntu with i3wm, I have 3x FullHD, no 4k.

Setting QT_SCALE_FACTOR sort of works. Also I don't have problems with any other QT apps.

m1ch4ls at m1ch4ls-NTB in ~/software 
âś” 21:43 $ dpkg -l | /bin/grep qt
ii  libqt4-dbus:amd64                     4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 D-Bus module
ii  libqt4-declarative:amd64              4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 Declarative module
ii  libqt4-network:amd64                  4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 network module
ii  libqt4-script:amd64                   4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 script module
ii  libqt4-sql:amd64                      4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 SQL module
ii  libqt4-sql-sqlite:amd64               4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 SQLite 3 database driver
ii  libqt4-xml:amd64                      4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 XML module
ii  libqt4-xmlpatterns:amd64              4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 XML patterns module
ii  libqt5concurrent5:amd64               5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 concurrent module
ii  libqt5core5a:amd64                    5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 core module
ii  libqt5dbus5:amd64                     5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 D-Bus module
ii  libqt5gui5:amd64                      5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 GUI module
ii  libqt5network5:amd64                  5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 network module
ii  libqt5opengl5:amd64                   5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 OpenGL module
ii  libqt5opengl5-dev:amd64               5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 OpenGL library development files
ii  libqt5printsupport5:amd64             5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 print support module
ii  libqt5serialport5:amd64               5.6.1-2build1~1                              amd64        Qt 5 serial port support
ii  libqt5sql5:amd64                      5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 SQL module
ii  libqt5sql5-sqlite:amd64               5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 SQLite 3 database driver
ii  libqt5svg5:amd64                      5.6.1-2build1~1                              amd64        Qt 5 SVG module
ii  libqt5test5:amd64                     5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 test module
ii  libqt5widgets5:amd64                  5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 widgets module
ii  libqt5xml5:amd64                      5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 XML module
ii  libqtcore4:amd64                      4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 core module
ii  libqtdbus4:amd64                      4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 D-Bus module library
ii  libqtgui4:amd64                       4:4.8.7+dfsg-7ubuntu1                        amd64        Qt 4 GUI module
ii  qt-at-spi:amd64                       0.4.0-5                                      amd64        at-spi accessibility plugin for Qt
ii  qt5-default:amd64                     5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 development defaults package
ii  qt5-image-formats-plugins:amd64       5.6.1-2build3                                amd64        Qt 5 Image Formats module
ii  qt5-qmake:amd64                       5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 qmake Makefile generator tool
ii  qtbase5-dev:amd64                     5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 base development files
ii  qtbase5-dev-tools                     5.6.1+dfsg-3ubuntu6~4                        amd64        Qt 5 base development programs
ii  qtchooser                             58-gfab25f1-1                                amd64        Wrapper to select between Qt development binary versions
ii  qtcore4-l10n                          4:4.8.7+dfsg-7ubuntu1                        all          Qt 4 core module translations
ii  qttranslations5-l10n                  5.6.1-2build1~1                              all          translations for Qt 5

I just tried robo3t and have the same issue. I am using i3wm and the font and icon size ist way to small. Is there a solution for this meanwhile?

same issue here.
even if I change it to fontsize 20, there is no difference at all, as @fred777 was mentioning too.
and no, I don't want to change all my QT font sizes with the variables.
Any workaround?

same thing here. windows 10. very small unreadable font. when i change textFontPointSize it's being overwritten with -1 .
very standard lenovo laptop with windows 10.

Hi all, on Windows & macOS, we have upgraded our Qt version to 5.12.8 (Apr/2020).
I hope Robo 3T 1.4 will fix some of your problems -> Robo 3T 1.4

I face the same problem with Windows 10. The font is too small and almost unreadable. I changed textFontPointSize but it only affects the query input elements.

Was this page helpful?
0 / 5 - 0 ratings