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: | small UI damage of java project configuration combobox in toolbar | ||
---|---|---|---|
Product: | java | Reporter: | Tomas Danek <musilt2> |
Component: | Project | Assignee: | David Simonek <dsimonek> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jglick, jrojcek, saubrecht |
Priority: | P4 | Keywords: | L&F, REGRESSION, UI |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screenshot of combobox |
Description
Tomas Danek
2007-01-26 13:00:31 UTC
Created attachment 37718 [details]
screenshot of combobox
I think due to Dafe's recent GTK changes? Perhaps make them conditional on GTK L&F, or if not then at least test on other L&Fs. Fixed to work OK on all LFs. I made combo visible (but disabled) if no project is opened intentionally - I think it's more aligned with behaviour of other toolbar items, they don't vanish as well. (and moreover hiding didn't work on GTK, free space appeared here). (Please include commit log messages in IZ. Looks like you did 1.6 and 1.7 of projects/projectui/src/org/netbeans/modules/project/ui/actions/ActiveConfigAction.java.) It was agreed before that we prefer for the combo to be hidden, not just disabled, when it is inapplicable. That is what saubrecht's 1.5 commit accomplished. (I was unable to get it to work when I wrote the class but he figured it out.) Jano, what do you think? Yes, when we implemented the configuration combo box I agreed to hide the combo if the main project doesn't support configurations. I still think it's better to hide the combo box, mostly because the configurations are not supported by Enterprise and Web projects. This means there's a group of users (ent/web app developers) who would have a completely useless disabled combo box in the main toolbar all the time. In addition, the configurations don't work with freeform projects. I think in general, controls should not appear/disappear, but this is more like showing/hiding debugger toolbar or palette window when it's needed. Ideally the configurations would be supported by ent/web app projects as well. AFAIK, there's a few use cases when it might be handy. The problem is I'm not able to implement hiding combo box on GTK well. There is always a space left, it seems GTK toolbars have problems with hidden items... combobox looks fine now on my system. Verified 20070914. |