Bug 339839

Summary: Problems ToolView needs more filters and more fields.
Product: [Applications] kdevelop Reporter: Ovidiu-Florin BOGDAN <kde.kfoar>
Component: generalAssignee: Ovidiu-Florin BOGDAN <kde.kfoar>
Status: RESOLVED FIXED    
Severity: wishlist CC: kde.kfoar, kfunk
Priority: NOR Keywords: junior-jobs
Version: 4.7.0   
Target Milestone: 5.0.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ovidiu-Florin BOGDAN 2014-10-10 10:04:27 UTC
The Problems ToolView Should have more fields (columns), that can be shown or hidden.
A column that shows the file path relative to the project dir is necessary, which should be shown by default (if the file in question is part of a project).

Some filters for specific problems are necessary. For example: Show only the TODOs. These filters should have multiselect.

I consider this to be a Junior Job.

Reproducible: Always
Comment 1 Ovidiu-Florin BOGDAN 2014-11-22 17:34:32 UTC
<scummos> another thing one should do is hide the filename column when "current file" is selected
Comment 2 Kevin Funk 2016-01-08 11:44:26 UTC
Proposals:

- Replace "Severity drop-down push button":
  - Just add checkable, icon-only buttons for "Error", "Warning", "Inline"
- Scope button should show the current setting inside the button label itself
  - I.e. "Scope: Current Document", or just "Current Document" (preferring the latter atm)

- More difficult: Introduce a button for selecting the *Source* of the problem.
  - Multi-selection menu for selecting sources (cf. IProblem::Source enum)
  - All sources enabled by default
  - (more difficult because you need to extend ProblemModel)

Relevant code in: kdevplatform.git:plugins/problemreporter/
Comment 3 Anton Anikin 2016-10-21 00:02:33 UTC
Git commit 766eaefcb21e110e1d76297c90725b1801bd8326 by Anton Anikin.
Committed on 21/10/2016 at 00:01.
Pushed by antonanikin into branch 'master'.

Add filtering for ProblemsView

Summary:
The patch adds filtering UI for ProblemsView which is useful when we have a lot of problems - for example select Parser problem model and activate "Current Project" scope for big project (like kdevplatform).

Test Plan:
Tested on master branch.

UI before filtering:
{F370200}

UI after filtering:
{F370201}

UI before filtering (smaller edit size):
{F370252}

UI after filtering (smaller edit size):
{F370251}

Reviewers: kfunk, #kdevelop

Reviewed By: kfunk, #kdevelop

Subscribers: obogdan, kfunk, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D3108

M  +58   -0    plugins/problemreporter/problemsview.cpp
M  +7    -0    plugins/problemreporter/problemsview.h
M  +10   -0    plugins/problemreporter/problemtreeview.cpp
M  +2    -0    plugins/problemreporter/problemtreeview.h

http://commits.kde.org/kdevplatform/766eaefcb21e110e1d76297c90725b1801bd8326