Awn

Autohide can't be interrupted + fix

Bug #132516 reported by Michal Hruby on 2007-08-14
4
Affects Status Importance Assigned to Milestone
Awn
Medium
Miika-Petteri Matikainen

Bug Description

If you have auto-hide enabled, once you move the mouse away from AWN even for just a fraction of second and move the mouse back, the window will be hidden.

Patch, which I'll try to attach, fixes this behavior - once you move the mouse back, the window will stop hiding.

Michal Hruby (mhr3) wrote :
Garoth (garoth) wrote :

Hey,

Thanks for the info and bug fix. Unfortunately, this has already been reported twice and fixed in the latest version. What you are reporting is that it autohides too fast? If so, yeah, the developers agree. The committed patch adds a default 2 second timeout before re-hiding, and it also adds a gconf entry to let the user change the amount of time. (Miika wrote the patch)

Sorry :(

Michal Hruby (mhr3) wrote :

I think you didn't understood, so imagine this scenario (auto-hide on):

1. You move the mouse away from AWN (so awn_hide() is called and auto-hide timeout is started).
2. While AWN is still visible, you change your mind and want to launch another app, so you move your mouse back on AWN.
Current behaviour: AWN auto-hides once the timeout expires, no matter that you have your mouse back on it.
Expected behaviour: Timeout is cancelled, and AWN is not auto-hidden while you don't move your mouse away from it again.

And btw the patch was written against trunk R35, so I did see the 2 second timeout.

Michal is right, you can't interrupt the autohide and this patch fixes it.

Thanks for the patch. Merged to trunk.

Changed in awn:
assignee: nobody → mpmatikainen
importance: Undecided → Medium
status: New → Fix Released
Michal Hruby (mhr3) wrote :

Hi again, I moved the settings->hiding detection to awn_task_proximity_in() and it seems to work slightly better now, and there are also fixes for two other minor issues:
1. signal handlers for win_enter_in and out were lost for launchers on task close (someone would notice it soon :) )
2. attention bouncing is disabled when AWN is fully hidden, but NOT while hiding

Patch is against trunk R38. Regards.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers