-
Notifications
You must be signed in to change notification settings - Fork 36
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
Hide when window lost focus for Latte Dock #107
Comments
Latte is providing LastActiveWindow data to applets to use if they want. Plasma libraries I don't think they do. |
Oh, now I get it. That behavior is intentional in Window Title, it would need a new option to disable it when in Latte panels. That behavior was chosen in order for Window AppMenu, Buttons and Title to play nice together. |
Oh, i see, thank you for your explanation. |
Leave it open, I may find time in the future to add such option. |
I used to use only Plasma panel, now using Latte Dock I facing this issue. |
I'm sure there's more work to fully support this (such as a config toggle), but for a quick fix, I acheived this with a one-line change. In
Restart Latte Dock to apply. |
At least on multimonitor, this change breaks more than it fixes - when the window loses focus "Default" appears in stead of the last window title, which is in my opinion worse. |
Ah, yea I see your point. I do have placeholder text set that I want to see when no window has focus, and it achieved that. I forgot that the widget hiding itself entirely is also an option (and what OP probably meant). |
So I went back to this to try to improve it, but I see now that "hiding" isn't actually an option. The "Default" you're seeing is the activity name; if you uncheck "Show activity information" in the settings and leave the placeholder text blank, that goes away and you have a hidden widget. |
Perfect, now it behaves better, thanks! |
When using plasma default panel, the title gone when the window lost focus, but if using latte dock (git version) as panel, the title still there when the window lost focus, i don't know if is this latte dock issue or applet window title it self
The text was updated successfully, but these errors were encountered: