Issue 65508 - UnoControlListBox appears without any border
Summary: UnoControlListBox appears without any border
Status: ACCEPTED
Alias: None
Product: ui
Classification: Code
Component: ui (show other issues)
Version: OOo 2.0
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: 4.x
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-17 19:08 UTC by paolomantovani
Modified: 2013-02-07 21:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
StarBasic IDE with a Listobox where the border property is set to "3DLook" but it has no borders (91.64 KB, image/png)
2006-05-17 19:13 UTC, paolomantovani
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description paolomantovani 2006-05-17 19:08:30 UTC
(Notice: only under Linux)

UnoControlListBox in UnoDialogs appears without any border
This problem affects also ComboBox (with property DropDown set to False)

A probably related problem affects the TextEdit control:
- Go in the StarBasic IDE
- Add a new dialog in the designer
- insert a textedit control
- open the property dialog and set:
Multiline = False
Background = Red (for example)
BorderColor = Gray (f.e.)
Border = Flat
You will see NO effects!

setting multiline = True 
the properties ara applied correctly.
Comment 1 paolomantovani 2006-05-17 19:13:41 UTC
Created attachment 36553 [details]
StarBasic IDE with a Listobox where the  border property is set to "3DLook" but it has no borders
Comment 2 jack.warchold 2006-06-01 15:42:04 UTC
reassigned to jsk

please proceed
Comment 3 kpalagin 2007-04-17 19:27:23 UTC
Confirming - 2.2m8 on WinXP displays Background Red irrespective of multiline 
property, 2.2m14 on Suse 10.2 KDE displays Background Red depending on 
multiline.
Additional problem - flipping multiline property with the mouse causes 
immidiate effect on background, doing this via arrow keys on keyboard is not 
immideately reflected.
Comment 4 joerg.skottke 2007-04-18 07:44:52 UTC
To FS
Comment 5 Frank Schönheit 2007-04-18 08:10:15 UTC
fs->cd: AWT is your's nowadays.

What I assume here is that we have the well-known (well, obviously not
*well*-known) theming problem: Some attributes are simply ignored when OOo uses
the desktop's theming. In Basic dialogs, if theming is ON, OOo lets the desktop
draw the controls, including for instance the background. Thus, the control's
own background property is ignored. Same for border/color and the like.

I suppose the dependency to "MultiLine = yes" is because multi line text fields
are *not* drawn using the desktop mechanisms.
Comment 6 carsten.driesner 2007-04-18 08:26:13 UTC
cd: Accepted. I have to check the explanation from FS. If this is related to our
theming than there is no easy way to fix this.
Comment 7 Martin Hollmichel 2007-12-06 10:36:28 UTC
set target milestone according to http://wiki.services.openoffice.org/wiki/Target_3x