-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Focused module is not always display the currently focused window #488
Comments
Thanks for the video, this seems like strange behaviour. Could you reproduce this please with |
Where I put this line IRONBAR_LOG=debug ? |
That's an environment variable. You can for example start Ironbar with
|
I start ironbar with IRONBAR_LOG=debug ironbar and now that working as expected! and then I though the problem come from that the way I started ironbar. I will still investigating the issue. It seem that every time I think I find a bug that is either my system of something I am doing wrong lol! |
It seem to happens less frequently. Here the log file. |
Sometime when I started Ironbar, I see this message of a crash and the focused module doesn't work, I don't know if it's related to this issue. Also I have installed a VM with wayfire, ironbar, because I want to check if the problem is specific to my system, 2024-03-11T22:37:49.046744Z INFO ironbar: 111: Ironbar version 0.15.0-pre Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. |
You're right, there's nothing related to the focused module in the log. What's interesting though is this:
Immediately on startup the foreign-toplevel client (which is what listens to application windows, ie required for focused/launcher) crashes trying to send an event. This would mean for some reason the Wayland client stops receiving events, which is a fairly fundamental issue. I'm not sure what would cause that. Are you compiling Ironbar yourself using a feature set other than the default? Anything out of the normal at all? Do you get this error on sway/hyprland, or is it just Wayfire? I'm wondering if Wayfire has a bugged protocol impl. |
I compiled with the instruction on the front page: Hyprland is broken on my system, I will try it later. |
The crash doesn't seem to happen after reboot, but I have a lot of problem both with Hyprland and Wayfire. If you need more detail let me know. |
Is that video on Hyprland? Could you send your |
Yes this is Hyprland. I can record another video with wayfire, the focused become blank, but the behavior is little bit different. |
Hi, Are you able to replicate the issue? |
I have just given this a go with your ironbar/hyprland config and I am still not able to replicate the issue. For me the I can't see any reason for it to not work for you. If the error in the first log no longer occurs, it should work, but with that error it should stop working entirely anyway, rather than partially as you're seeing. Is your hardware particular weird/old? Are you running a particularly old version of Hyprland/Wayfire? |
Then I guess the problem is my system. Hyrland/Wayfire are up to date and my Hardware 2 years old only, nothing special. |
I'll keep this open for now in case you find anything new, or in case anybody else hits the same issue, but for now I'm all out of ideas so I'm not sure I can do much I'm afraid. It does sound like you've got quite a few system issues - might be worth a refresh and seeing it that helps in general. |
Hey @bluebyt did you manage to get anywhere with this, or is this still an issue? |
@JakeStanger I reinstated from scratch my system Arch, Gnome, Wayfire and Hyprland, but still the same issue. |
Sorry for the delay on this one. #544 duplicates this issue & I was able to track this down to unfocused window title changes based on the repro info there (you'll spot this coincides with your music changing track). Should finally have a fix in place shortly! |
Thank you, I'm going to try that! |
Describe the bug
The Focused module is not always display the currently focused window, sometime the module is blank even if the window is focused
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Focused on the windows all the time
System information:
In the video you can see that I try Wayfire, Hyprland and at the end I compared the Window focus module with Waybar.
https://streamable.com/7xzbwu
Configuration
Config
Styles
The text was updated successfully, but these errors were encountered: