Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

progress: hide does not work in mini mode #363

Closed
mhrono opened this issue Apr 16, 2024 · 1 comment
Closed

progress: hide does not work in mini mode #363

mhrono opened this issue Apr 16, 2024 · 1 comment
Labels
wontfix This will not be worked on

Comments

@mhrono
Copy link

mhrono commented Apr 16, 2024

Describe the bug
Per short chat in Slack, I've discovered that sending progress: [ hide | remove | delete ] to a running dialog in mini mode does not hide/remove the progress bar, and it instead remains in its last set state. Each of these keywords function as expected with a standard (not-mini) dialog.

This behavior exists in the latest dialog version as of this writing (2.4.2).

To Reproduce
Steps to reproduce the behavior:

  1. Create dialog in mini mode with a command file. For consistency, the exact command used to validate this bug is:
    /usr/local/bin/dialog --mini --message "something" --progress 100 --commandfile /private/tmp/testcmd.log --moveable &
  2. Send progress: hide (or remove/delete) to the command file:
    echo progress: hide >> /private/tmp/testcmd.log
  3. Observe that the progress bar remains visible.
  4. Repeat these steps without --mini in step 1, and step 2 hides the progress bar as expected.

Expected behavior
The progress bar should be hidden when the appropriate command is sent to a dialog's command file when using mini mode. As shown in the screenshots below, other progress: commands function as expected.

Screenshots
image
image
image

Desktop (please complete the following information):

  • macOS version: 14.4.1
  • swiftDialog version: 2.4.2

Additional context
This issue was originally identified with dialog 2.3.2. Upgrading to 2.4.2 did not resolve the issue.

@bartreardon bartreardon added the wontfix This will not be worked on label Apr 17, 2024
@bartreardon
Copy link
Collaborator

This is intended behaviour. The purpose of mini mode is to provide a quick progress indicator or message. It's dismissed by sending a quit: command when complete.

closing this as a wontfix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants