-
Notifications
You must be signed in to change notification settings - Fork 211
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
Calendar widget sometimes doesn't hide #379
Comments
Indeed: in order to make it behave like other widgets, we have to somehow duplicate Also, note that I've fixed the wiki. Do you still experience this issue? |
Yes, quite frequently. It seems to happen more often when the multi-screen setup is above or below. If on left/right it doesn't happen so often. Probably due to the fact the with left/right awesome still sees the unhover before the mouse leaves the screen. |
I can either make But before deciding, please check if this happens on a single screen setup too. |
Just tried it. It doesn't happen easily but a few minutes of moving the mouse quickly on and off the widget made it happen twice. |
I did both things from #379 (comment) in two commits in a separate branch. Please do |
I double checked and noticed that both won't solve the issue. I'm working on a new implementation. I will push updates shortly. |
Read the wiki to update your configuration. |
Just tested and haven't hit any problem so far. Thanks for the update. |
I have a dual monitor setup. The second monitor is setup above the primary.
All screens have their own widget bar at the top of each monitor and are configured using:
When moving the mouse cursor from one screen to the next (usually bottom to top) over the calendar widget, the floating calendar sometimes remains visible as if the widget was still being hovered.
When this happens, the floating calendar will only vanish if I either click on the floating window or if the mouse hovers one of the two textclock widgets (one on each monitor).
With other widgets (e.g.
fs
) something similar happens but the floating window vanishes as soon as any widget is hovered or when the mouse moves to a different screen.I generally initialize widgets with this kind of code pattern:
With calendar I have to use
attach_to
:because the
factory
function ofcalendar
doesn't return anything.The wiki incorrectly mentions:
In this case,
calendar
isnil
.Given the above, is there any chance that calendar's
factory
is modified to behave the same as other widgets? I suspect this alone might be sufficient to address the sticky issues I'm experiencing.While the 'not hiding' behavior might be an issue with awesome, the fact that the calendar behaves differently from other widgets might be explained by the use of
attach_to
.The text was updated successfully, but these errors were encountered: