Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366543 - [Progress] Text in progress dialog is truncated even if progress dialog has plenty of space
Summary: [Progress] Text in progress dialog is truncated even if progress dialog has p...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 09:18 EST by Christophe Cornu CLA
Modified: 2020-01-09 15:38 EST (History)
3 users (show)

See Also:


Attachments
truncated message in progress dialog (22.29 KB, image/png)
2011-12-13 09:18 EST, Christophe Cornu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Cornu CLA 2011-12-13 09:18:06 EST
Build Identifier: 

Found in Eclipse 3.5.2 but John Arthorne also found it in the latest.

@johna from your days on IProgressMonitor, do you know if the Eclipse progress dialog takes the liberty to truncate messages? "Block...g for background work to complete" is strangely truncated.

RTC probably can't do anything aside of reporting this to Eclipse after we confirm we've got nothing to do with this...

3. John Arthorne, Dec 7, 2011, 12:54 PM
Yes it does. org.eclipse.ui.internal.progress.ProgressInfoItem#setMainText does:

        progressLabel
                .setText(Dialog.shortenText(getMainTitle(), progressLabel));

I suggest filing this against Eclipse.

Reproducible: Always

Steps to Reproduce:
See screenshot.
Note that now most users have wide 16/9 screens, it's best to avoid hardcoded truncated strings if possible. Instead imagine we have a JFace Text widget that uses the SWT text or styled text widget and automatically truncates its content to make it fit in one line based on its current width... And the tooltip on that widget would give the full non truncated text to users, and screen readers would get the full string too.
Comment 1 Christophe Cornu CLA 2011-12-13 09:18:59 EST
Created attachment 208312 [details]
truncated message in progress dialog
Comment 2 Christophe Cornu CLA 2011-12-13 09:19:41 EST
Backlink to RTC bug: https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/178293
Comment 3 Eric Moffatt CLA 2012-02-08 16:26:53 EST
Just talked with Christophe and he's OK with deferring this to post-4.2...

I'll put it into M7 for now until a 4.3 bucket shows up so it won't just go back into the general pool.
Comment 4 Christophe Cornu CLA 2012-03-21 13:25:51 EDT
Adding another related backlink:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/202848
Comment 5 DJ Houghton CLA 2013-08-15 09:55:43 EDT
Also a problem with: 
Version: 3.8.2
Build id: M20130131-0800
Comment 6 Eclipse Genie CLA 2020-01-09 15:38:39 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.