Display issue in grid mode after grid toggle

Description

Tested in http://test.idempiere.org/webui

How to reproduce.
1. Open Window 'Toolbar Button' (default is form mode)
2. Change something, and save.
3. Switch to grid mode (grid toggle), and move slide bar to right
4. Switch to form mode, change something again, and save
5. Switch to grid model, and some columns in left are missing in grid

Environment

None

Attachments

5

Activity

Show:

Ken Longnan February 16, 2020 at 1:04 PM
Edited

Hi ,

I just tested again with below steps, it seems the issue still can be reproduced.

  1. Create one new SO and one new order line.

  2. Then in order line grid window, move slider to the end of right, then move back to left.

  3. Repeat step2 several times. Then some columns are missing.

Please refer to the attached picture for detail.

BR,

Ken

Diego Ruiz February 10, 2020 at 6:03 PM

Hi ,

 

Attached you can find the patch that solves the case reported for your peer review.

 

Best Regards,

Diego Ruiz

Ken Longnan February 10, 2020 at 2:25 PM

Hi , The Case 5 is exactly the steps as same as I did for testing.

BR,

Ken

Diego Ruiz February 10, 2020 at 2:00 PM

Thank you for testing,

For all cases before the patch ->

Expected result:
Record is updated after action and all columns are visible to the user

Actual result:
Record is updated but some columns to the left are lost.

My patch solves these 3 cases:

Case 1:
Steps to reproduce:

  1. Open a window

  2. Change to grid view

  3. Move the horizontal slider to the right until some columns are not visible anymore.

  4. Change a value in a field

  5. Click on the Save Button

  6. Move the horizontal slider to the left

  7. Observe that there are some columns missing

Case 2:
Steps to reproduce:

  1. Open a window

  2. Change to grid view

  3. Move the horizontal slider to the right until some columns are not visible anymore.

  4. Change a value in a field

  5. Click on the Undo Button

  6. Observe that the window is refreshed and some columns are missing

Case 3:
Steps to reproduce:

  1. Open a window

  2. Change to grid view

  3. Move the horizontal slider to the right until some columns are not visible anymore.

  4. Click on the New Button

  5. Observe that a new row is created, the window is refreshed and some columns are missing

Case 4:
Steps to reproduce:

  1. Open a window

  2. Change to grid view

  3. Move the horizontal slider to the right until some columns are not visible anymore.

  4. Click on the "Copy Record" Button

  5. Observe that a new row is created, the window is refreshed and some columns are missing

Case 4:
Steps to reproduce:

  1. Open a window

  2. Change to grid view

  3. Move the horizontal slider to the right until some columns are not visible anymore.

  4. Click on the "Refresh" Button

  5. Observe that the window is refreshed and some columns are missing

All the cases above were tested and are fixed.

I just found a new case that I didn't see before and I guess that's the one you are testing.

Case 5:
Steps to reproduce:

  1. Open a window

  2. Switch to grid view

  3. Move the horizontal slider to the right until some columns are not visible anymore.

  4. Switch back to form view

  5. Update any field

  6. Save the record

  7. Switch to Grid Mode again

  8. Observe that the window is refreshed and some columns are missing

, is there any other case that you are testing and fails? If you are following different steps please let me know which ones.

Best Regards,
Diego Ruiz

Ken Longnan February 10, 2020 at 1:42 PM

Hi

Retest again in http://test.idempiere.org/webui (updated with your fixing yet?), but the issue still can be reproduced just right now.

Could you have double check please?

BR,

Ken

Fixed

Details

Assignee

Reporter

Priority

Created February 4, 2020 at 1:16 PM
Updated April 1, 2020 at 3:28 PM
Resolved February 10, 2020 at 6:04 PM