← Back to team overview

cairo-dock-team team mailing list archive

[Bug 537115] Re: Click at the position where icon label was, the icon and dock still receive the event

 

oh I see !
I thought this was a gnome-panel, but this is the dock with a x1 zoom and small icons, right ? ^_^
ok so the labels are actually part of the dock, so even when you are out of the icon from few pixels, you are still inside the dock. Ths is because when you have sub-docks, they must touch the main dock (otherwise you would leave the dock before entering the sub-dock). And since the label shouldn't overlap the sub-dock, automatically we have :
______________
.      dock
---------------------
.      label
---------------------
sub-dock or nothing

-- 
Click at the position where icon label was, the icon and dock still receive the event
https://bugs.launchpad.net/bugs/537115
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to Cairo-Dock Core.

Status in Cairo-Dock : Core: New
Status in “cairo-dock” package in Ubuntu: New

Bug description:
define a new dock as panel  (like gnome panel) at top of screen, and enable plugins such as alsaMixer, clock, powermanager

configure the panel (dock) as "prevent apps overlap dock", open a application window (gVim for example) and make it maximized.

Move mouse onto clock applet, a clock label shows on top of the gVim window title bar; move mouse down to the gVim "close" button, click, then calendar window shows up. 

Root Cause:
         When mouse moves onto a icon, the label appears, and the dock height grows. But when mouse left icon, label disapeared, but dock didn't shrink, and think it still has focus.

Resolution:
         Send "leave" event to dock when mouse left icon





Follow ups

References