Bug 108556 - [Progress} ProgressView: width of entries no longer fixed, results in hor. scrollbars and lots of flicker
Summary: [Progress} ProgressView: width of entries no longer fixed, results in hor. sc...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 110537 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-01 04:30 EDT by Andre Weinand CLA
Modified: 2007-06-21 15:39 EDT (History)
1 user (show)

See Also:


Attachments
Problem with view in eclipse-I20051102-1600 build (3.91 KB, image/gif)
2005-11-03 15:33 EST, Eugene Kuleshov CLA
no flags Details
CVS Progress (433.12 KB, image/bmp)
2006-04-20 16:03 EDT, Jacob Robertson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Weinand CLA 2005-09-01 04:30:38 EDT
I20050830-0800

The width of entries in the ProgressView is no longer fixed but adapts to the length of the message line in 
the entry. This results in lots of flicker since the horizontal scrollbar comes and goes as the message line 
updates.
Comment 1 Andre Weinand CLA 2005-09-01 04:43:29 EDT
I'd prefer to never have a horizontal scrollbar in the progress view.
Comment 2 Tod Creasey CLA 2005-09-27 09:23:08 EDT
*** Bug 110537 has been marked as a duplicate of this bug. ***
Comment 3 Eugene Kuleshov CLA 2005-09-27 11:42:51 EDT
Also see https://bugs.eclipse.org/bugs/show_bug.cgi?id=110512
Comment 4 Tod Creasey CLA 2005-09-28 12:43:11 EDT
I have removed the scrollbar and made the string truncate if required in build
>20050928
Comment 5 Eugene Kuleshov CLA 2005-09-28 13:44:23 EDT
Tod, is popup tooltip still going to show a complete text?
Comment 6 Tod Creasey CLA 2005-09-28 14:02:20 EDT
Thanks Euguene - I almost missed that. Yes it will.
Comment 7 Eugene Kuleshov CLA 2005-09-28 14:06:02 EDT
By the way, if I'll resize this view back to wider size (including when tasks
are completed), will you "untruncate" the label?
Comment 8 Tod Creasey CLA 2005-09-28 14:22:27 EDT
On the next update yes - we are using Dialog#shortenText
Comment 9 Tod Creasey CLA 2005-11-01 11:07:12 EST
Verified in 20051101
Comment 10 Eugene Kuleshov CLA 2005-11-03 15:33:49 EST
Created attachment 29281 [details]
Problem with view in eclipse-I20051102-1600 build

I've tried eclipse-I20051102-1600 build and noticed that Progress view is
screwed there. With narrow view terminate/close icons are not visible.
Comment 11 Tod Creasey CLA 2005-11-03 15:49:40 EST
There is a minimum size for this view - we don't try and make it fit any smaller
than the progress bar
Comment 12 Eugene Kuleshov CLA 2005-11-03 15:58:18 EST
(In reply to comment #11)
> There is a minimum size for this view - we don't try and make it fit any smaller
> than the progress bar

Can you at leas make that min size the same as progress bar that shom on the
status bar? The way how it work now is really inconvenient comparing to what we
had since early 3.1 builds...
Comment 13 Eugene Kuleshov CLA 2005-11-03 16:39:28 EST
(In reply to comment #11)
> There is a minimum size for this view - we don't try and make it fit any smaller
> than the progress bar

Actually it doesn't even work like this. I am seeing really wide progress bars
for jobs created by Subclipse plugin. No horizontal scroll bar, but I have no
way to kill these jobs because button is get lost far behind of the right border...
Comment 14 Tod Creasey CLA 2005-11-04 07:46:28 EST
Eugene I have opened Bug 115061 so that this issue doesn't get lost. I suspect
it is an issue with the layouts I am using.
Comment 15 Eugene Kuleshov CLA 2005-11-04 08:44:46 EST
(In reply to comment #14)
> Eugene I have opened Bug 115061 so that this issue doesn't get lost. I suspect
> it is an issue with the layouts I am using.

But what about the issue when width is jumping back and forth, that makes
impossible to access close/terminate button?
Comment 16 Tod Creasey CLA 2005-11-04 08:56:27 EST
If you want to log a seperate report about that please do - I'll need some steps
to see what you are talking about.

Does it happen when the progress view is larger than it's minimum size?
Comment 17 Eugene Kuleshov CLA 2005-11-04 09:07:26 EST
(In reply to comment #16)
> If you want to log a seperate report about that please do - I'll need some steps
> to see what you are talking about.

I'll fill in the report. But steps are simple: install Subclipse plugin,
checkoup project from one of the Apache repositories (e.g. Maven), synchronize
it and watch the size. If there are incoming changes you should see the view
jumping back and forth. I don't know if it somehow related to the long subtask
name, so maybe you can just play with progressMonitor.setSubTask() using some
really long text as a param.

> Does it happen when the progress view is larger than it's minimum size?

I believe it does.
Comment 18 Eugene Kuleshov CLA 2005-11-04 10:28:13 EST
Actually width jumps back and forth even on synchronization from CVS plugin.
Shouldn't you reopen this issue? So, it doesn't look like fixed to me.
Comment 19 Tod Creasey CLA 2005-11-04 10:36:49 EST
Reopening as requested
Comment 20 Jacob Robertson CLA 2006-04-20 16:03:53 EDT
Created attachment 39100 [details]
CVS Progress

This screenshot shows that when I right click on a project in the CVS Repositories view, then choose "Check Out" and then the "Details" button, the progress dialog already shows the progress bar off the edge, with the stop button not even visible.
Comment 21 Tod Creasey CLA 2007-06-21 15:39:02 EDT
As of 3.3 we are now fixing the width to the view. See Bug 189991
Comment 22 Tod Creasey CLA 2007-06-21 15:39:22 EDT
Bug 189991 talks about some resize issues that remain