Community
Participate
Working Groups
Hello, I can resize the Compare With Branch Or Version dialog horizontally, but when I make it wider, the list does not get wider as it should. As a result, long version tags like the ones we use are truncated, and thereby pretty useless. The version tag I am looking for is called PROPHET_ProphetCharts_2_0_b240 - there is a version tag for every build, and the only difference between them is the build number. In the version dialog list, I see the following list: PROPHET_ProphetCharts_2_0_... PROPHET_ProphetCharts_2_0_... PROPHET_ProphetCharts_2_0_... PROPHET_ProphetCharts_2_0_... PROPHET_ProphetCharts_2_0_... PROPHET_ProphetCharts_2_0_... PROPHET_ProphetCharts_2_0_... There is no way to make the list wider. I have a screenshot but don't see any way of attaching it here.
Created attachment 65363 [details] Screenshot of the problem
Exact Eclipse version: Version: 3.3.0 Build id: I20061214-1445
Krzysztof, can you have a look at this? If the fix is trivial, we can put it into RC1.
Created attachment 65888 [details] Screenshot from 3.3m6 This is screenshot from 3.3m6. Tag names are not truncated. Worksforme.
Nikolaus, would it be possible for you try the 3.3 M7 build when it is available (should be out sometime today). If you still see the problem, please reopen.
Created attachment 66034 [details] No Filter Text - Works As Expected (3.3m7)
Created attachment 66035 [details] Fitler text-Tags appear truncated (3.3m7)
Sorry, this is not resolved. Tested with Eclpse 3.3m7 Steps to reproduce: 1) create two tags, one called Very_long_name_tag_where_does_it_end_1, the second called Very_long_name_tag_where_does_it_end_2 2) Right click on the project -> Replace with Another branch or version 3) In Compare With Branch Or Version dialog, click "Refresh Tags" 4) Type "Very_" in the text field on the top of the dialog Expected: Resulting list fills the dialog and has a horizontal scroll bar if tags are too long Actual: Resulting list is truncated around character 30, the rest of the tag does not display. See screen shot 2. Regression: Resizing the dialog does not help Regression 2: As long as no text is in the text field on top of the dialog, the tags display as expected. See screen shot 1.
Created attachment 66069 [details] Workaround I am afraid nothing significant can be done in this area. The tag column width is calculated on string length in characters times *average* character length. And this is the problem, since when text is longer than calculated, is being truncated. Or, maybe is there any way of calculation string length based on its content?
Patch reviewed and released. I reduce the safety margin to 50. I think 50 is enough and having it shorter may reduce the chances of the horizontal scroll bar appearing.