Bug 974425
Summary: | Inconsistent title of pager icon in "Task List (Advanced View)" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Jan Hrcek <jhrcek> | ||||
Component: | Business Central | Assignee: | Mauricio Salatino <msalatin> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Hrcek <jhrcek> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.0.0 | CC: | rzhang | ||||
Target Milestone: | DR6 | ||||||
Target Release: | 6.0.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-08-06 20:06:46 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
fixed in master and beta4 I checked with Beta 4 and the problem is still present -> The button still has title "Fast forward" i.e. the anchor element in the web page is rendered as <a id="gwt-uid-173" class="btn btn-link disabled GJ--WOXHO" href="javascript:;" data-original-title="Fast forward"> There is also probably related bug about this button, that unlike the previous 3 paging buttons it doesn't work - it is allways disabled. For example add 60 tasks (= 2 pages of tasks) and then try to use paging buttons like next - previous - next - first. The buttons are enabled/disabled based on your currently displayed list page, but "Fast forward" is allways disabled and doesn't work. I will check this, but this is the standard pager that comes with the GWT Bootstrap libs. It's not inside the jbpm console ng. I guess that all the pagers in the apps will have that Title. Yes, you're right. I checked the sources and the label "Fast forward" is hardcoded in https://github.com/gwtbootstrap/gwt-bootstrap/blob/master/src/main/java/com/github/gwtbootstrap/client/ui/SimplePager.java . Also the faulty logic for disabling/enabling the paging buttons reside in that class. EDIT: upon closer inspection I just found that it's actually not a bug, it's a feature :D There are 3 ways this SimplePager gives to move forward in a paged list 1) with "Next page" (1 page forward) 2) with "Fast forward" button - moving forward by more pages (enabled when 100+ items are in the list) - This button is enabled by default when using no-param constructor of SimplePager. 3) with "Last Page" button. This is disabled by default. So in our case (List of tasks - can get quite long when displaying All tasks in a Grid view) I would recommend enabling the "Last Page" button by using different constructor in TasksListViewImpl class. Sounds good.. i will check it out and change the bz status Fixed in master The commit that fixes this problem is (note, that BZ number in the commit message is incorrect) https://github.com/droolsjbpm/jbpm-console-ng/commit/a016848d9b4e835fbf318066f6450a23686e7c28 Verified with DR6 deployed on EAP 6.1 |
Created attachment 761128 [details] Paging icon Description of problem: See printscreen. While the first 3 icons are named: 1) First page 2) Previous page 3) Next page the 4th is named 4) Fast forward -> Should be renamed to "Last page" to be consistent with the first three Version-Release number of selected component (if applicable): business-central DR5