| Summary: | Launcher dialog window resizes to full width | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | David Jarrin <djarrin> |
| Component: | Debug | Assignee: | Darin Wright <darin.eclipse> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | Keywords: | usability |
| Version: | 2.1 | ||
| Target Milestone: | 2.1 M5 | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
David Jarrin
To clarify, the launcher dialog bug the description refers to is brought up by selection Run/Run... from the toolbar or from the shortcut toolbar button. Okay, I did some more investigation and narrowed the problem to the the following: 1. I installed M4 and re-used my existing workspace configuration... I use the - data option when I start up Eclipse. 2. Apparently the following file in my workspace is what determines the size of the launcher dialog window: .....\workspace\.metadata\.plugins\org.eclipse.debug.ui\dialog_settings.xml 3. I looked at the values for WIDTH in the dialog_settings.xml file and they were quite large for some reason. 4. I manually changed the values to smaller values. 5. The launcher dialog window now comes up file without automatic resizing to the full width of the screen. 6. I noted the problem DID NOT occur when I run M4 pointing to a brand new workspace directory... Which is painful to do since I lose all my configuration settings from the previous version. I hope this helps. Thanks! I found out some more details about the problem. Dialog resizing to full screen width happens only when the list of program arguments (specified in the Arguments tab) is fairly long. Here's a sample list of arguments I use: -crux -cidx 1101 -cdid 1203 -debugx -dblogx -nodblogx -relatedx 8 -assocx 8,10 -mergex 35601,35701 -splitx 35501 -unlinkx 8,10 -linkx 8,10 - createduplicatex -duplicatex 8,10 -unduplicatex 8,10 -findduplicatex 11733 - linesx 26,38 -hostx cyborg2 -host eclaims01 -portx 3104 -passx welcome1 - domainx cssapp -periodx 3322 -admincred -mergesourcesx 70,6791,7864 - splitsourcesx 24,8182,8188,8186 -searchx -archivex false - setClaimsStateByClaimIdsx 101,201,301 -setClaimsStateByClaimDataIdsx 103,203,303 -billertotalsx biller8 -facilitytotalsx DEL -billtypetotalsx DEL - errortypetotalsx DEL This did not happen in previous versions of Eclipse. Verified problem exists in M4. (Joe, please note that there are now subclasses of the launch dialog, one of which also has its own re-size method - LaunchConfigurationPropertiesiDialog). Yikes! The problem exists for both program & VM arguments text areas. Apparently, there is no constraint on the line length for these widgets. Fixed in JavaArgumentsTab & VMArgumentsBlock by setting width hints on the Text widgets in question. These were the only multi-line text widgets I could find in launch config tabs. A similar issue exists with single line Text widgets in launch config tabs, in that long values tend to widen the dialog. However, I'm not sure this is a bad thing. It clearly makes no sense to widen multi-line Text widgets that wrap their text because they have multiple lines and are scrollable. But single line Text widgets are not scrollable and would otherwise truncate values forcing the user to manually arrow over or use the End key to see the rest of the value. If this is deemed bad behavior, the fix is to set width hints on these Text widgets as well. Please verify, Darin W. Verified. |