Bug 20927 - [Dialogs] Need general path truncation strategy
Summary: [Dialogs] Need general path truncation strategy
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 21591 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-24 18:14 EDT by Cam-Thu Le CLA
Modified: 2006-06-22 08:34 EDT (History)
6 users (show)

See Also:


Attachments
copy.bmp (87.30 KB, image/bmp)
2002-06-24 18:22 EDT, Cam-Thu Le CLA
no flags Details
Progress Dialog (7.44 KB, image/gif)
2002-10-09 15:20 EDT, Tod Creasey CLA
no flags Details
cutoff.bmp (249.26 KB, application/octet-stream)
2002-10-09 17:36 EDT, Duong Nguyen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cam-Thu Le CLA 2002-06-24 18:14:26 EDT
Language: Spanish

        Build driver: 20020621 or F3
        Reporter: Dani Rubio'

        General catch all: Y

        Test case #: 

        Summary: TVT2: Variable {1} not replaced

        Description:
        In the CVS Repository perspective, expand the HEAD of one of the 
repositories and right click on one of the
        projects, select Check out as. You have the option to give a name to the 
checked out project, leave it with
        the name by default (Copy of &ltproject name>) and hit OK. You'll get to 
see a progress information dialgo
        where the first line says:
        Check out "project name" from CVS as "Copy of

        nothing after "Copy of", not even the closing double quotes (please 
check screen shot). This happens just
        the same in the English and in the four other languages I've tried. It 
was OK in F2.
Comment 1 Cam-Thu Le CLA 2002-06-24 18:22:49 EDT
Created attachment 1582 [details]
copy.bmp
Comment 2 Cam-Thu Le CLA 2002-06-24 18:25:52 EDT
This bug is for TPRS test case# 165.
Comment 3 Kevin McGuire CLA 2002-06-25 13:32:31 EDT
The string is ok and the correct # of arguments are being used.

It appears the progress dialog (ProgressMonitorDialog) label is truncating 
instead of wrapping over multiple lines.

This can be shown by just doing a Checkout As Project with a very long project 
name.  In this case oddly all you get is "Checking out".  Experimenting with 
boundary cases of project name lengths shows that if the name is short enough 
it gets printed.

Moving to UI for investigation re: ProgressMonitorDialog.  Also reducing 
severity since its not a string translation issue (was "critical").

Reworded title to match above.  Old title was:
    TVT2: Variable {1} not replaced
Comment 4 Nick Edgar CLA 2002-07-12 15:34:40 EDT
Should ensure progress dialog has at least two lines available for the message, 
and wraps the message as needed.
Comment 5 Nick Edgar CLA 2002-07-15 15:38:43 EDT
*** Bug 21591 has been marked as a duplicate of this bug. ***
Comment 6 Eduardo Pereira CLA 2002-07-25 14:49:57 EDT
Fix is in ProgressMonitorDialog
Released only in 201 stream.
Comment 7 Eduardo Pereira CLA 2002-07-26 12:40:38 EDT
Released in the HEAD stream as well.
Comment 8 Eduardo Pereira CLA 2002-07-26 12:44:56 EDT
Fix released in both streams (201 and HEAD)
Comment 9 Duong Nguyen CLA 2002-10-09 14:42:36 EDT
Although the message is wrapped, the last line is clipped.
Comment 10 Tod Creasey CLA 2002-10-09 15:19:54 EDT
On which build do you see the clipping? Here is the dialog from build 20021001 
showing no clipping.

Please give window settings if you still see this (attachment to follow).
Comment 11 Tod Creasey CLA 2002-10-09 15:20:30 EDT
Created attachment 2142 [details]
Progress Dialog
Comment 12 Tod Creasey CLA 2002-10-09 15:21:00 EDT
Marking as Worksforme.
Comment 13 Duong Nguyen CLA 2002-10-09 17:36:22 EDT
Created attachment 2144 [details]
cutoff.bmp
Comment 14 Tod Creasey CLA 2002-10-10 08:16:04 EDT
The ProgressMonitorDialog is designed to have 2 lines of text like the 
TitleAreDialog does - users with longer messages as a result of long paths 
need a truncation strategy.

We need to make a truncation strategy for general use within the workbench as 
this is a common issue.

Renaming PR.
Comment 15 Nick Edgar CLA 2003-02-27 15:17:56 EST
There are no plans for the UI team to work on this defect until higher 
priority items are addressed. 
Comment 16 Tod Creasey CLA 2006-06-22 08:34:27 EDT
There are currently no plans to work on this feature