Ubuntu-Mate inconsistent drop-down list button in my dialogs.

My libre-basic library contains several dialogs with drop-down list and combo boxes. In Windows 10 the drop-down buttons are all narrow 3D in the dialog builder, preview, and execution. In Ubuntu-Mate 18.04-64 my library executes as it does in W10 but the 3D buttons are only in one of the dialogs. All of its drop-down buttons are 3D. All of drop-down buttons in the other dialogs are flat arrowheads. I wouldn’t mind this except that these consume a much wider space even though the arrowhead itself is narrow. The dialog builder shows all of these buttons in all dialogs as 3D. Dialog preview shows them all as flat in all dialogs. A 3D button listbox copied from the good dialog looks correct in the dialog builder but is flat in execution. Somehow the flat dialogs force the button to go flat, but the dialogs all have identical characteristics. Plus this doesn’t happen in Windows. Any ideas about how this could happen?

Just a hint: (un-) check Tools -> Options -> View -> Category: Graphics Output -> Option: Use OpenGL for all rendering and test.

Thanks for your response. In my Graphics Output options the only options are “Use hardware acceleration” and “Use anti-aliasing”. I tested these both enabled and disabled with no effect.

??? - Please tell us your LO version and whether you use the packages from your Ubuntu distribution.

LO version 6.0.7.3 Build 1:6.0.7-0ubuntu0.18.04.7. Linux 4.15. UI render: default. VCL: gtk3. Standard Ubuntu distro with no side-loads. On Windows, where I don’t find the problem, the LO version is 6.1.5.2. Both systems are 64 bit. Locale: en-US.

On further inspection I realized that the root cause of the run-time difference is not in the dialogs but in my macro code. For the one dialog that renders the buttons as I want I had added the statement bmDlg.getPeer().setProperty( “NativeWidgetLook”, False ) in order to be able to dynamically change the background color of some controls. Apparently, the dialog editor automatically does this while the previewer does not. I couldn’t find any way to build this into the model or to change the preview behavior, making preview essentially worthless if run-time look will be non-native. But at least the dialog editor renders non-native. I now intend to make all my dialogs non-native, not just for this button issue, but because it would be very difficult to design a dialog for every conceivable “native look”.