Closed Cuperino closed 2 years ago
Thanks for the detailed report! I'll have a look in the next few days.
I wasn't able to reproduce this issue on KDE Neon Testing, so perhaps something funky is happening when GTK/GDK interfaces with your particular system, vs. mine. After looking at the code, I made some changes and released a new build (see details below).
Background: We set the cursor on the app for when the user hovers over the logo on the main window. However, according to the GDK docs, we weren't setting the cursor in a portable way.
Solution: Changed the code that sets the cursor by following the GDK Cursor docs with respect to portability. I also made sure that, if we can't set the cursor in this case, the app will just log a warning and continue to work. Setting the cursor isn't vital for the app to function.
Give v1.2.1 a try and please report back.
sudo snap refresh calaboka
It's working! Thanks for the quick response!
Here are the new terminal outputs, in case they're useful:
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
(__main__.py:1021994): Gdk-WARNING **: 22:46:45.448: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Portal operation not allowed: Unable to open /proc/1021994/root
2022-03-19 22:46:45,632 calaboka [MainThread] [calaboka.manager.notif.DaemonProxyDesktopNotifier] [DEBUG] Closing active daemon-proxied desktop notifications
2022-03-19 22:46:45,635 calaboka [MainThread] [calaboka.env] [INFO] App environment, name=calaboka, type=MgrAppEnvSnap, version=1.2.1 rev 197, python=3.9.5 (default, Nov 23 2021, 15:27:38) [GCC 9.3.0]
2022-03-19 22:46:45,741 calaboka [MainThread] [calaboka.manager.theme.mvc.ThemeModel] [INFO] Resetting theme to global
2022-03-19 22:46:45,769 calaboka [MainThread] [calaboka.manager.theme.mvc.ThemeModel] [INFO] Resetting dark mode preference to global
2022-03-19 22:46:45,798 calaboka [MainThread] [calaboka.config] [INFO] Loading configuration from /home/javier/snap/calaboka/197/.config/calaboka/manager.cfg
2022-03-19 22:46:45,799 calaboka [MainThread] [calaboka.config] [WARNING] Config property Theme is not set, using default:
2022-03-19 22:46:45,799 calaboka [MainThread] [calaboka.config] [WARNING] Config property DarkMode is not set, using default: DarkModeOption.GLOBAL
2022-03-19 22:46:45,931 calaboka [MainThread] [calaboka.manager.theme.mvc.ThemeModel] [INFO] Resetting theme to global
2022-03-19 22:46:45,958 calaboka [MainThread] [calaboka.manager.theme.mvc.ThemeController] [INFO] Global theme changed: Sweet-mars-XFCE
2022-03-19 22:46:45,958 calaboka [MainThread] [calaboka.manager.theme.mvc.ThemeController] [WARNING] Theme "Sweet-mars-XFCE" is not supported, falling back to system default theme: Adwaita
2022-03-19 22:46:45,958 calaboka [MainThread] [calaboka.manager.theme.mvc.ThemeModel] [INFO] Setting theme to: Adwaita
2022-03-19 22:46:45,986 calaboka [MainThread] [calaboka.manager.theme.mvc.ThemeModel] [INFO] Resetting dark mode preference to global
2022-03-19 22:46:46,016 calaboka [MainThread] [calaboka.manager.theme.mvc.ThemeController] [INFO] Global dark mode preference changed: True
2022-03-19 22:46:46,016 calaboka [MainThread] [calaboka.manager.app.ManagerApp] [INFO] Daemon status=OFFLINE
2022-03-19 22:46:46,022 calaboka [MainThread] [calaboka.filemon.GioFileMonitor] [INFO] Started file monitor for /var/snap/calaboka/common/snap-changed
2022-03-19 22:46:46,024 calaboka [MainThread] [calaboka.manager.app.ManagerApp] [INFO] Daemon status=ONLINE
2022-03-19 22:46:46,025 calaboka [MainThread] [calaboka.timer.GLibTimer] [INFO] Started timer, name=daemon PropertiesChanged subscriber, id=26, interval_ms=2000
2022-03-19 22:46:46,115 calaboka [MainThread] [calaboka.manager.app.ManagerApp] [INFO] Subscribing to daemon PropertiesChanged events
2022-03-19 22:46:46,117 calaboka [MainThread] [calaboka.manager.app.ManagerApp] [INFO] Ready to receive daemon PropertiesChanged events
2022-03-19 22:46:46,118 calaboka [MainThread] [calaboka.timer.GLibTimer] [INFO] Teardown complete: Timer, name=daemon PropertiesChanged subscriber, id=26
2022-03-19 22:46:46,121 calaboka [MainThread] [calaboka.manager.app.ManagerApp] [INFO] Daemon status=MPRIS_SPOTIFY_SNAP_IFACE_NOT_CONNECTED
Looks good to me, thank you. I'm closing this issue.
Thanks for your support!
Description
App fails to start due to hard dependency on Gdk.CursorType.HAND2.
To reproduce
Steps to follow in order to reproduce the behavior:
Expected behavior
Calaboka to start.
Logs
This is the output I get when starting calaboka from the command line:
Environment
Provide the following information about your environment: