Bug 147097 - Text boxes in Basic dialogs are being rendered without borders
Summary: Text boxes in Basic dialogs are being rendered without borders
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: All All
: lowest trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: BASIC-Dialog-Designer
  Show dependency treegraph
 
Reported: 2022-01-31 20:22 UTC by Rafael Lima
Modified: 2024-08-12 12:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the problem (117.44 KB, image/png)
2022-01-31 20:22 UTC, Rafael Lima
Details
Sample file with a dialog (11.25 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-02-18 00:14 UTC, Rafael Lima
Details
Screenshot on Windows (38.25 KB, image/png)
2022-04-27 22:33 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-01-31 20:22:29 UTC
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
Comment 1 raal 2022-02-17 22:56:39 UTC
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
Comment 2 Rafael Lima 2022-02-18 00:14:31 UTC
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.
Comment 3 Rafael Lima 2022-04-27 22:33:51 UTC
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.
Comment 4 Buovjaga 2023-01-06 13:30:24 UTC
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
Comment 5 Rafael Lima 2024-08-12 12:46:19 UTC
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.