wamps-jp / pe

0 stars 0 forks source link

GUI display omits last entry after `list` #2

Open wamps-jp opened 11 months ago

wamps-jp commented 11 months ago

When using the list command to show all contacts (supposing that prior to the command the GUI did not show all contacts, such as after a find command call), the GUI consistently omits the last entry, as seen in the following screenshot:

image.png

For example, if I do the following sequence of actions:

  1. Call find n/alex (showing the entry for any employee named Alex, if any exist)
  2. Call list to show the full list of employees again.
  3. Scroll to the bottom.

I see something similar to the attached image, with the last entry showing only a fraction of the heading. This consistently happens when the user calls a find command that changes the number of employee entries shown - if a sort command, or a find command that applies to all entries in the database, are called, then the list is called, the bug doesn't appear.

This is not a major flaw, but since it's a consistent hindrance to the user, it bears fixing. To view the final entry after the bug, scrolling up then down seems to fix it.

Edit: it seems this bug may occur at other times, but I am unsure how to trigger it. In addition, it does not always truncate solely the last entry, but I could not replicate the time when it truncated entries 9 and 10.

nus-pe-bot commented 11 months ago

Team's Response

Thank you for your response. We tried it on four different computers, two Windows, one Mac and one Linux. We tried the steps that the tester gave and with other variations that change the number of employee entries shown but we were unable to reproduce this bug.

Items for the Tester to Verify

:question: Issue response

Team chose [response.CannotReproduce]

Reason for disagreement: While I understand that you have tested it on 4 different computers with different OS, I was able to recreate the bug immediately upon starting up the provided jar file in the PE, as seen here:


video:https://raw.githubusercontent.com/wamps-jp/pe/main/files/c0c61c4d-7d95-475c-912e-b8b80341de30.mp4

and here:


video:https://raw.githubusercontent.com/wamps-jp/pe/main/files/c4e6ccb5-361d-42b4-9475-6360ca5a4fbb.mp4

Additionally, I suspected it may be the version, so I downloaded a new version of EmployeeManager.jar from your GitHub, and was able to recreate the bug there as well:


video:https://raw.githubusercontent.com/wamps-jp/pe/main/files/b8fe0d14-9232-490b-beb5-345b583595e2.mp4

I believe this is still an issue.