mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
TrayMenu: tweaks
This commit is contained in:
@@ -45,7 +45,7 @@ PopupWindow {
|
||||
// Uses retry mechanism with exponential backoff for reliability
|
||||
Timer {
|
||||
id: menuLoadTimer
|
||||
interval: 150 // Start with 150ms (increased from 100ms for more stability)
|
||||
interval: 50
|
||||
repeat: false
|
||||
onTriggered: {
|
||||
// Early exit if not visible, no stable menu, or already loading
|
||||
@@ -189,7 +189,7 @@ PopupWindow {
|
||||
|
||||
function showAt(item, x, y) {
|
||||
if (!item) {
|
||||
Logger.warn("TrayMenu", "anchorItem is undefined, won't show menu.")
|
||||
Logger.w("TrayMenu", "anchorItem is undefined, won't show menu.")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user