Hi guys,
My screen is HiDPI (https://wiki.archlinux.org/index.php/HiDPI). The fonts and texts in robomongo are really small, and barely usable.
Could you implement a functionality to scale the interface?
Best
Hi Nicolas,
We will check it for your environment. We are planning to fully support HiDPI. It is already fully/partially supported by Qt for most of OSes (MAC, Windows). But for linux it seems like it requires additional extra work.
Can you specify your full OS version for us to test with?
Warm Regards,
Gokhan
Sorry, should have told you.
It's Ubuntu 16.04 with a Dell XPS13 9350.
From the link I gave you, quite some applications do have the same problems with QT. Like Skype for example.
Hi, we did a test on ubuntu 16.04, here is the result for 2560x1600 (16:10) resolution.
It seems the font size are similar with Files, Robomongo and Chrome applications.
Can you also tell me your resolution? (and any other parameter that will help me reproduce your problem.) A screenshot from your side also can be helpful.
Thank you.

Here is how I see robomongo. The screen resolution is 3200*1800 (16:9)

I am also having issues with HiDPI monitors, but in my case, I have 3 monitors, 1 HiDPI and 2 FHD. And the result is a really poor layout and mixed font sizes.


Running Windows 10. :smile:
Hi guys, Qt supports HiDPI screens starting fro Qt 5.6.1. We have already tested Robomongo with Qt 5.7 with windows. For windows it seems to work much better then before. We are planning to test with all platforms and include this feature next releases. Warm Regards - Gokhan
Transition to Qt 5.7 for better cross platform high dpi support, has been started and included into code. We are planning to release RC10 with Qt 5.7 around a week.
Hi @NicolasBonduel , with Robomongo RC10, "almost" good news for Ubuntu 16.04, we have reproduced your problem and solved it with changing "QT_SCALE_FACTOR" which is done one time only for a user. Unfortunately, Qt doesn't seem to provide any interface to solve it with coding. Details will be in a "how to.." blog post soon.
Hi @thiagolunardi, with Qt 5.7, we can see noticeable improvement with Robomongo on win10 and win7 high dpi screens. (can be seen in RC10 blog post soon). Yet, we are unable to reproduce your mixed font issue, we have tested with 3840*2160 on win7 and win10, it works fine. Can you give us more information about your environment? (your screen resolution, monitor model etc..)
@NicolasBonduel
Sorry for the delay, related to your problem, solution seems to be adding QT_SCALE_FACTOR into the file ".profile" in the user home directory and do a logoff/login.
(Unfortunately, seems that Qt does not provide a way (interface) to solve this problem in the code.)
(See also http://blog.robomongo.org/robomongo-rc10/ & https://robomongo.org/download)
How to apply this solution:
cd ~
gedit .profile (or "vim .profile")
Append "export QT_SCALE_FACTOR=1.8" at the end of file*
Save file on gedit (or "shift+z+z" on vim)
Logoff/Login (or "sudo service lightdm restart" // quick-and-dirty way)
*Adjust QT_SCALE_FACTOR according to your needs.
*Note: Robomongo 0.9.0 "RC10" is required for this solution.


@thiagolunardi
With new Robomongo RC10 exactly, we have High-DPI enhancements for Windows as well. I hope new Robomongo will fix your issues.
Please see the enhancements on icons, text alignments:

Again sorry for the delay.
Please see the new Robomongo RC10 with new features here:
http://blog.robomongo.org/robomongo-rc10/
https://robomongo.org/download
Follow us for latest news: https://twitter.com/Robomongo
I'm having the same issue on a dual monitor setup using Ubuntu 16.04 after upgrading to robomongo 0.9.0-RC10 from 0.9.0-RC6.
Now when I move robomongo to the external monitor the fonts are almost unreadable due to small font size.
Screenshot from the builtin Monitor:

Screenshot from the external Monitor:

The posted resolution "export QT_SCALE_FACTOR=1.8" just increased the size in both monitors. It din't solve the issue.
Hi @jtzikas , we are very sorry to hear that solution is not working for you. Can you specify the resolution on your external monitor? We will try to reproduce the problem.
Note: Unfortunately, Qt support for Hi-DPI screens is still not complete. We will update Robomongo whenever new Qt is released. Hopefully this kind of problems will be solved automatically with new Qt releases.
Don't know if this will help but I have found a way to reproduce my own problems of dpi settings on multiple monitors with different resolutions.
Environment: Windows 10 with two monitors . ONE with 1920x1200 and TWO with 2560x1440. Main screen for Windows 10 is TWO.
If the main window of Robomongo is on screen TWO everything works fine and you can select text in the "View Document" window also on screen TWO:

If I move the View Document window to screen ONE with main window still on TWO, it still looks okay although the font is much bigger. Selection works as it should.
Then I move the Robomongo main window to screen ONE and open View Document and now the spacing of the font is all messed up and when selecting text it works but the alignment is messed up:

Hi @selstam , thanks a lot. This will help for sure. Making Robomongo to support HiDPI on all platforms and DPI-awareness is still one of the most important topics in our list for future releases.
I am observing tiny fonts when on an external monitor as @jtzikas reported with robomongo-1.0.0-linux-x86_64-89f24ea. I'm also seeing that there are minimium window size issues when dragging windows between screens.
The first launch I observed:
$ ./bin/robomongo
clibpng warning: iCCP: known incorrect sRGB profile
QWidget::setMinimumSize: (/Robomongo::QueryWidget::CustomDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (/Robomongo::QueryWidget::CustomDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (/Robomongo::QueryWidget::CustomDockWidget) Negative sizes (0,-1) are not possible
Successive launches output this error:
$ ./bin/robomongo
QWidget::setMinimumSize: (/QLabel) Negative sizes (1151,-2147483648) are not possible
Screen res: 2880x1800 (primary) & 2560x1440 (secondary)
@lvl3 posted a workaround that makes it usable
QT_AUTO_SCREEN_SCALE_FACTOR="0"
Same for me, I had to add this in my ~/.profile and re-login in order to start robomongo from the dock in Ubuntu 16 interface.
export QT_AUTO_SCREEN_SCALE_FACTOR=0
problem happens with 1.0.0 and latest release.
Note that on my config :
laptop with 1920x1080 screen + 2 HDMI external screens at 1920x1200
before changing the environment variable, robomongo GUI was fine on my laptop screen, but the window's content shrinked if window was dragged to one of the external screen.
@vin-d
Same for me with a 1920x1080 laptop + 1 HDMI 1920x1200.
I'm Using Robo 3T 1.1.1. The GUI was fine on my laptop screen, but the window's content shrinked if window was dragged to the external screen.
Setting QT_SCALE_FACTOR to something higher than 1 makes the interface blurry and hard to read on the external monitor and completely useless on the laptop screen.
Hi All, you may try Robo 3T 1.2 - Beta (and non-Beta 1.2 very soon), important change is Qt upgrade from 5.7.0 to 5.9.3, which might hopefully solve some HiDPI issues.
Robo 3T 1.2 - Beta
I have exactly the same issue as @jvillar describes, using latest version (1.2).
QT_AUTO_SCREEN_SCALE_FACTOR="0" really makes the difference, now it's usable in different monitors with different DPIs
I face problem in open Robo 3T program with High resolution like this

and this

I solve problem with Run Command at start Robo 3T
QT_AUTO_SCREEN_SCALE_FACTOR="0" robo3t
Also If you need to create desktop icon include command line -> see this answer
The QT_AUTO_SCREEN_SCALE_FACTOR="0" robo3t really saved my day.
Will this be fixed in Robo3t?
can anyone point me in how to do this (
QT_AUTO_SCREEN_SCALE_FACTOR="0" robo3t) under Windows?
I had the same issue on my external monitor with robo3t v1.3, I resolved it with QT_AUTO_SCREEN_SCALE_FACTOR="0" ./robo3t
can anyone point me in how to do this (
QT_AUTO_SCREEN_SCALE_FACTOR="0" robo3t) under Windows?
Have had same question here, how can I run the command under windows but find the right solution here at
https://www.windowscentral.com/how-change-high-dpi-settings-classic-apps-windows-10-april-2018-update
I found that setting QT_FONT_DPI=128 worked better than other suggestions here. Qt really needs to get their act together!
I had a similar issue, using a super ultra-wide monitor (Samsung CRG9) at 5120x1440 (one big monitor, primary) on Ubuntu 18.04 robomongo/robo3t opened in something like a 10K pixels width window and hangs. Using QT_AUTO_SCREEN_SCALE_FACTOR=0 as suggested for a similar issue fixed the problem and also make the app responsive again.
It works perfect for me (Windows 10):
PS C:\Users\***> & 'C:\Program Files\Robo 3T 1.4.2\robo3t.exe' -platform windows:dpiawareness=1


Most helpful comment
Same for me, I had to add this in my ~/.profile and re-login in order to start robomongo from the dock in Ubuntu 16 interface.
problem happens with 1.0.0 and latest release.