Bug 4266

Summary: variables: Filter the content of the bitbake variables table
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: David Reyna <david.reyna>
Status: VERIFIED FIXED QA Contact: Yuan Sun <Yuan.Sun2>
Severity: enhancement    
Priority: Medium CC: jessica.zhang, Yuan.Sun2
Version: unspecified   
Target Milestone: 1.6 M4   
Hardware: All   
OS: Multiple   
Whiteboard: GUI design available
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 4701    
Attachments:
Description Flags
Filtering the content of the "BitBake variables" table
none
Filtering the content of the "BitBake variables" table
none
No following warning occurs when I try applying a filter while another filter takes effect. See page 8 of "Filtering the content of the BitBake variables table" document. "You can only apply one filt
none
When you select a filter that matches no variables in the table, no alert heading "no variables found" occurs. See page 10 of "Filtering the content of the "BitBake variables" table" document. none

Description Belen Barros Pena 2013-04-11 17:38:12 UTC
Using:

1. Table-wide filters, such as "show me variables whose values I've modified" (vs. variables using default values)

2. Column-specific filters. To see an example of such filters, visit:

http://www.yoctoproject.org/webhob/phase3_final_web_prototype/project.html

Then click the arrow next to the "Completed" column heading.

The final list of filters, column filter design and the specifics of the filtering behaviour are TBC.
Comment 1 Belen Barros Pena 2013-11-11 16:39:44 UTC
Created attachment 1616 [details]
Filtering the content of the "BitBake variables" table
Comment 2 Belen Barros Pena 2013-12-27 15:03:24 UTC
Created attachment 1692 [details]
Filtering the content of the "BitBake variables" table
Comment 3 Yuan Sun 2014-03-11 03:22:27 UTC
Created attachment 1803 [details]
No following warning occurs when I try applying a filter while another filter takes effect. See page 8 of "Filtering the content of the BitBake variables table" document.  "You can only apply one filt
Comment 4 Yuan Sun 2014-03-11 03:22:58 UTC
Created attachment 1804 [details]
When you select a filter that matches no variables in the table, no alert heading "no variables found" occurs. See page 10 of "Filtering the content of the "BitBake variables" table" document.
Comment 5 Yuan Sun 2014-03-11 03:23:39 UTC
I reopen the bug for the following reasons.
(1) No following warning occurs when I try applying a filter while another filter takes effect. See page 8 of "Filtering the content of the BitBake variables table" document.

"You can only apply one filter to the table. This filter will override the current filter."

(2) When you select a filter that matches no variables in the table, no alert heading "no variables found" occurs. See page 10 of "Filtering the content of the "BitBake variables" table" document.
Comment 6 Yuan Sun 2014-03-11 05:07:15 UTC
Tested in commit id(commit 5f81d9d1fa537445d5da49e12de1e16300e94552).
Comment 7 David Reyna 2014-03-17 06:05:29 UTC
The work is done under the defect #5960, which is on its V2 review. This addresses the requirement "(1) No following warning occurs when I try applying a filter while another filter takes effect."

For the requirement "2) When you select a filter that matches no variables in the table, ...", selecting a filter with no matches is now impossible given the new filter counter in the dialog, which as a side affect disabled filters that have zero matches.

*** This bug has been marked as a duplicate of bug 5960 ***
Comment 8 Yuan Sun 2014-03-20 02:41:03 UTC
(In reply to comment #7)
> The work is done under the defect #5960, which is on its V2 review. This
> addresses the requirement "(1) No following warning occurs when I try
> applying a filter while another filter takes effect."
> 
> For the requirement "2) When you select a filter that matches no variables
> in the table, ...", selecting a filter with no matches is now impossible
> given the new filter counter in the dialog, which as a side affect disabled
> filters that have zero matches.
> 
> *** This bug has been marked as a duplicate of bug 5960 ***

I will retest after 5960 is merged.
Comment 10 Yuan Sun 2014-04-04 07:57:43 UTC
Verified in 3e528d3e4bc542ca2f654c54363c56af0fb9f61b.