sway: Dropbox daemon errors under Sway
Hello!
I’m new to sway, but I’m finding it to be utterly fantastic. Thus far, I’ve only hit one challenge: a tiny red frowny-face at the corner of my screen any time the Dropbox daemon is running.
The daemon is, in fact, working – as in, Dropbox is running, files are syncing. However, it appears to be erroring trying to draw icons. From Sway debug output, I see this:
2019-05-26 12:04:14 - [sway/desktop/transaction.c:280] Applying transaction 0xed51c0
2019-05-26 12:04:19 - [swaybar/tray/host.c:24] Registering Status Notifier Item ':1.68/org/ayatana/NotificationItem/dropbox_client_11006'
2019-05-26 12:04:19 - [swaybar/tray/item.c:127] :1.68/org/ayatana/NotificationItem/dropbox_client_11006 IconPixmap: No such property “IconPixmap”
2019-05-26 12:04:19 - [swaybar/tray/item.c:127] :1.68/org/ayatana/NotificationItem/dropbox_client_11006 AttentionIconPixmap: No such property “AttentionIconPixmap”
2019-05-26 12:04:19 - [swaybar/tray/item.c:127] :1.68/org/ayatana/NotificationItem/dropbox_client_11006 ItemIsMenu: No such property “ItemIsMenu”
2019-05-26 12:04:19 - [swaybar/tray/item.c:127] :1.68/org/ayatana/NotificationItem/dropbox_client_11006 IconPixmap: No such property “IconPixmap”
Looking at #3249, I had expected Dropbox would “just work.” The icon does not appear at all, and that’s fine with me – I have other tools to learn about Dropbox’s status, I just need it running.
I’m running Sway on Fedora 30, and building it myself from current master – which means it’s entirely possible I’m building it incorrectly.
I’d love advice on how to proceed. Have I built sway incorrectly? Is Dropbox just misbehaving? Is there any other detail I can provide to help debug? Please let me know!
Such details as I have right now: Sway Version:
$ swaymsg -t get_version
sway version 1.1-rc1-15-ge92ac7d5 (May 25 2019, branch 'master')
Build configuration
The Meson build system
Version: 0.50.1
Source dir: /home/gastove/Code/open-source/sway
Build dir: /home/gastove/Code/open-source/sway/build
Build type: native build
Project name: sway
Project version: 1.0
Native C compiler: cc (gcc 9.1.1 "cc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Dependency json-c found: YES (cached)
Dependency libpcre found: YES (cached)
Dependency wayland-server found: YES (cached)
Dependency wayland-client found: YES (cached)
Dependency wayland-cursor found: YES (cached)
Dependency wayland-egl found: YES (cached)
Dependency wayland-protocols found: YES (cached)
Dependency xkbcommon found: YES (cached)
Dependency cairo found: YES (cached)
Dependency pango found: YES (cached)
Dependency pangocairo found: YES (cached)
Dependency gdk-pixbuf-2.0 found: YES (cached)
Dependency pixman-1 found: YES (cached)
Dependency libevdev found: YES (cached)
Dependency libinput found: YES (cached)
Dependency libsystemd found: YES (cached)
Found pkg-config: /usr/bin/pkg-config (1.6.1)
Found CMake: /usr/bin/cmake (3.14.4)
Dependency libelogind found: NO (tried pkgconfig and cmake)
Dependency xcb found: YES (cached)
Library m found: YES
Library rt found: YES
Program git found: YES (/usr/bin/git)
Subproject directory not found and wlroots.wrap file not found
Subproject subprojects/wlroots is buildable: NO (disabling)
Dependency wlroots found: YES (cached)
Fetching value of define "WLR_HAS_XWAYLAND" with dependency wlroots: 1
Dependency scdoc found: YES (cached)
Program /usr/bin/scdoc found: YES (/usr/bin/scdoc)
Program sh found: YES (/usr/bin/sh)
Configuring config.h using configuration
Program wayland-scanner found: YES (/usr/bin/wayland-scanner)
Configuring config using configuration
Configuring 00-defaults using configuration
Message:
Features:
xwayland: true
gdk-pixbuf: true
systemd: true
elogind: false
tray: true
man-pages: true
Build targets in project: 17
Found ninja-1.9.0 at /usr/bin/ninja
Sway Bar Configuration Here’s the MWE bar configuration I’ve been debugging with.
bar {
position bottom
status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
}
Thanks very much!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 4
- Comments: 18 (9 by maintainers)
@ianyfan That looks better! Dropbox icon appears. It isn’t interactive (e.g., clicking on it does nothing), but I have no idea if I should expect clicks to work. Does this seem right to you?
One of the Fedora maintainers here. Is there a particular reason why this hasn’t been merged?
@Gastove Try this branch: https://github.com/ianyfan/sway/tree/swaybar
Hi, one data point that might help. I have the same issue, which disappears when using
waybar( https://github.com/Alexays/Waybar ). It also fixes the issues I have around context menus showing up on the applets (though the build I’m using puts them in the center of the screen).Happy to dig in and provide any further information if you’d like.