You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirmations suggest using the clipboard to confirm operations, so it breaks the clipboard content.
It would be nice to use double-click to select the confirmation text and drag&drop it into the confirmation field, so the clipboard content is not affected.
Confirm Deploy
Please enter infra-stack below to confirm this action.
You may click the text in bold to copy it
Its click handler writes confirmText itself, so the programmatic clipboard value is exact. The trailing space appears when the name is manually selected with a double-click: the browser selection can include the whitespace immediately before below, and a subsequent Ctrl/Cmd+C copies that whitespace.
I propose a small Komodo-side fix in the shared confirmation wrapper: when the double-click target is the bold confirmation value, explicitly select only that element's contents. This keeps the current click-to-copy behavior, avoids duplicating the full mogh_ui modal, and applies to Komodo confirmation dialogs through one wrapper. I will keep the PR scoped to exact manual selection and target 2.3.0.
This does not by itself change the broader click-to-copy behavior described in the original report; moving that behavior entirely to double-click would be best handled in the shared mogh_ui component.
Activity
thedancingdeveloper commentedon Jul 27, 2026
I reproduced a narrower variant of this on the active
2.3.0branch withmogh_ui@0.7.6.The published
ConfirmModalmarkup renders the prompt as adjacent inline nodes:Its click handler writes
confirmTextitself, so the programmatic clipboard value is exact. The trailing space appears when the name is manually selected with a double-click: the browser selection can include the whitespace immediately beforebelow, and a subsequent Ctrl/Cmd+C copies that whitespace.I propose a small Komodo-side fix in the shared confirmation wrapper: when the double-click target is the bold confirmation value, explicitly select only that element's contents. This keeps the current click-to-copy behavior, avoids duplicating the full
mogh_uimodal, and applies to Komodo confirmation dialogs through one wrapper. I will keep the PR scoped to exact manual selection and target2.3.0.This does not by itself change the broader click-to-copy behavior described in the original report; moving that behavior entirely to double-click would be best handled in the shared
mogh_uicomponent.thedancingdeveloper commentedon Jul 27, 2026
PR opened against
2.3.0: #1544It contains one focused change in the shared Komodo confirmation wrapper and the UI production build passes.