Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038421Openbravo ERPA. Platformpublic2018-04-20 13:282018-05-09 19:29
anderaranguren 
jarmendariz 
highmajoralways
closedfixed 
5
pi 
3.0PR18Q3 
caristu
Core
No
0038421: The width of the drop down of a selector in a grid view is too small.
The width of the drop down of a selector in a grid view is too small.
- Login as System administrator
- Go to Reference window
- Search by name 'Project' and select it
- Go to Defined Selector tab
- Go to Defined Selector Field tab
- Check one record as Show in Picklist: Yes
- Change the rol
- Go to the Simple G/L Item window
- Create a record
- Go to lines in grid view and show 'project' column
- Move that column to the right side
- Create a record in grid mode
- And in 'project' column click the selector dropdown
- If you can see properly the width of the selector add more columns and move 'project' column to the last position
No tags attached.
caused by defect 0027544 closed inigosanchez Not possible to use the dropdown of a selector when the line where the selector is located is on the bottom of the page. 
png ScreenshotWidthSelector.png (166,542) 2018-04-20 13:35
https://issues.openbravo.com/file_download.php?file_id=11756&type=bug
png
Issue History
2018-04-20 13:28anderarangurenNew Issue
2018-04-20 13:28anderarangurenAssigned To => platform
2018-04-20 13:28anderarangurenModules => Core
2018-04-20 13:28anderarangurenResolution time => 1525989600
2018-04-20 13:28anderarangurenTriggers an Emergency Pack => No
2018-04-20 13:35anderarangurenSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17041#r17041
2018-04-20 13:35anderarangurenFile Added: ScreenshotWidthSelector.png
2018-04-24 13:09jarmendarizStatusnew => scheduled
2018-04-24 13:09jarmendarizAssigned Toplatform => jarmendariz
2018-04-26 12:50hgbotCheckin
2018-04-26 12:50hgbotNote Added: 0104091
2018-04-26 12:50hgbotStatusscheduled => resolved
2018-04-26 12:50hgbotResolutionopen => fixed
2018-04-26 12:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d41eeba327329ac54030c340299e1924e5c1408e [^]
2018-04-26 12:51jarmendarizReview Assigned To => caristu
2018-04-27 10:32caristuRelationship addedrelated to 0027544
2018-04-27 10:49caristuNote Added: 0104148
2018-04-27 10:49caristuStatusresolved => closed
2018-04-27 10:49caristuFixed in Version => 3.0PR18Q3
2018-04-27 10:55caristuRelationship deletedrelated to 0027544
2018-04-27 10:56caristuRelationship addedcaused by 0027544
2018-05-09 19:29hudsonbotCheckin
2018-05-09 19:29hudsonbotNote Added: 0104401

Notes
(0104091)
hgbot   
2018-04-26 12:50   
Repository: erp/devel/pi
Changeset: d41eeba327329ac54030c340299e1924e5c1408e
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Wed Apr 25 12:32:18 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d41eeba327329ac54030c340299e1924e5c1408e [^]

Fixed issue 38421: Grid selector dropdown is too small.

Dropdown width calculations doesn't take into account that grid fields length
may be longer than the available viewport, so part of the space left of the
field is not visible in the viewport. ScrollLeft property gives the distance from
the beginning to the point where fields starts to be visible in viewport, so
subtracting this value gives the visible left space available.

Also, the code is refactored to make this calculations more readable.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0104148)
caristu   
2018-04-27 10:49   
Code reviewed + tested OK.

Repeated also test cases for related issue 0027544. See: https://issues.openbravo.com/view.php?id=27544#c70540 [^]
(0104401)
hudsonbot   
2018-05-09 19:29   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2be7d3efe606 [^]
Maturity status: Test