leanflutter / tray_manager

This plugin allows Flutter desktop apps to defines system tray.
https://pub.dev/packages/tray_manager
MIT License
230 stars 36 forks source link

统信UOS操作系统设置托盘menu后会出现2个相同的图标。 #34

Open AllenKwok opened 1 year ago

AllenKwok commented 1 year ago

统信UOS操作版本,专业版(1031),电脑为arm架构。 使用example就能复现。

setIcon后出现第一个托盘图标,该图标用鼠标点击左键和右键都能弹窗菜单; 调用setContextMenu设置托盘后会出现第2个相同的图标,该图标只能用鼠标右键弹窗菜单。 调用setContextMenu后报错 ` (tray_manager_example:20210): libayatana-appindicator-WARNING **: 12:00:14.835: Unable to connect to the Notification Watcher: GDBus.Error:com.deepin.DBus.Error.Unnamed: notifier item has been registered

(tray_manager_example:20210): Gdk-CRITICAL **: 12:00:14.929: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed `

guchengxi1994 commented 3 months ago

flutter arm 版本是直接下载就能编译吗?最近我们也想做国产化适配,但是arm的机器太难买了

lijy91 commented 3 months ago

flutter arm 版本是直接下载就能编译吗?最近我们也想做国产化适配,但是arm的机器太难买了

可以考虑在 m 系统芯片的 mac 上装虚拟机

guchengxi1994 commented 3 months ago

感谢

lazycoding commented 2 months ago

Another problem is that the left-click and right-click menu pops up. . . I don’t know how to make left-click disabled. i need help.