| Summary: | Konqueror - "Select All" actually invert selection | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Q4OS Team <q4os> |
| Component: | tdebase | Assignee: | Slávek Banko <slavek.banko> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2696 | ||
| Attachments: | Fix behavior of selectAll and invertSelection in the IconView widget | ||
|
Description
Q4OS Team
2017-02-17 09:10:34 CST
The problem come from the commit d82327fe (qt3). The intention was probably to remove from selection items that are hidden (by filter), because the same behavior is also in the list view. However, the question is: Should be changed the selection of items that are currently hidden (by filter)? Because the same principle should be used to invert the selection as well as to select/deselect by filter. Should hidden items be removed from the selection even in these other cases? What is your opinion? In addition, there is another problem - probably more serious: If items are selected but hidden (by filter), tools such as copying, moving, deletion,... is also performed on these hidden items! I guess this is an unexpected behavior! I think tools should not work with items that are selected but hidden. What is your opinion? Created attachment 2781 [details]
Fix behavior of selectAll and invertSelection in the IconView widget
Proposed patch to fix behavior of selectAll and invertSelection in the IconView widget if the items are hidden by the filter. This is the variant with removing items that are hidden by filter from the selection.
Because there were no opinions, I applied my opinion. Pushed to GIT in hash 5b1f451d (master) and bcd361a8 (r14.0.x). The same principle was applied to ListView. Selection by mask and behavior of commands over selected items will be fixed subsequently. Thank you for reporting the problem - it had more impact than at first glance! |