-
Notifications
You must be signed in to change notification settings - Fork 38.7k
0.17: GUI Backports #14123 #14133 #14383 #14597 #15065
New issue
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
Conversation
Github-Pull: bitcoin#14133 Rebased-From: ee3a494
Ref bitcoin#3392 Github-Pull: bitcoin#14383 Rebased-From: 36323e2
Qt `setWindowIcon()` does this work. Github-Pull: bitcoin#14597 Rebased-From: 53bb6be
This moves the Dock icon click reaction code to the common place and allows some cleanup in obj_c code. According to the Apple's docs `class_replaceMethod` behaves as `class_addMethod`, if the method identified by name does not yet exist; or as `method_setImplementation`, if it does exist. Github-Pull: bitcoin#14597 Rebased-From: 2464925
Qt `setAsDockMenu()` does this work. Github-Pull: bitcoin#14597 Rebased-From: 6b1d297
Github-Pull: bitcoin#14123 Rebased-From: 5796671
Github-Pull: bitcoin#14123 Rebased-From: 6fc21ac
Github-Pull: bitcoin#14123 Rebased-From: 0a656f8
|
Tested on macOS 10.14.2 (qt 5.12.0) on top of 16521ce. Checked that the dock icon appears correctly. |
|
Thanks @fanquake, I think that's it. |
|
utACK 27beb83 |
|
tACK 27beb83 (Linux Mint 19.2, macOS 10.13.6). |
27beb83 qt: All tray menu actions call showNormalIfMinimized (João Barbosa) c470bbd qt: Use GUIUtil::bringToFront where possible (João Barbosa) ac73c7d qt: Add GUIUtil::bringToFront (João Barbosa) 0c2fb87 Remove obj_c for macOS Dock icon menu (Hennadii Stepanov) 9034714 Use Qt signal for macOS Dock icon click event (Hennadii Stepanov) 4d4bc37 Remove obj_c for macOS Dock icon setting (Hennadii Stepanov) d2ed162 Clean systray icon menu for -disablewallet mode (Hennadii Stepanov) 298dc15 gui: Favor macOS show / hide action in dock menu (João Barbosa) Pull request description: Backport #14123 #14133 #14383 and #14597 to 0.17 branch to fix #13606 (comment). Tree-SHA512: 543c80e7e2130870e801e0c9a69b06b9eea27c288478fc5dddeb662f7f3ec5b56b30916e5a9a629fced3fffcb8be77e2cd155e75cfd0a4392299add9730840f4

Backport #14123 #14133 #14383 and #14597 to 0.17 branch to fix #13606 (comment).