Repository navigation
fix(ui): hide the verification, sign-in code and Recovery Key windows and Label Settings with the app like Desktop - #1194
Merged
Conversation
… and Label Settings with the app like Desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Desktop's main process hides the app to the tray with
hideAllWindows(Du, main-entry:15707): it hides every window ofchildWindows(Ve), then the main window, andshowAllWindows(hm) shows them again.Vegets every window that the renderer'swindow.opencreates, except thepopover-window-Nones (did-create-window, main-entry:15960-15969). Desktop's modals open in a window of their own (setVisibleModal->openModalInNewWindow, js:83290), soVERIFICATION,REAUTH_REQUIRED(the sign-in code) andENTER_RECOVERY_CODEare child windows, and so is Label Settings (CO extends ao, js:68230). They all hide with the app.beeper-rs's
sub_windowsleft these four out, so they stayed on screen when the app went to the tray. They are in it now (which also letsshow_allbring 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