https://bugs.kde.org/show_bug.cgi?id=365105

--- Comment #13 from Konrad Materka <mate...@gmail.com> ---
Git commit aa6bb9b06cfba67c1ba226d053a49e0bc1b69cad by Konrad Materka.
Committed on 17/10/2019 at 15:34.
Pushed by kmaterka into branch 'master'.

[KStatusNotifierItem] Allow left click when menu is null

Summary:
If associatedWidget and menu are the same then instead of "activate"
action context menu is used. When both are null coparition is always
true but context menu can't be shown, since it is null.
It is partial solution for a problem described in
https://bugs.kde.org/show_bug.cgi?id=365105.

Test Plan:
As described in the bug:
* create QSystemTrayIcon
* assign QMenu
* show, hide and show again
Both right click and left click do nothing.

After change left click works

Reviewers: davidedmundson, broulik, nicolasfella, #frameworks

Reviewed By: davidedmundson

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D24667

M  +2    -2    src/kstatusnotifieritem.cpp
M  +1    -5    src/kstatusnotifieritemdbus_p.cpp

https://commits.kde.org/knotifications/aa6bb9b06cfba67c1ba226d053a49e0bc1b69cad

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to