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
{{ message }}
Repository navigation
Chat window cannot be restored from the menu after it is minimized #181
0.1.38, from the source checkout (commit 3d509db, before the fix)
Installation method
source (pip install -e ., then mycat)
Operating system
macOS 15.5 (Darwin 24.5.0)
Steps to reproduce
Start myCat with LLM chat enabled.
Right-click the cat and choose Chat.
Click the chat window's minimize button.
Right-click the cat and choose Chat again.
Expected and actual result
Expected: the chat window comes back beside the cat.
Actual: it does not. The chat dialog is parented to the cat window, so minimizing it leaves no Dock icon of its own. Qt still reports the minimized window as visible, and the Chat menu treats that as "already open" and hides it. A later show() does not clear the minimized state, so the panel cannot be opened again. The process keeps running and the log has no exception.
Logs or screenshots (optional)
No traceback. Screen capture of the desktop did not include the always-on-top chat window, so there is no useful screenshot.
Recorded the manual check on this Mac (macOS 15.8.2, mycat 0.1.38 from this branch).
Sequence: open Chat from the cat's menu, minimize with the yellow window button, open Chat again, repeat that once, then close with the red button. The cat stayed visible the whole time.
After each minimize the chat window left the screen. It does not get its own Dock icon, because the dialog belongs to the cat window. Choosing Chat brought it back both times, at the same place and size: 919,258, 360×448, delta 0. Close hid it again.
Activity
iis-MarkKuang commentedon Nov 3, 2026
Fixed by #180.
fabianleonaressi95 commentedon Nov 5, 2026
hi, I'd like to help verify the fix associated with PR #180.
In particular, I suggest checking the following regression scenarios:
If these cases are not already covered, I can contribute focused regression tests for the window state transitions.
Has anyone tested this sequence on Linux, in addition to the existing offscreen Qt test suite?
iis-MarkKuang commentedon Nov 5, 2026
Recorded the manual check on this Mac (macOS 15.8.2, mycat 0.1.38 from this branch).
Sequence: open Chat from the cat's menu, minimize with the yellow window button, open Chat again, repeat that once, then close with the red button. The cat stayed visible the whole time.
After each minimize the chat window left the screen. It does not get its own Dock icon, because the dialog belongs to the cat window. Choosing Chat brought it back both times, at the same place and size: 919,258, 360×448, delta 0. Close hid it again.