Bug 4266 - variables: Filter the content of the bitbake variables table
Summary: variables: Filter the content of the bitbake variables table
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium enhancement
Target Milestone: 1.6 M4
Assignee: David Reyna
QA Contact: Yuan Sun
URL:
Whiteboard: GUI design available
Depends on:
Blocks: 4701
  Show dependency tree
 
Reported: 2013-04-11 17:38 UTC by Belen Barros Pena
Modified: 2014-04-24 02:21 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Filtering the content of the "BitBake variables" table (2.46 MB, application/pdf)
2013-11-11 16:39 UTC, Belen Barros Pena
no flags Details
Filtering the content of the "BitBake variables" table (1.45 MB, application/pdf)
2013-12-27 15:03 UTC, Belen Barros Pena
no flags 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 (291.20 KB, image/png)
2014-03-11 03:22 UTC, Yuan Sun
no flags 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. (194.81 KB, image/png)
2014-03-11 03:22 UTC, Yuan Sun
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.