Created attachment 177947 [details] Screenshot showing the problem When the user creates a Basic dialog using the Basic IDE, it is possible to define the "Border" of text boxes to have a "3D look", which in fact is the default option. However, when the actual dialog is presented, the border is lost and the "flat" style is applied (see attached image). There is no way to get the 3D look. Steps to reproduce: 1) Create an empty Basic dialog 2) Insert a text box into the dialog 3) Make sure the border is set to "3D look" 4) Click "Preview dialog". 5) Notice that the border is flat instead of 3D This bug also happens if you execute the dialog through a macro. Tested both with LO 7.2 and 7.4. System info: Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: a8d6e9620e18f5a1954f0025de96d236bc9180bb CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: CL Version: 7.2.5.2 / LibreOffice Community Build ID: 20(Build:2) CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Ubuntu package version: 1:7.2.5-0ubuntu0.21.10.1 Calc: threaded
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 178363 [details] Sample file with a dialog In this Calc file I added a push button. Click it and a dialog will appear with two text boxes. Notice that the textbox border is "flat", even though it was set to be "3D". In "gtk3" and "win" it is flat with a border around, which makes it look better, but it's flat anyway. In "kf5" it is flat and has no borders, which makes it look awkward.
Created attachment 179815 [details] Screenshot on Windows I would like to add that this issue is also happening in Windows. The attached image contains the Basic Dialog Editor with a sample dialog with a textbox in it (right). Then I previewed the dialog (left). Notice how the border of the textbox on the left is flat instead of having the 3D look.
Confirmed Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d6c54b3d4ee757958f9040a84dfbde0ab25f59bf CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Jumbo Built on 6 January 2023
FTR this issue happens only when the TextField height is below 16. When its height is equal or greater than 16, the borders are rendered fine.