Bug #11536
The clipboard selection is not correct for the initial CHUI screen.
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
History
#3 Updated by Sergey Ivanovskiy about 1 month ago
During the Web CHUI manual testing #11477-78 it was found that the clipboard selection is calculated incorrectly. The root cause is that the initial charWidth and charHeight are initialized incorrectly.
This patch can be proposed
=== modified file 'src/com/goldencode/p2j/ui/client/chui/driver/web/res/p2j.clipboard_helpers.js'
--- old/src/com/goldencode/p2j/ui/client/chui/driver/web/res/p2j.clipboard_helpers.js 2025-11-11 21:43:07 +0000
+++ new/src/com/goldencode/p2j/ui/client/chui/driver/web/res/p2j.clipboard_helpers.js 2026-06-12 13:48:41 +0000
@@ -123,8 +123,8 @@
*/
me.init = function(cfg)
{
- charWidth = p2j.screen.charWidth;
- charHeight = p2j.screen.charHeight;
+ charWidth = p2j.screen.charCSSWidth;
+ charHeight = p2j.screen.charCSSHeight;
var settings =
{