Created attachment 136538 [details] screenshot Open sc/qa/unit/data/xls/tdf112501.xls. Click on the dropdown and notice that the selected text is truncated. Version: 6.0.0.0.alpha0+ Build ID: 302843bb6dc2c82de37015b6d444b1d7cbf33c1e CPU threads: 8; OS: Linux 4.4; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: CL Note: I did not see this with gtk2 backend or on Windows.
I can reproduce with any AutoFilter, already in 5.4.1
I can also reproduce it in gtk2 Version: 6.0.0.0.alpha0+ Build ID: 123408f3bfc8bf2e604167c019175050abf1726c CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk2; Locale: ca-ES (ca_ES.UTF-8); Calc: group Regression introduced by: author Caolán McNamara <caolanm@redhat.com> 2017-07-14 13:40:47 (GMT) committer Caolán McNamara <caolanm@redhat.com> 2017-07-14 16:09:35 (GMT) commit 6b6b81cae861a1e6463360d1b320c0d3e24de111 (patch) tree f9b175978fbea8958cfbd434cd7c7df961141711 parent 3039b7cae36abb7e9bfffa4fbbba023721376568 (diff) list views are recalculating layout on every paint instead of when the font changes since... commit b4bbb5e5d7b31caad2fbcc00382ad27df3c81001 Date: Sun May 17 22:56:46 2015 +0900 refactor how font, fg. and bg. are applied in widgets/controls Bisected with: bibisect-linux64-6.0 Adding Cc: to Caolán McNamara
the reverted fix was definitely wrong
maybe Tomaž has some ideas as to how this is supposed to fit together wrt the maChecks->SetFont(getLabelFont()); call in sc and SvTreeListBox::ApplySettings because we can't call AdjustEntryHeightAndRecalc to recalculate the bounding box of every entry in a list on every Paint realistically in long lists
https://gerrit.libreoffice.org/#/c/42910/ is my take on it
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3043863d688c5bbd5101ebd5ddd8a9452e05ca50 Resolves: tdf#112656 don't reset to default font if a custom font was set It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Confirm that its working Version: 6.0.0.0.alpha0+ Build ID: e1f87cb067a058f34caaf61d86c79958eebfd0e4 CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4; Locale: nl-BE (en_US.UTF-8); Calc: group Best regards
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f9c6022d109062d9b13339463f363892b2439d7d&h=libreoffice-5-4 Resolves: tdf#112656 don't reset to default font if a custom font was set It will be available in 5.4.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.