Bug 254740 - [regression] Problems view - Preferences page - Set visible items per group: 1 - Warning is not displayed in Problems view
Summary: [regression] Problems view - Preferences page - Set visible items per group:...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-10 10:00 EST by Kalin CLA
Modified: 2020-05-14 10:17 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalin CLA 2008-11-10 10:00:13 EST
Have the next code in PHP editor:
<?php
blabla

class SSDSF{
	& = jfun;
}

function 1wer(){}
?>
<html>
<html>
<html>


Open Problems view:
You have 4 errors and 2 warnings.
Open Problems view Preferences page. Set the value in "Limit visible items per group to": 1. 
Save changes.

Expected:
An error and a warning is displayed in Problems view

Actual:
Only an error is shown in Problems view.
The warning item is ignored.
Comment 1 Zhongwei Zhao CLA 2010-03-19 07:46:44 EDT
Hi,Kalin

I think this is not a bug.

Actually error and warning belongs to a big group maybe we can call it "problem".
when you 
Set the value in "Limit visible items per group to": 1.

This means the "problem" group will only show one item(error).

This is how Problems view implemented:)
Comment 2 Kalin CLA 2010-03-19 08:02:20 EDT
Hi, Zhaozhongwei,
It's a bug because setting value 2 as visible items in "Limit visible items per group" field you get both 2 warnings and 2 errors. Setting 3 => you get 3 warnings and 3 errors and it works pretty well. Hence, in the case we see the members of two groups displayed: The group of warnings, and the group of errors.
"Problems" is not a group.
Comment 3 Zhongwei Zhao CLA 2010-03-19 08:17:15 EDT
Hi,but if you thought it is a bug,then i think it is a platform bug:)

It's a bug because setting value 2 as visible items in "Limit visible items per group" field you get both 2 warnings and 2 errors.

This is because there are only two items in Problems view.

And i mean warnings and errors are also groups(subgroup):)

But if you do not think "Problems" is a group,this should be a bug.But the I think the Problems view really think "Problems" is a group.Because I have look deep into the source code,so i get the answer("Problems" is a group).
And after you set value 2 as visible items in "Limit visible items per group" field,you can have a look at the task view to see how many tasks displayed in the view.