Dock doesn't recognize mouse-cursor leaving and doesn't hide

Bug #1478046 reported by Rene Arts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Plank
Fix Released
Medium
Rico Tzschichholz

Bug Description

Plank does not hide correctly when switching to a window on another workspace (using plank).

How to reproduce:
1. Place mouse pointer on plank icon of a window on another workspace
2. Swich to desired window by clicking or scrolling and quickly move mouse pointer from the plank region (so just a quick fling up)
3. Plank does not hide while it should; with icon-zoom enabled the icon stays in the enlarged state.

It looks like plank is not detecting (correctly) that the mouse has moved out of its 'interest' region.

Notes:
- This seems to be easier with the newer icon-zoom feature on, though is defenitely reproducible with older versions
- I have fairly high mouse speed/sensitivity (3cm covers the width of the screen: 2560px).
- Tested and reproduced with all hide modes, except auto-hide.

When a screencast is needed/handy for illustration, please let me know!

Specs:
Ubuntu 14.04 kernel 3.13.0-57-generic
Nvidia 331.113
xorg-server 2:1.15.1-0ubuntu2.7
Unity 7.2.5

Rene Arts (renearts)
description: updated
summary: - Plank does not always hide correctly after switching to window in other
+ Plank does not hide correctly after switching to window in other
workspace (Unity)
Revision history for this message
Rico Tzschichholz (ricotz) wrote : Re: Plank does not hide correctly after switching to window in other workspace (Unity)

Since you didn't attach a log I must assume you are running plank with the gtk+ 3.10.8 package provided in trusty.

So far I am not able to reproduce this with gtk+ 3.17.5

Changed in plank:
status: New → Incomplete
Revision history for this message
Rene Arts (renearts) wrote :

I am indeed running standard gtk, which is 3.10(.8?) if I'm correct. I'll try to provide a log next monday, as it is on my desktop at work.

Revision history for this message
Rene Arts (renearts) wrote :

Gtk version is indeed 3.10.8-0ubuntu1.5

Just made a verbose debug log.
Method:
- Started plank -d -v
- Switched to window on other workspace, move mouse pointer quickly form plank (upwards)
- Icon stays zoomed, plank not hidden

Please let me know if you need more info.

http://pastebin.com/5fRhtWGf

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

It is pretty hard to reproduce this :-\

Simply moving the mouse fast off the dock isn't working here. Although I saw it once recently.

I am testing a patch locally. Would you be able to compile and test the modified source locally yourself?

Revision history for this message
Rene Arts (renearts) wrote :

I can at least give it a try to compile and test.
I am able to reproduce it here at +-9/10 times --> testing won't be a big problem unfortunately :)

description: updated
description: updated
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

I attached the corresponding source branch to this bug.

Revision history for this message
Rene Arts (renearts) wrote :

Just compiled and installed it, problem still exists, does not seem to have changed so much.

Log: http://pastebin.com/sgFuLD8K

Revision history for this message
Rene Arts (renearts) wrote :

I also made a screencast to show you something.
After switching the icon stays in the zoomed state, though I can still hover on it with the pointer without it being activated.

I guess the bug seems to be related to the 'active' region of plank?

https://youtu.be/HDWe1yOo1vo

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

Thanks for testing, the problem in your screencast is normal and simply a result of this bug.

I am starting to suspect nvidia-blob. I am using 352.21 here too.

Since nvidia 331.113 is not supported anymore. Please upgrade to 340.76 which should be compatible with your system.

Revision history for this message
Rene Arts (renearts) wrote :

Just installed nvidia-352.21, still no improvement.

summary: - Plank does not hide correctly after switching to window in other
- workspace (Unity)
+ Dock doesn't recognize mouse-cursor leaving and doesn't hide
Changed in plank:
status: Incomplete → Confirmed
importance: Undecided → Medium
Changed in plank:
milestone: none → 0.10.0
assignee: nobody → Rico Tzschichholz (ricotz)
status: Confirmed → Triaged
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

@renearts: I hope you can give this new fix a try and hopefully confirm it fixes the problem for you.

https://code.launchpad.net/~ricotz/plank/handle-cursor-leave

Revision history for this message
Rene Arts (renearts) wrote :

Just compiled, installed and tried it; unfortunately, it doesn't fix it.

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

@renearts: Just to be certain, please do this from inside a clean trunk checkout: "./autogen.sh && make -j3 && src/plank -d". Make sure there is nothing plank related in /usr/local/

Revision history for this message
Rene Arts (renearts) wrote :

Good to doublecheck: removed some stuff from /usr/local and built it according to your instruction. Seems to work fine now!
Thanks :)

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

Alright, that is what I was hoping for.

Changed in plank:
status: Triaged → Fix Committed
Changed in plank:
status: Fix Committed → Fix Released
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.