We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
goldendict/goldendict#1356
I think I get the problem now.
The mainWindow is hidden() but never show() again. For macOS, there is no mainwindow anymore, thus clicking the dock cannot bring it back.
hidden()
show()
Changing this line to showMinimized() solves the problem, ⌘ F4 toggling will work.
showMinimized()
⌘ F4
https://github.com/xiaoyifang/goldendict/blob/8ffa1f66436ed13368d6e823abd86455e25afd21/mainwindow.cc#L2925-L2927
The hack is for win/linux in which the taskbar icon will disappear if a window is hide() but the tray is still there. We cannot do the same on macOS.
hide()
CRAZY FACT: @Arnie97 knows the reason since the beginning, wtf.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
goldendict/goldendict#1356
I think I get the problem now.
The mainWindow is
hidden()
but nevershow()
again. For macOS, there is no mainwindow anymore, thus clicking the dock cannot bring it back.Changing this line to
showMinimized()
solves the problem,⌘ F4
toggling will work.https://github.com/xiaoyifang/goldendict/blob/8ffa1f66436ed13368d6e823abd86455e25afd21/mainwindow.cc#L2925-L2927
The hack is for win/linux in which the taskbar icon will disappear if a window is
hide()
but the tray is still there. We cannot do the same on macOS.CRAZY FACT: @Arnie97 knows the reason since the beginning, wtf.
The text was updated successfully, but these errors were encountered: