Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 129779

Summary: [Markers] Problems tab doesn't scroll if issues are fixed and the list shortens
Product: [Eclipse Project] Platform Reporter: Max Gilead <max.gilead>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Bug Depends on: 125702    
Bug Blocks:    
Attachments:
Description Flags
Empty Problems view with strangely drawn scrollbar
none
Random example of how Problems View looks like while fixing warnings (two are left)
none
Fixing errors -- initial state
none
Fixing errors -- last one fixed
none
Fixing errors -- second one (last of previously visible) fixed
none
Fixing errors -- last visible fixed
none
Fixing errors -- clicked in source code on last error on list (previously invisible) none

Description Max Gilead CLA 2006-02-28 09:39:05 EST
Problems tab doesn't scroll to show remaining issues if some of them are fixed and the list shortens. Eg. if Problems tab shows bottom of the list and user fixes last 5 of 15 issues the list isn't scrolled up to show remaining issues but instead tab is left empty. After scrolling up list is properly displayed.

This problem appeared in recent versions of Eclipse (3.2M5 IIRC).

Tested with:
Version: 3.2.0
Build id: I20060221-1300
Comment 1 Tod Creasey CLA 2006-03-01 16:21:07 EST
By tab do you mean selection? Currently we update that list completely when the problems are eliminated by the builder so I am not sure what you mean.
Comment 2 Max Gilead CLA 2006-03-02 02:57:18 EST
I mean contents of 'Problems' tab -- the list it contains. It looks like there are no errors on the list but errors count is non-zero. After moving mouse over the (currently empty) tab pane and scrolling mouse wheel the problems list 'scrolls in' from above.
Comment 3 Tod Creasey CLA 2006-03-02 07:17:15 EST
Ok so you mean the Problems View. Let me paraphrase to see if I get it right.

When the list refreshes the area you can see is full of empty rows - these rows used to have errors and should be removed but are not.
Comment 4 Max Gilead CLA 2006-03-02 07:54:52 EST
Yes. Please note that there are no gray-white row indicators though -- the view is completely empty.

I'll try to precisely describe how it happens next time I encounter this issue.
Comment 5 Max Gilead CLA 2006-03-02 08:29:03 EST
Example: change problems filter on project with lots of errors/warnings so that it shows less issues: empty view. Scroll knob is strangely drawn, with its bottom behind scrollbar's 'down' button (screenshot attached).
Comment 6 Max Gilead CLA 2006-03-02 08:29:53 EST
Created attachment 35606 [details]
Empty Problems view with strangely drawn scrollbar
Comment 7 Max Gilead CLA 2006-03-02 08:31:09 EST
Comment on attachment 35606 [details]
Empty Problems view with strangely drawn scrollbar

View is empty yet there are 698 filtered warnings which should be shown.
Comment 8 Tod Creasey CLA 2006-03-02 09:43:49 EST
Max this sounds like Bug 113455 where problems are not being shown rather than a scrolling problem.

Just to clarify - you expect there to be problems there and they are not being rendered. Bug 113455 is reported against Linux as well so I am starting to get suspicous of something going on with the Linux table.

Thanks for all of the screenshots - they have been really helpful.
Comment 9 Tod Creasey CLA 2006-03-02 15:00:50 EST
Adding a reference to Bug 113455 to see if any changes are helping this issue
Comment 10 Max Gilead CLA 2006-03-03 03:19:17 EST
Yes, there are no problems in view's table and I do expect problems to be shown. But the strange position of scrollbar knob gives impression that it's a scrolling issue, however that's uninformed user's opinion which may be completely wrong :)

I'm not sure if it's a dupe of #113455 as it's been reported a few months ago but I saw this particular problem very recently only (I use Eclipse daily).
Comment 11 Max Gilead CLA 2006-03-08 06:56:43 EST
Created attachment 35902 [details]
Random example of how Problems View looks like while fixing warnings (two are left)
Comment 12 Max Gilead CLA 2006-03-08 17:08:33 EST
Because of the initial bug report seemed to be a bit unclear I'm attaching a series of screenshots showing the problem step by step. I hope that it's now clear what I meant :)
Comment 13 Max Gilead CLA 2006-03-08 17:09:22 EST
Created attachment 35939 [details]
Fixing errors -- initial state
Comment 14 Max Gilead CLA 2006-03-08 17:10:09 EST
Created attachment 35940 [details]
Fixing errors -- last one fixed
Comment 15 Max Gilead CLA 2006-03-08 17:11:10 EST
Created attachment 35941 [details]
Fixing errors -- second one (last of previously visible) fixed
Comment 16 Max Gilead CLA 2006-03-08 17:11:42 EST
Created attachment 35942 [details]
Fixing errors -- last visible fixed
Comment 17 Max Gilead CLA 2006-03-08 17:12:27 EST
Created attachment 35943 [details]
Fixing errors -- clicked in source code on last error on list (previously invisible)
Comment 18 Tod Creasey CLA 2006-03-09 10:49:00 EST
Thanks for the screenshots Max - it looks like the missing update issues I have been tracking down.

I have been looking at this in 0307 and I haven't been avble to replicate. Which is the latest build you are using?
Comment 19 Max Gilead CLA 2006-03-09 15:32:06 EST
I'm using I20060221-1300 as it's the latest one available I could find marked green. I'll try I20060309-1000 and remember to be cautious while using refactoring tools ;)
Comment 20 Max Gilead CLA 2006-03-09 16:05:16 EST
Reproduced using I20060309-1000. I noticed that when cleanly fixing issue the list isn't scrolled correctly but it *is* when new problems are introduced by fixing old one (I mean, when fixing one error introduces two new ones ;) ).
Comment 21 Tod Creasey CLA 2006-03-20 10:47:27 EST
Max which Linux are you using? I am working with RedHat 4.0 using GTK and I have not been able to replicate this. It may be to do with the Table on the linux distribution you are using,
Comment 22 Max Gilead CLA 2006-03-20 12:24:06 EST
I'm using Debian and see it daily :/  I'm using Gorilla and Clearlooks themes, GTK+ version 2.8.13.
Comment 23 Tod Creasey CLA 2006-03-20 12:31:04 EST
Are you seeing this sort of things with other tables?
Comment 24 Max Gilead CLA 2006-03-20 12:35:52 EST
I haven't specifically checked but nothing caught my eye.
Comment 25 Tod Creasey CLA 2006-03-22 07:36:47 EST
Max this may be the same issue as Bug 125702, I think I was barking up the wrong tree with Bug 113455
Comment 26 Max Gilead CLA 2006-03-23 06:38:40 EST
Bug 113455 doesn't look like similar issue because in what I'm seeing all errors actually are on the list, just the list isn't shown properly. However bug 125702 does look like similar issue, especially when comparing screenshots.
Comment 27 Tod Creasey CLA 2006-03-23 07:33:20 EST
Thanks Max - thats what I thought too (and hence the updated dependencies).
Comment 28 Tod Creasey CLA 2006-05-03 07:33:48 EDT
Marking WONTFIX as this is an OS issue (See Bug 125702)