In text mode, the font is rendered too big but the line height isn't adjusted accordingly. So the the text is clipped, which makes the editor unusable.
Screenshot:

Robomongo Install:
Name : robomongo
Arch : x86_64
Version : 0.8.4
Release : 1
From repo : /robomongo-0.8.4-x86_64
OS:
Fedora 19 with xfce 4.10
Hi @timothy-kim,
Thank you for your detailed report.
Sounds strage, but I cannot reproduce this issue. Text is rendered correctly on my Fedora 19 with xfce 4.10:

Could you please inform us if you are using fedora 19 32 bit or 64 bit. I have tested this on 64 bit.
Thanks in advance!
I'm using 64bit as well. If we can have the option to change the font and font-size, I think this problem can be solved.
I am getting the same issue, on XFCE on Arch Linux (32 bit).
Could be an issue with QT default config?
@wodow, @timothy-kim I will prepare Qt4 build of Robomongo that should work correctly for you. Recently we switched to Qt5, and it works well for Windows and Mac OS X, but on Linux we faced with low quality of fonts. For some reasons, fontconfig settings incorrectly read by Qt5 (QTBUG-32254). On my machine (Ubuntu, Xfce) quality of fonts is different, depending on the version of Qt:

Qt5 on the left, and Qt4 on the right.
If we can have the option to change the font and font-size, I think this problem can be solved.
Yes, I agree. We should make font configurable. Will work on this.
Same problem here (fedora 20 with gnome). Is the Qt4 build avaiable?
Ubuntu 13.10 64-bit with exactly the same problem. Text height is greater than the vertical space available to text, so it gets clipped and only the upper half of the text is visible.
Same here. Ubuntu 12.04
There is any workaround?
Same here, Ubuntu 13.10 on Macbook Pro (AMD graphics, default driver).
I additionally installed Infinality for better font rendering, I suspect that to be part of the problem. In a previous 13.10 installation on the same machine without it Robomongo worked fine.
I did recompile Robomongo on that machine, same problem.
I downloaded QScintilla (I suspect the editor area is QScintilla?) and compiled that and the sample qt4qt5 application- that one works fine.
As a workaround I installed the Windows version in a Wine sandbox (using PlayOnLinux).
It's really just a workaround, I hope we find the source of this problem though...
This is fixed for me as of 0.8.4.
Yes! It's fixed!
No it is _not_ fixed. The 0.8.4 version still has the same problem. In fact, @timothy-kim has created this issue for version 0.8.4 so did it all of a sudden fix itself?
I'm seeing this issue in 0.8.4 as well.
@codepete Can you include some details on your O/S version and window manager?
Thanks!
I'm using Fedora 20, Gnome 3.10.1
In the past when having infinality installed I didn't have any issue, but
it definitely looks like infinality is the culprit.
On 9 May 2014 15:23, Stephen Steneker [email protected] wrote:
@codepete https://github.com/codepete Can you include some details on
your O/S version and window manager?Thanks!
—
Reply to this email directly or view it on GitHubhttps://github.com/paralect/robomongo/issues/443#issuecomment-42720061
.
I'm using FC20 and I'm experiencing this issue right now.

Robomongo version: 0.8.4
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 20 (Heisenbug)
Release: 20
Codename: Heisenbug
I think this is related to Infinality. If you install infinality and change your default font rendering, somehow robomongo's text display ends up as seen in the screenshot.
+1
I have the same issue.
Fedora release 20 (Heisenbug)
Robomongo 0.8.4
Closing as a duplicate of #649, which I believe will address the underlying issue of incorrect text height calculations.
Just rechecked, and it looks like the upstream bug QTBUG-32254 has been fixed in Qt 5.4.0!
Reopening as there's hope this might be fixed if we retest with newer Qt :)
Have the same problem on Linux Mint.
@stennie @ALeschinsky @tiriana Latest release of Robomongo (0.9.0) based on QT 5.5. Could you check if that issue already resolved?
Unfortunately, same thing:

@ALeschinsky Could you also try a version, built on Centos and let us know if it worked for you.
Looks exactly the same. Feel free to add logging or anything, I'll be happy to help. And I'd love to use Robomongo, too.
Hi guys! Could you please check issue with Robomongo 0.9.0-RC10 if possible? We implemented better HiDPI support there and transited to Qt5.7. So I hope it will solve the problem.
Please see download site https://robomongo.org/download and feature list http://blog.robomongo.org/robomongo-rc10/
Hi! I'm using Robomongo 0.9.0 and the error still occurs =(
When I open a new window, the following error appears (3 times):
QWidget::setMinimumSize: (/Robomongo::QueryWidget::CustomDockWidget) Negative sizes (0,-1) are not possible
OS: Debian 8.6
Window manager: Gnome Shell 3.14.4
Using Infinality

Hi @vcampitelli , thanks for reporting the problem with details.
Warnings that you are getting is not related to your issue.
Initial comments will be that Robomongo uses Qt and there are some known GUI related compatibility issue between Qt and some linux distributions. Currently, we see that Qt has better support for OSX and Windows. So clipped text issue also seems like Qt compatibility issue. But of course, we can only be sure after more investigation.
For now, as a workaround solution, can you change the font size and restart Robomongo?
This should change the fonts in query tabs and results window for text mode.
~/.config/robomongo/0.9/robomongo.json
"textFontPointSize" : 10,
I hope it will work.
Here's how it looks for me:

Let me know if I can help with a configuration file dump or anything else.
Most helpful comment
Hi @vcampitelli , thanks for reporting the problem with details.
Warnings that you are getting is not related to your issue.
Initial comments will be that Robomongo uses Qt and there are some known GUI related compatibility issue between Qt and some linux distributions. Currently, we see that Qt has better support for OSX and Windows. So clipped text issue also seems like Qt compatibility issue. But of course, we can only be sure after more investigation.
For now, as a workaround solution, can you change the font size and restart Robomongo?
This should change the fonts in query tabs and results window for text mode.
~/.config/robomongo/0.9/robomongo.json
"textFontPointSize" : 10,I hope it will work.