Repository navigation
Tray: Workaround collection - #5179
Conversation
There was a problem hiding this comment.
Tested patch on OS X, compiles and works fine.
There was a problem hiding this comment.
Technicly, one can compile an app against 5.5.1 and run it against 5.5.0. so i guess this should be < 5.6
|
I can confirm it still seems to work on OS X. |
|
👍 let's merge it after @ogoffart agrees too. |
|
Tested on linux with the xembed protocol. Works but changing the menu while it is visible causes flickering of the menu. I don't know if it is such a good idea. |
|
@ogoffart So you're saying we should disable update-while-visible altogether? It'd be easy to test, just set OWNCLOUD_TRAY_UPDATE_WHILE_VISIBLE=0. We used to always update-while-visible, but if it leads to issues in several places disabling it would be fine with me, it's not a critical feature. |
* QDBus workaround for Qt 5.5.0 only, there were reports of the tray working fine with 5.5.1. owncloud#5164 * OWNCLOUD_FORCE_QDBUS_TRAY_WORKAROUND to force the workaround on an off * OWNCLOUD_TRAY_UPDATE_WHILE_VISIBLE to enable or disable updating of the menu while it's visible * Track the visibility of the tray menu with aboutToShow/aboutToHide only on OSX - the aboutToHide signal doesn't trigger reliably on linux * Refactor such that setupContextMenu is different from updateContextMenu * Don't use on-demand updating of the tray menu when the qdbus workaround is active, instead to occasional (30s) updates of the tray menu.
working fine with 5.5.1. [Xubuntu 16.04.1] [2.3] Systray icon disappear briefly when a file or icon changes state, tray menu opens and dissapears instantly #5164
the menu while it's visible
only on OSX - the aboutToHide signal doesn't trigger reliably on linux
is active, instead to occasional (30s) updates of the tray menu.