Awn

Double speed bounce

Bug #130363 reported by AdrianvV
6
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Low
Garoth

Bug Description

Minor / cosmetic

avant-window-navigator-bzr - 0.1.2-bzr15-2
libawn-bzr - 0.1.2-bzr15-2

With autohide on:
Moving the mouse down, revealing the panel
The icon landed on bounces much faster than icons normally bounce
Moving over another icon and back results in standard speed bouncing

Changed in awn:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Garoth (garoth) wrote :

More to this that I discovered while fixing a different issue...

You can get mega speed bouncing if you launch a slow program, let the bar hide, then summon it back up in the same spot (with your mouse over the icon you launched). It then stacks the bouncing of the launcher from the launch_launched method as well as the double speed bug from the hover, causing it to bounce three times as fast. (As a result of three g_timeout_add s that were used on the method, and it's inability to distinguish between opening locks.)

Revision history for this message
Garoth (garoth) wrote :

I'll try to do this, but I'm planning to do it differently than it may be done. Rather than finding where the extra call is, I will attempt to make it so that the function can distinguish between its lock on the effect and a different lock that is named the same thing. If it finds a lock is already in place (for the different effect with the same name), it will obey the lock and not run the effect.

Changed in awn:
assignee: nobody → garoth
Revision history for this message
Jack Deslippe (jdeslip) wrote :

I have noticed this as well. I wish you luck on fixing it.

Revision history for this message
Michal Hruby (mhr3) wrote :

Sorry, I didn't notice this report, I posted patch for this bug to https://bugs.launchpad.net/awn/+bug/131217 where it is also mentioned. It's patch against bazaar trunk R35.

Revision history for this message
Miika-Petteri Matikainen (mpmatikainen) wrote :

Thanks for the patch Michal. Committed to trunk.

Changed in awn:
status: Confirmed → Fix Released
Revision history for this message
Garoth (garoth) wrote :

Haha, I'm a slow, lazy bugger. Thanks for the patch, man!

Revision history for this message
Kerry (masterlink43) wrote :

For me, if I use my scroll wheel while moving from one icon to another, the one i move two bounces much faster. The faster I scroll, the faster it bounces.

Revision history for this message
Neil J. Patel (njpatel) wrote :

Could you please see if this is still the case with latest bzr? In my tests at least, this has been fixed.

Revision history for this message
AdrianvV (adrianvv) wrote :

Just did a bzr update.

What happens now is the initial up movement is at double speed, but then from the down movement onward, it's the speed it should be.

I'm not sure if the bar coming up contributes to it's speed.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.