Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

fix(icon): use Qt tray icon in all cases, remove platform specific backends #5888

Merged
merged 1 commit into from
Oct 16, 2019

Conversation

anthonybilinski
Copy link
Member

@anthonybilinski anthonybilinski commented Oct 15, 2019

qTox added specialized tray icon backends over time to work around bugs with
the default implementation, since then our GTK+2 backend has stopped working,
our appindicator backend was never selected by default by cmake, and
statusnotifier was never selected at SystemTrayIcon construction, leaving us
only ever using the broken GTK+2 backend, or theoretically the Unity backend,
which I didn't see selected on Ubuntu 16.04 Unity. In all other cases we would
fall back to the Qt backend.

Qt icon has improved over time, and our platform specific icons have become
stale, with GTK+2 becoming deprecated and GTK+3 not having a similar feature,
QSystemTrayIcon has been tested on a variety of DEs and works as well or better
in all cases, as shown in the table at
#5881 (comment)

Fix #5881
Fix #5859


This change is Reviewable

@sudden6 sudden6 added this to the v1.17.0 milestone Oct 15, 2019
@anthonybilinski anthonybilinski changed the title WIP: fix(icon): use Qt tray icon in all cases, remove platform specific backends fix(icon): use Qt tray icon in all cases, remove platform specific backends Oct 16, 2019
@anthonybilinski
Copy link
Member Author

Testing completed, results listed at #5881 (comment). No regression found on all tested OSes.

Copy link
Member

@sudden6 sudden6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update INSTALL.md where it lists the dependencies and explains the now removed configuration switches

Reviewed 6 of 6 files at r1.
Reviewable status: 0 of 1 LGTMs obtained

…ckends

qTox added specialized tray icon backends over time to work around bugs with
the default implementation, since then our GTK+2 backend has stopped working,
our appindicator backend was never selected by default by cmake, and
statusnotifier was never selected at SystemTrayIcon construction, leaving us
only ever using the broken GTK+2 backend, or theoretically the Unity backend,
which I didn't see selected on Ubuntu 16.04 Unity. In all other cases we would
fall back to the Qt backend.

Qt icon has improved over time, and our platform specific icons have become
stale, with GTK+2 becoming deprecated and GTK+3 not having a similar feature,
QSystemTrayIcon has been tested on a variety of DEs and works as well or better
in all cases, as shown in the table at
qTox#5881 (comment)

Fix qTox#5881
Fix qTox#5859
Copy link
Member Author

@anthonybilinski anthonybilinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update INSTALL.md where it lists the dependencies and explains the now removed configuration switches

Done.

Reviewable status: 0 of 1 LGTMs obtained

Copy link
Member

@sudden6 sudden6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm_strong:

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! 1 of 1 LGTMs obtained

@anthonybilinski anthonybilinski merged commit e85d3f5 into qTox:v1.17-dev Oct 16, 2019
@anthonybilinski anthonybilinski deleted the qt_tray_icon branch October 16, 2019 22:44
anthonybilinski added a commit to anthonybilinski/qTox that referenced this pull request Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants