mac-ibm-notifications icon indicating copy to clipboard operation
mac-ibm-notifications copied to clipboard

[BUG] Initial securedinput height is larger than necessary until text is entered

Open kryptonit1 opened this issue 2 years ago • 0 comments

Describe the bug When using the securedinput accessory_view_type the initial input height of the securedinput field is larger than necessary. When you start to enter text into the field the height shrinks to the expected height.

To Reproduce Run IBM Notifier with the following options:

/bin/launchctl asuser "LOGGED_IN_USER" "/Applications/IBM Notifier.app/Contents/MacOS/IBM Notifier"
-type popup
-icon_path "/path/to/icon.png"
-bar_title "Test Title"
-accessory_view_type securedinput
-accessory_view_payload "/placeholder Enter password /title Sorry, that password was incorrect. Please try again: /required"

Expected behavior The initial height of the securedinput field when empty should be the same as when you have started to enter text.

Screenshots

Before input: before_input

After input: after_input

Desktop (please complete the following information):

  • OS: macOS 12.5
  • Project version: 2.8.0

kryptonit1 avatar Aug 11 '22 11:08 kryptonit1