IBM / mac-ibm-notifications

macOS agent used to display custom notifications and alerts to the end user.
Apache License 2.0
297 stars 49 forks source link

[BUG] Pop-up UI usage of `-unmovable` breaks `-always-on-top` and `-position` options. #193

Closed Macjutsu closed 10 months ago

Macjutsu commented 1 year ago

Describe the bug Pop-up UI usage of -unmovable breaks -always-on-top and -position options.

To Reproduce

IBM\ Notifier.app/Contents/MacOS/IBM\ Notifier -type popup -bar_title Test -subtitle Test -unmovable -always_on_top -position top_right

Screenshots

SCR-20231022-mmoz

Desktop (please complete the following information):

SMartorelli commented 1 year ago

Hi @Macjutsu, thanks for reporting this! I just reproduced it. I've also noticed that by changing the order of the arguments they got parsed correctly. This should work as temp workaround until I don't fix the main cause. IBM\ Notifier.app/Contents/MacOS/IBM\ Notifier -type popup -bar_title Test -subtitle Test -unmovable -position top_right -always_on_top

Macjutsu commented 1 year ago

Thank you! Fortunately the way I've implemented this in super was an easy fix. The v4.0.0 release of super out this week will not be affected by this issue!