Repository navigation
Conversation
|
Thanks for this. The problem in #255 is real, and looking at why it happens changed what I would like the fix to be: the file editor is owned by the main window, and cannot be minimized, only because it opens through the same code as the dialogs. That is right for a dialog and wrong for a window people work in for a long time. So it does not need an option; it should simply be an ordinary window. Could you rework the PR to that?
Since the behavior can only be judged on a real desktop, please say in the PR what you tried on Windows and macOS: clicking between the two windows, minimizing and restoring the editor, the taskbar or Dock entry, and quitting with unsaved changes. Wine alone is not enough for this one. Please update #255's title and text to match. Generated by Claude Code |
|
Update: to get this in sooner I am doing the rework on this side, so there is no need to push the changes from my earlier comment. A branch here starts from your commits, removes the setting and makes the editor an ordinary window, and goes up as a new PR that closes #255. Your commits stay in it and you are credited as co-author on the squash commit. I will link it here and close this PR when it is up. One thing you could still help with, if you have the time: trying that PR's build on Windows (clicking between the two windows, minimize and restore, quitting with unsaved changes), since that is where #255 came from. Generated by Claude Code |
|
Continued in #273, which starts from your commits, drops the setting and opens the editor as an ordinary top-level window (through #273 has not been tried on a real desktop yet. If you can run its build on Windows, the click-through list in its description is what needs checking, and a note there on what you see would help a lot. Generated by Claude Code |
The file editor window was owned by the main window and could not be minimized, only because it opened through the same code as the dialogs; on Windows that kept it above the terminal. It is now a top-level window: whichever window is clicked comes to the front, and it can be minimized. Dialogs and Options stay owned. The Dock icon shows the main window hidden in the tray also while the editor is open. Not tried on a real desktop. Continues #256. Closes #255 Co-authored-by: loooinfo <22438720+loooinfo@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015nMqJEvqPnRmPgi6dnraZM
Summary
Closes #255
Testing
go vet ./...,go tool mygo vet, Windows amd64 and macOS arm64 cross-builds passed.go test -race -timeout 20m ./...reproduced the same three failures on both this branch and unmodified upstream78c2f91:TestBackgroundImage,TestBackgroundReadsOffUIThreadandTestCommandBarPage. The feature tests passed and no race was reported.