ferman-guzel opened a new pull request, #1135: URL: https://github.com/apache/guacamole-client/pull/1135
### Overview This change improves the user experience for non-technical users accessing Guacamole via tablets or mobile devices, particularly for VNC sessions. ### Issue JIRA: [GUACAMOLE-2178](https://issues.apache.org/jira/browse/GUACAMOLE-2178) ### What changed - The `inputMethod` preference is now read exclusively from a browser cookie (`GUAC_INPUT_METHOD`) - LocalStorage is no longer used for storing or restoring `inputMethod` - A helper function `getCookie()` is added to safely read cookie values - Other preferences continue to be persisted in localStorage - Console debug logs removed for production readiness ### Why By reading `inputMethod` from a cookie, users can enter text without requiring a keyboard or swipe gesture. In our environment, this cookie is set when redirecting users to the Guacamole UI, making text input more intuitive and low-effort. This approach also centralizes control over `inputMethod` and prevents user-side overrides via localStorage. ### Backward Compatibility - If the cookie is not set, `inputMethod` defaults to `TEXT` - Other preference settings remain unaffected ### Notes / Testing - Tested on mobile and tablet environments - Ensures seamless integration with existing preference storage -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
