I have several forms in Base with button controls that use an image on the button and two lines of text to describe button action. In LO 4.4.7 the text shows correctly. In LO 5.1.0.3 release only part of the first line of text shows and it is truncated with three periods "..." Resizing the button has no affect. However, if I put characters on 4 lines of button text, the first two will display full length, but to high on the control. Something seems to be amiss.
Hello, Thank you for filing the bug. Please send us a sample document, as this makes it easier for us to verify the bug. I have set the bug's status to 'NEEDINFO', so please do change it back to 'UNCONFIRMED' once you have attached a document. (Please note that the attachment will be public, remove any sensitive information before attaching it.) How can I eliminate confidential data from a sample document? https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F Thank you
Created attachment 123507 [details] Sample odb with form and test button I have attached a sample HSQLDB database with one form containing a button with an embedded image and two lines of text. Hope this helps. -dave
I can confirm with Version: 5.2.0.0.alpha0+ Build ID: aaca25d67eb5ea252730cdcf555ecc04ce04a5e6 CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-24_23:58:47
Setting keyword bibisected. Working in (an old and somewhat broken version of) the linux daily dbgutil bibisect repository, I have narrowed the introduction of the bug to the 43 commits between ... good : 02f749e... 2015-07-09 s-h 85ce6a2... bad : 1b45cef... 2015-07-10 s-h 83b5316...
ca38e903b89635d06e61ef907e796827091d55ad is the first bad commit commit ca38e903b89635d06e61ef907e796827091d55ad Author: Norbert Thiebaud <nthiebaud@gmail.com> Date: Sun Jul 26 21:04:31 2015 -0700 source 74407aef94b6d8dfdd69891c4a6e578587ef3e71 # bad: [0f51c7c2475aa71d9f44606bca0930965e0d1a2f] source 83b53164b096b4cba94a2e1ee8b620228bee8a3a # good: [ad855b2f5818420a1e9772568aa593422383b2b3] source 85ce6a2446deb0f4c01604b6188f969603de9b16 git bisect start '0f51c7c2475aa71d9f44606bca0930965e0d1a2f' 'ad855b2f5818420a1e9772568aa593422383b2b3' # good: [4cc4e0f85a5846157482416a3eb596c383f96c2f] source 9b597430c632b8c20a7595f998cd26a02e1f8656 git bisect good 4cc4e0f85a5846157482416a3eb596c383f96c2f # bad: [2eaf5b6a4715d4c5ff8399e74fd8f74c4a81c260] source b54f22302731784d7bd462bf2cef0621eea8b22a git bisect bad 2eaf5b6a4715d4c5ff8399e74fd8f74c4a81c260 # good: [4a0b70cd60a6775d84919d7b44ad7d2e56431552] source 24c50b6029791ed9fd14ed2c75351acd6c55e895 git bisect good 4a0b70cd60a6775d84919d7b44ad7d2e56431552 # good: [904a0c16aec072f969c42f22d73b8aff41ee849d] source 9a11e59e5699c5eb0854355d3dd3848bc895545c git bisect good 904a0c16aec072f969c42f22d73b8aff41ee849d # bad: [ca38e903b89635d06e61ef907e796827091d55ad] source 74407aef94b6d8dfdd69891c4a6e578587ef3e71 git bisect bad ca38e903b89635d06e61ef907e796827091d55ad # good: [d02651f9320435a7e9421fefa3fc8bac9926c466] source 40ade8d04380083e383d6a6e50e5c254fcde2b2f git bisect good d02651f9320435a7e9421fefa3fc8bac9926c466 # first bad commit: [ca38e903b89635d06e61ef907e796827091d55ad] source 74407aef94b6d8dfdd69891c4a6e578587ef3e71
Thsi bug started with the commit quoted below. Adding Cc: to Simon Long, please take a look. Also adding Cc: to Caolán McNamara. https://cgit.freedesktop.org/libreoffice/core/commit/?id=74407aef94b6d8dfdd69891c4a6e578587ef3e71 author Simon Long <simon@raspberrypi.org> 2015-07-08 17:02:50 (GMT) committer Caolán McNamara <caolanm@redhat.com> 2015-07-09 15:07:24 (GMT) "tdf#92630 Enable auto-accelerator behaviour for gtk"
It appears to be because of DrawText -> DrawControlText change. The different code path for drawing text thinks the text is slightly larger than the box provided so the text "doesn't fit" and is ellipsed to fit. hacking the bounding box to be 2 pixels higher makes it work, so perhaps a rounding error
https://cgit.freedesktop.org/libreoffice/core/commit/?id=db9ef688edd86b31606e0dd6df6a77732faca49b Commit Notification Bot on vacation?
yeah, seems broken. Fixed in master towards 5.4. Backports to 5.3 and 5.2 in gerrit
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b05f85a3fd247baea4f2dd975f2178e04ea5dd6a&h=libreoffice-5-3 Resolves: tdf#98593 buttons in writer show different text at different zooms It will be available in 5.3.1. 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4fd0f5715efb435160814e8c5f514b9ad1752c49&h=libreoffice-5-2 Resolves: tdf#98593 buttons in writer show different text at different zooms It will be available in 5.2.6. 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.