qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

Font issue with daily build under windows

Open sirPerna opened this issue 11 years ago • 10 comments

I just tested the daily QGC build under windows 10 64bit. It looks like ther is an issue showing the text correctly.

sirPerna avatar Nov 23 '15 09:11 sirPerna

Here is a picture how it looks like. font issue

sirPerna avatar Nov 23 '15 09:11 sirPerna

Is it all fonts size in all location? Or just a specific size or location?

DonLakeFlyer avatar Nov 23 '15 18:11 DonLakeFlyer

Looks like specific size and location 2015-11-23_200835 I see it on all selected drop downs but when you click on the drop down the other entries are fine. I also see it on the text for the firmware update and where you select the firmware you want to load. Also on all text boxes but only the text inside the text box.

sirPerna avatar Nov 23 '15 19:11 sirPerna

@sirPerna Can you re-try the current daily? There was a recent switch in some of the infrastructure code which might have improved things. Quite possible that we fully need to switch to QML on desktop as well to completely fix it though.

LorenzMeier avatar Dec 10 '15 14:12 LorenzMeier

This is some strange thing in Qt. I can reproduce it, but I can't figure out what is going on. It only happen in Combo Boxes in this panel. They are fine other places in the code.

DonLakeFlyer avatar Dec 10 '15 18:12 DonLakeFlyer

@LorenzMeier Just tested but the issue is still there (v2.8.0-202-g9f86fc0)

sirPerna avatar Dec 11 '15 17:12 sirPerna

This is a Qt bug. Given the fact that I'm going to re-work this screen post 3.0 release it not worth try to hack around some more to work around the bug. At this point a work around doesn't seem possible. Moving out of the 3.0 release.

DonLakeFlyer avatar Jan 04 '16 04:01 DonLakeFlyer

This bug is related to the renderType being set to NativeRendering when there are some transformations applied or inherited.

For example, to fix the Firmware page simply add renderType: Text.QtRendering here.

I'm unclear on when this default changed / how certain QML components are inheriting NativeRendering, but that's the issue (it is very briefly touched upon in the docs).

Edit: the comboboxes can be fixed by adding renderType: Text.QtRendering to src/QmlControls/QGCComboBox.qml

NaterGator avatar Jan 08 '16 20:01 NaterGator

Per this Qt bug report the issue can also be mitigated by not using fractional positioning of the SetupView.

NaterGator avatar Jan 08 '16 22:01 NaterGator

@NaterGator Thanks for the fix on this.

DonLakeFlyer avatar Jan 10 '16 17:01 DonLakeFlyer