Skip to content

fix(ui): hide the verification, sign-in code and Recovery Key windows and Label Settings with the app like Desktop - #1194

Merged
pythoncrazy merged 1 commit into
mainfrom
fix/hide-modal-windows
Nov 24, 2026
Merged

pythoncrazy merged 1 commit into
mainfrom
fix/hide-modal-windows

Conversation

@pythoncrazy

Copy link
Copy Markdown
Owner

Desktop's main process hides the app to the tray with hideAllWindows (Du, main-entry:15707): it hides every window of childWindows (Ve), then the main window, and showAllWindows (hm) shows them again. Ve gets every window that the renderer's window.open creates, except the popover-window-N ones (did-create-window, main-entry:15960-15969). Desktop's modals open in a window of their own (setVisibleModal -> openModalInNewWindow, js:83290), so VERIFICATION, REAUTH_REQUIRED (the sign-in code) and ENTER_RECOVERY_CODE are child windows, and so is Label Settings (CO extends ao, js:68230). They all hide with the app.

beeper-rs's sub_windows left these four out, so they stayed on screen when the app went to the tray. They are in it now (which also lets show_all bring them back and the text-scale follow-up resize them).

Test: fuzz::modal_windows_hide_with_the_app_like_desktop (fails on main: only the main window hides).

🤖 Generated with Claude Code

… and Label Settings with the app like Desktop
@pythoncrazy
pythoncrazy merged commit ad8af1f into main Nov 24, 2026
2 checks passed
@pythoncrazy
pythoncrazy deleted the fix/hide-modal-windows branch November 24, 2026 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant