Bug 8088 - Unexpected behavior pressing ENTER in Web Admin
Summary: Unexpected behavior pressing ENTER in Web Admin
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Administration (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-10 14:10 CET by Samuel Mannehed
Modified: 2023-03-09 10:49 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2023-02-10 14:10:51 CET
Broken out from bug 5870.

In Web Admin's Agent page, when pressing ENTER after modifying agent_hostname or xserver_args, it tries to stop the vsmagent service.

Similarly, when changing allowed_groups, allowed_shadowers or max_sessions_per_user on the Master page, when pressing ENTER it tries to stop the vsmserver service.

The expected behavior would be to save the changes.
Comment 1 Samuel Mannehed cendio 2023-02-10 14:12:20 CET
The solution likely involves having separate <form> elements for the service-parts of these two pages.
Comment 2 Samuel Mannehed cendio 2023-03-09 10:46:55 CET
Furthermore, when pressing ENTER in the popup, it tries to delete the item and you most likely end up with the error for not checking the confirm box.

When multiple submits are present in a form, the browser will use the first submit-button. The issue with the popup case is that the delete-button comes first in the HTML.
Comment 3 Samuel Mannehed cendio 2023-03-09 10:49:07 CET
A possible solution for the popup issue with ENTER is to reorder the Delete/Save buttons in the code but keep their visual positions as-is using CSS.

Note You need to log in before you can comment on or make changes to this bug.