Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Solaar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwr-Solaar
  • Solaar
  • Issues
  • #1638
Closed
Open
Issue created Jun 23, 2022 by Administrator@rootContributor

Tray Icons don't appear under Wayland when using libappindicator-gtk3

Created by: LeeBRogers

Information

  • Solaar version (solaar --version or git describe --tags if cloned from this repository): solaar 1.1.4rc1

  • Distribution: Arch Linux

  • Kernel version (ex. uname -srmo): 5.18.6-arch1-1

  • Output of solaar show:

Solaar version 1.1.4rc1

Lightspeed Receiver
  Device path  : /dev/hidraw5
  USB id       : 046d:C539
  Serial       : F4E89C04
    Firmware   : 39.06.B0040
    Bootloader : 02.09
    Other      : AA.BE
  Has 1 paired device(s) out of a maximum of 1.
  Notifications: wireless, software present (0x000900)
  Device activity counters: (empty)

  1: G Pro Wireless Gaming Mouse
     Device path  : /dev/hidraw10
     WPID         : 4079
     Codename     : G Pro
     Kind         : mouse
     Protocol     : HID++ 4.2
     Polling rate : 2 ms (500Hz)
     Serial number: 40B217C0
     Model ID:      4079C0880000
     Unit ID:       40B217C0
        Bootloader: BOT 74.02.B0026
          Firmware: MPM 15.02.B0026
             Other: 
     The power switch is located on the base.
     Supports 28 HID++ 2.0 features:
         0: ROOT                   {0000}   
         1: FEATURE SET            {0001}   
         2: DEVICE FW VERSION      {0003}   
            Firmware: Bootloader BOT 74.02.B0026 AADF85EE714A
            Firmware: Firmware MPM 15.02.B0026 407985EE714A
            Firmware: Other   
            Unit ID: 40B217C0  Model ID: 4079C0880000  Transport IDs: {'wpid': '4079', 'usbid': 'C088'}
         3: DEVICE NAME            {0005}   
            Name: G Pro Wireless Gaming Mouse
            Kind: mouse
         4: WIRELESS DEVICE STATUS {1D4B}   
         5: RESET                  {0020}   
         6: BATTERY VOLTAGE        {1001}   
            Battery: 3926mV, discharging, 70.
         7: COLOR LED EFFECTS      {8070}   
         8: LED CONTROL            {1300}   
         9: ONBOARD PROFILES       {8100}   
            Device Mode: On-Board
            Onboard Profiles (saved): Enable
            Onboard Profiles        : Enable
        10: MOUSE BUTTON SPY       {8110}   
        11: REPORT RATE            {8060}   
            Polling Rate (ms): 2
            Polling Rate (ms) (saved): 2
            Polling Rate (ms)        : 2
        12: ADJUSTABLE DPI         {2201}   
            Sensitivity (DPI) (saved): 1600
            Sensitivity (DPI)        : 1600
        13: DEVICE RESET           {1802}   internal, hidden
        14: unknown:1803           {1803}   internal, hidden
        15: OOBSTATE               {1805}   internal, hidden
        16: CONFIG DEVICE PROPS    {1806}   internal, hidden
        17: unknown:1811           {1811}   internal, hidden
        18: unknown:1830           {1830}   internal, hidden
        19: unknown:1890           {1890}   internal, hidden
        20: unknown:1891           {1891}   internal, hidden
        21: unknown:18A1           {18A1}   internal, hidden
        22: unknown:1801           {1801}   internal, hidden
        23: unknown:18B1           {18B1}   internal, hidden
        24: unknown:1DF3           {1DF3}   internal, hidden
        25: unknown:1E00           {1E00}   hidden
        26: unknown:1EB0           {1EB0}   internal, hidden
        27: unknown:1863           {1863}   internal, hidden
     Battery: 3926mV, discharging, 70.
  • Contents of ~/.config/solaar/config.yaml (or ~/.config/solaar/config.json if ~/.config/solaar/config.yaml not present):
Jun 23 18:54:54 arch dbus-daemon[770]: [session uid=1000 pid=770] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.29' (uid=1000 pid=986 comm="/usr/bin/python /usr/bin/solaar --window=hide")
Jun 23 18:54:54 arch at-spi-bus-launcher[1036]: dbus-daemon[1036]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=986 comm="/usr/bin/python /usr/bin/solaar --window=hide")
Jun 23 18:54:54 arch solaar[986]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Jun 23 18:54:57 arch solaar[986]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Jun 23 18:54:57 arch solaar[986]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Jun 23 18:55:01 arch solaar[986]: Lost connection to Wayland compositor.
Jun 23 18:55:01 arch systemd[746]: app-solaar@autostart.service: Main process exited, code=exited, status=1/FAILURE
Jun 23 18:55:01 arch systemd[746]: app-solaar@autostart.service: Failed with result 'exit-code'.
Jun 23 18:55:13 arch dbus-daemon[1215]: [session uid=1000 pid=1215] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.28' (uid=1000 pid=1407 comm="/usr/bin/python /usr/bin/solaar --window=hide")
Jun 23 18:55:13 arch at-spi-bus-launcher[1450]: dbus-daemon[1450]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=1407 comm="/usr/bin/python /usr/bin/solaar --window=hide")
[lee@arch ~]$ journalctl -b -3 | grep solaar
Jun 23 18:39:56 arch dbus-daemon[761]: [session uid=1000 pid=761] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.29' (uid=1000 pid=980 comm="/usr/bin/python /usr/bin/solaar --window=hide")
Jun 23 18:39:56 arch solaar[980]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Jun 23 18:39:56 arch solaar[980]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Jun 23 18:39:56 arch at-spi-bus-launcher[1027]: dbus-daemon[1027]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=980 comm="/usr/bin/python /usr/bin/solaar --window=hide")
Jun 23 18:39:56 arch solaar[980]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Jun 23 18:39:56 arch solaar[980]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Jun 23 18:39:56 arch solaar[980]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Jun 23 18:39:56 arch solaar[980]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Jun 23 18:41:36 arch solaar[980]: Lost connection to Wayland compositor.
Jun 23 18:41:37 arch systemd[744]: app-solaar@autostart.service: Main process exited, code=exited, status=1/FAILURE
Jun 23 18:41:37 arch systemd[744]: app-solaar@autostart.service: Failed with result 'exit-code'.
  • Errors or warrnings from Solaar:

Describe the bug When using the libappindicator-gtk3 library for tray icons, the icons don't appear when auto starting solaar with the window=hide flag in Wayland. I have removed the package and installed libayatana-appindicator instead which works, but the question remains as to why it's only seemingly affecting Arch Linux on the distributions tested. It fails to execute the program when logged into a new session in the DE. I note that some distros have deprivcated the libappindicator-gtk3 package in favour of libayatana-appindicator, so perhaps this is the way forward regarding what dependencies are shipped and used in the repos for Solaar?

To Reproduce Steps to reproduce the behavior:

  1. Install libappindicator-gtk3

  2. Reboot/restart DE and check journalctl -b | grep solaar

  3. Scroll down to arch solaar[986]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

  4. See error

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

KDE Plasma 5.25.1

Assignee
Assign to
Time tracking