eclipse-sw360 / sw360

SW360 project
https://www.eclipse.org/sw360/
Other
122 stars 98 forks source link

The checkbox in "GENERATE LICENSE INFORMATION" page is difficult to understand #1245

Open shi9qiu opened 3 years ago

shi9qiu commented 3 years ago

Description

The checkbox for selecting all components in the "GENERATE LICENSE INFORMATION" page seems to be invalid. If you check it when no component is selected, nothing happens. However, it works when you want to unselect the components.

How to reproduce

Just go to the "GENERATE LICENSE INFORMATION" page, then you can check this issue.

Screenshots

licenseinfo_bug

Versions

Logs

Any logs (if any) generated in

SW360 logs

Logs generated under /var/log/sw360/sw360.log

Tomcat logs

Logs generated under /var/log/tomcat/error.log

shi9qiu commented 3 years ago

Sorry, I checked the source code and the page, the functionality here seems to be "restore the default selection by clicking on the checkbox in the header row". But it does confuse me and maybe other new users as well.

mcjaeger commented 3 years ago

hm, @shi9qiu but what would be the proposal what to do? maybe add a small icon behind the checkbox with a strike out pencil? like: https://cdn.shopify.com/s/files/1/0743/4995/products/NoPencil-Watermark.jpg?v=1488407461

shi9qiu commented 3 years ago

hm, @shi9qiu but what would be the proposal what to do? maybe add a small icon behind the checkbox with a strike out pencil? like: https://cdn.shopify.com/s/files/1/0743/4995/products/NoPencil-Watermark.jpg?v=1488407461

It looks like a good idea! The checkbox now will make the user think the function is "select all".