Issue 41891 - "pressed" item of a HeaderBar has unusable coloring
Summary: "pressed" item of a HeaderBar has unusable coloring
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: 680m76
Hardware: All All
: P4 Trivial (vote)
Target Milestone: OOo 2.0.3
Assignee: eric.savary
QA Contact: issues@gsl
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2005-02-02 12:16 UTC by Frank Schönheit
Modified: 2006-05-09 13:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2005-02-02 12:16:09 UTC
- open a new text document
- press F4 to open the data source browser
- on the left hand side, select Bibliography/Tables/biblio
- on the right hand side, select an arbitrary column
=> note that while you press the mouse button over a column header, the
   respective header item is painted black on dark blue, which is somewhat
unfortunate

Note: I'm using the "classic" theming on WinXP, other themings may yield other
results
Comment 1 Frank Schönheit 2005-02-02 12:20:53 UTC
fs->ssa: Not sure, but perhaps using the GetHighlightTextColor of the
StyleSettings is better. At least this is what we do in the "IconChoiceControl"
(see the "Documents and Templates" dialog, left hand side control), which also
uses DrawSelectionBackground to indicate a focused and selected item.

another note: I just saw that the same holds for items in toolboxes which do not
have an icon, which makes sense, since the probably use similar code :). Not
sure whether this is worth fixing, too - it's perhaps more unlikely to encounter ...

adding regression keyword, since this used to work before the change to the
HeaderBar appearance.
Comment 2 thorsten.ziehm 2005-04-11 13:51:40 UTC
Because of limited resources we have to re-target this task to the next release.
Set to OOo 2.0.1
Comment 3 stephan_schaefer 2005-05-26 10:33:59 UTC
retarget due to limited resources
Comment 4 Joost Andrae 2005-11-10 09:39:31 UTC
JA: regressions need to be fixed as early as possible. Reset target to 2.0.2
Comment 5 stephan_schaefer 2005-12-02 10:32:14 UTC
SSA: reassign to PL
Comment 6 philipp.lohmann 2005-12-21 14:12:23 UTC
retarget due to resource limits
Comment 7 philipp.lohmann 2006-04-05 13:58:46 UTC
fixed in CWS vcl57; depending on the color used in DrawSelectionBackground
either the button text color (as before) or the highlight text color gets used
now, depending on which has the greater difference in luminance to the
background color used.
Comment 8 philipp.lohmann 2006-04-13 15:25:57 UTC
please verify in CWS vcl57

re-open issue and reassign to es@openoffice.org
Comment 9 philipp.lohmann 2006-04-13 15:26:01 UTC
reassign to es@openoffice.org
Comment 10 philipp.lohmann 2006-04-13 15:26:05 UTC
reset resolution to FIXED
Comment 11 eric.savary 2006-05-03 17:30:04 UTC
Verified in CWS vcl57
Comment 12 eric.savary 2006-05-09 13:23:50 UTC
Ok in src680m167