Skip to content

kde桌面环境托盘无法正常工作 #3

Description

@yishengan

系统信息OS: CachyOS x86_64
Kernel: Linux 7.2.3-1-cachyos
Uptime: 1 小时之前
Packages: 1520 (pacman)
Shell: fish 4.9.3
Display (34C1R): 3440x1440 in 34", 120 Hz [External]
Desktop Environment: KDE Plasma 6.7.5
Window Manager: KWin (Wayland)
WM Theme: Breeze
Theme: Breeze (CachyOSNordLightly) [Qt], Breeze-Dark [GTK2], Breeze [GTK3]
Icons: char-white [Qt], char-white [GTK2/3/4]
Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
Cursor: breeze (24px)
Terminal: konsole 26.8.0

AML版本是1.0.1

问题:托盘正常创建图标,点击没有反应,报错如下

❯ ./aml
[IMPORTANT:flutter/shell/platform/embedder/embedder_surface_gl_impeller.cc(127)] Using the Impeller rendering backend (OpenGLESSDF).
Gdk-Message: 15:04:19.368: Unable to load from the cursor theme
tray using icon: /tmp/aml_tray_icon.png

(com.example.aml:20747): libayatana-appindicator-WARNING **: 15:04:19.383: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.
tray init failed: MissingPluginException(No implementation found for method setToolTip on channel tray_manager)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:364)

#1 TrayManager.setToolTip (package:tray_manager/src/tray_manager.dart:168)

#2 WindowTrayController.initialize (package:aml/src/app/window_tray_controller.dart:38)

#3 bootstrap (package:aml/src/app/bootstrap.dart:49)

#4 main (package:aml/main.dart:28)

[tray] Linux 需要 libayatana-appindicator3-1 或 libappindicator3-1。 GNOME 桌面还需安装 AppIndicator 扩展。 运行: sudo apt install libayatana-appindicator3-dev

(com.example.aml:20747): Gdk-CRITICAL **: 15:04:25.276: gdk_device_get_axis: assertion 'GDK_IS_DEVICE (device)' failed

(com.example.aml:20747): Gdk-CRITICAL **: 15:04:25.276: gdk_device_get_axis: assertion 'GDK_IS_DEVICE (device)' failed

(com.example.aml:20747): LIBDBUSMENU-GLIB-WARNING **: 15:05:40.039: About to Show called on an item wihtout submenus. We're ignoring it.

(com.example.aml:20747): LIBDBUSMENU-GLIB-WARNING **: 15:05:40.825: About to Show called on an item wihtout submenus. We're ignoring it.

(com.example.aml:20747): LIBDBUSMENU-GLIB-WARNING **: 15:05:42.907: About to Show called on an item wihtout submenus. We're ignoring it.

(com.example.aml:20747): LIBDBUSMENU-GLIB-WARNING **: 15:05:43.339: About to Show called on an item wihtout submenus. We're ignoring it.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions