mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: YASB integration issue, started with latest build from master #296
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jpmiller25 on GitHub (Feb 15, 2024).
I am using YASB to show which workspace I'm on, and which workspaces have windows in them. I find it a necessary feature of a tiling manager workflow, and I hope there's intention of documenting and supporting some UI feature like this in the future, either yasb or rainmeter or something else.
The behavior is different from using the latest release vs. a current build from master. On the latest build, If I change to a workspace which does not have windows currently in it, the widget does not update. In order to update the state, I have to open a window in the new workspace, then switch to another, then switch back.
Expected behavior
When switching workspaces, the yasb widget reflects the change on a UI widget, regardless of whether there is a window in it already. This is correct when using the latest release version.
komorebic checkOutputYASB Config
@azinsharaf commented on GitHub (Feb 15, 2024):
isn't it a yasb question, not komorebi?
@jpmiller25 commented on GitHub (Feb 15, 2024):
Possibly but I asked here since it is working correctly on the release version but not on my build from source. I thought someone might know what may have recently changed in the komorebi mechanics that yasb is watching, which may explain the difference.
@azinsharaf commented on GitHub (Feb 16, 2024):
have you tired 0.1.21 version which was released after submitting this issue?
@jpmiller25 commented on GitHub (Feb 18, 2024):
I'll try the latest release either today or tomorrow, thanks
@jpmiller25 commented on GitHub (Feb 19, 2024):
The issue is present on the release 0.1.21. It was not present on the release 0.1.19.
I looked through the source of yasb and they have a lot of logic in python to connect to komorebi client and listen for events, there must be something happening on that side. I'll raise a bug report there.
I am very curious though what most people who use Komorebi are using for a UI widget, or if most don't use any? In searching I've found YASB, rainmeter, and komorebi-systray. I've found yasb to work the best so far but it still seems to often lose track of state. I wonder if a particular widget will end up getting more attention because more people are using it? or if it's possible to make komorebi have a cleaner api meant for widgets to consume and display the state.
@LGUG2Z commented on GitHub (Feb 19, 2024):
I think this is probably something to be updated on the
yasbside as you noted. Previously it was kind of tricky to code and integrate against certain internal structures inkomorebi, however earlier today I exposed thekomorebiinternals directly to developers as a library (f519cbaf1e) and I am working on creating a versioned crate that developers who integrate withkomorebican use to version their dependency onkomorebiand upgrade accordingly (8febaac9ff)The main reason I'm doing this now is to see if we can get support for
komorebimerged intozebar, which may be worth considering as an alternative toyasbin the future.@jpmiller25 commented on GitHub (Feb 20, 2024):
@LGUG2Z Got it, All your work on this is very much appreciated!!