Ignis latest repo version lags, while aur version works well #121
-
I used to use Ignis aur version, and everything runs well. But when I tried to use the latest repo version ( # install
python -m venv venv
source venv/bin/activate.fish
pip install git+https://github.com/linkfrg/ignis.git
# launch
python venv/bin/ignis init
# launch examples/bar
python venv/bin/ignis init -c ignis/examples/bar/config.py When I'm using the repo version, ignis runs slowly; like when I move the cursor to some widget, its When I deactivate venv and launch the aur version, everything's ok: tray icons, active window, audio. I'm not expert in python or gtk; if more information is needed please let me know. Here's the systeminfo collected by the aur version:
repo version
also I failed at
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
After some testing, I found that it's related to #118. Ignis does not lag if TrayService is not initialized, or if LocalSend is not present; it lags when both Tray and LocalSend are present: launching LocalSend with Tray present, or initializing Tray with LocalSend present. Edit: The lag will not happen if I commet out these lines in icon_theme_path: str | None = self.__dbus.IconThemePath
if icon_name:
self._icon = icon_name
if not self._icon_theme.has_icon(icon_name) and icon_theme_path is not None:
# infinite loop here
self._icon_theme.add_search_path(icon_theme_path) |
Beta Was this translation helpful? Give feedback.
-
fixed by 2bce0d4 |
Beta Was this translation helpful? Give feedback.
fixed by 2bce0d4