-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
fix: #8107, Remove Old tray code #8109
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should also change the --no-tray
arg handler and --help
so it mentions this arg is deprecated and has no effect.
The tray will still show up for windows just won't change |
7dec47e
to
84ef487
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR does not fix #8107.
We should remove the core legacy tray entirely. It is not used anymore; we use the GUI tray now instead.
Making changes to *TaskBarReceiver.cpp
is a waste of time.
To fix fix #8107 we need to remove the dead code:
MSWindowsClientTaskBarReceiver.cpp
MSWindowsClientTaskBarReceiver.h
OSXClientTaskBarReceiver.cpp
OSXClientTaskBarReceiver.h
XWindowsClientTaskBarReceiver.cpp
XWindowsClientTaskBarReceiver.h
MSWindowsServerTaskBarReceiver.cpp
MSWindowsServerTaskBarReceiver.h
OSXServerTaskBarReceiver.cpp
OSXServerTaskBarReceiver.h
XWindowsServerTaskBarReceiver.cpp
XWindowsServerTaskBarReceiver.h
We should also do this:
I think we should also change the
--no-tray
arg handler and--help
so it mentions this arg is deprecated and has no effect.
When you run the daemon it will show the tray icon on windows for that reason we can not remove the tray icon
…On Tue, Jan 21, 2025, 6:03 AM Nick Bolton ***@***.***> wrote:
***@***.**** requested changes on this pull request.
This PR does *not* fix #8107
<#8107>.
We should remove the core legacy tray entirely. It is not used anymore; we
use the GUI tray now instead.
Making changes to *TaskBarReceiver.cpp is a waste of time.
To fix fix #8107 <#8107> we
need to remove the dead code:
MSWindowsClientTaskBarReceiver.cpp
MSWindowsClientTaskBarReceiver.h
OSXClientTaskBarReceiver.cpp
OSXClientTaskBarReceiver.h
XWindowsClientTaskBarReceiver.cpp
XWindowsClientTaskBarReceiver.h
MSWindowsServerTaskBarReceiver.cpp
MSWindowsServerTaskBarReceiver.h
OSXServerTaskBarReceiver.cpp
OSXServerTaskBarReceiver.h
XWindowsServerTaskBarReceiver.cpp
XWindowsServerTaskBarReceiver.h
We should also do this:
I think we should also change the --no-tray arg handler and --help so it
mentions this arg is deprecated and has no effect.
—
Reply to this email directly, view it on GitHub
<#8109 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABY3BRGFXLIRLBNHA57LWR32LYSOTAVCNFSM6AAAAABVPAD4SCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKNRUGI3TAMZVG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I disagree. The daemon does not have a tray icon (when I created the daemon I knew this would be pointless since it runs in the system context). When we send the client or server command to the daemon via IPC from the GUI, we always use The legacy tray code needs to go. It's dead code. |
a0aa72a
to
ec1a617
Compare
This now removes all the old tray code. |
5945f6f
to
066be7a
Compare
723bacb
to
850d238
Compare
124bb9c
to
18e2579
Compare
18e2579
to
e4920d6
Compare
I figured maybe a deprecation warning might be more helpful:
i.e. we handle Thoughts? |
I just figured it was easier to remove them then print a message and should not do much harm. we don't ship any scripts or service files externally that would need this as an example |
Fixes #8107
Removes all old tray related code