This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [GTK] Wrong background of selected item in a list | ||
---|---|---|---|
Product: | platform | Reporter: | Martin Krauskopf <mkrauskopf> |
Component: | Window System | Assignee: | Martin Krauskopf <mkrauskopf> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | tboudreau |
Priority: | P3 | Keywords: | GTK, REGRESSION |
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
AntProjectHelper is 'selected'
HtmlLabelUI patch |
Description
Martin Krauskopf
2005-07-26 12:09:44 UTC
linux, gtk, jdk 1.5.0_04, jdk 1.6.0-ea-b44 This worked before. Created attachment 23288 [details]
AntProjectHelper is 'selected'
Probably Tim's should know more. Probably his regression. Not only unfocused background, but also focused background color is invisible in some cases. Attaching the patch which will make it at least usable. Not ideal but still better than current implementation which makes GTK more or less unusable/very_inconvenient (See New File, New Project, Add Module Dependency, ...) But as Tim said "It mangles painting on GTK L&F".... Should be IMHO fixed for 5.0, since GTK works quite nicely in Mustang. Created attachment 26462 [details]
HtmlLabelUI patch
My recollection - painting our own background color in earlier versions of GTK L&F just guaranteed we would paint the wrong color, which is why that line was there - in other words, returning null there probably does solve the problem for JDK 1.5; but something has changed in 1.6 and it now works correctly. So if deleting those lines works, do it - we don't care about GTK on 1.5 anyway, right? I'll do so. I'm using patched version for some time. Is better to use not-so-polished version than hard-to-use one. Fixed. Checking in openide/awt/HtmlLabelUI.java; 1.7 --> 1.8 OK, thanks a lot. Marking this issue as VERIFIED since the issue reporter == issue owner. |