News:

--

Main Menu

Cropped text in filter list

Started by bugreport, April 21, 2017, 04:49:49 PM

Previous topic - Next topic

bugreport

avidemux_2.7.0_r170420_win64.exe:
1. Open some video file.
2. Select codec (ex. x264).
3. Open filter list.
4. Observe cropped text.

Screenshot attached.

OS: Win7SP1x64, Language: Russian

eumagga0x2a

Please specify which font settings you use.

bugreport

Quote from: eumagga0x2a on April 21, 2017, 06:22:12 PM
Please specify which font settings you use.
What exactly do you mean?
I can't find font settings in Avidemux.

Maybe you are talking about system DPI settings?
In this case, the setting is 100% scale.
My monitor is not HiDPI (1280x1024), so Windows automatically selected this option.

eumagga0x2a

Quote from: bugreport on April 22, 2017, 04:29:39 AM
Quote from: eumagga0x2a on April 21, 2017, 06:22:12 PM
Please specify which font settings you use.
Maybe you are talking about system DPI settings?

Exactly.

QuoteIn this case, the setting is 100% scale.
My monitor is not HiDPI (1280x1024), so Windows automatically selected this option.

Meanwhile I could reproduce the issue which infamously striked at some DPI values but not at others, additionally depending on the language, and pushed a workaround adding 6px to the filter list items' height.

The underlying problem is the usage of QFontMetrics::boundingRect which seems not to take varying font sizes specified by the rendered string into account.

Thank you for your report.

p3trus

...while this was solved in 2.6.19 Final, the cropped descriptions are back in r170420_win64Qt5_402 - just for information.
(using no DPI scaling either, ie 100%)

eumagga0x2a