[edgy] middle clicking doesn't close menu

Bug #65574 reported by Amnon Aaronsohn
4
Affects Status Importance Assigned to Milestone
GNOME Panel
Fix Released
Medium
gnome-panel (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Clicking the middle mouse button outside of an open panel menu (Applications/Places/System) doesn't close the menu, unlike with the left and right mouse buttons.

Steps to reproduce:

(1) Left-click on "Applications"
(2) Middle click on the desktop or on another application.

Revision history for this message
magilus (magilus) wrote :

I was able to reproduce this. Pretty interesting: After clicking with the middle mouse button, neither the left nor the right mouse button does work.

Changed in gnome-panel:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

That works fine for me. What focus mode do you use?

Changed in gnome-panel:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Confirmed → Needs Info
Revision history for this message
magilus (magilus) wrote :

What do you mean by "focus mode"?

Changed in gnome-panel:
status: Needs Info → Confirmed
Revision history for this message
magilus (magilus) wrote :

Okay, I use none.

Revision history for this message
Sebastien Bacher (seb128) wrote :

does the windows get the focus on mouseover or do you need to click on them?

Changed in gnome-panel:
status: Confirmed → Needs Info
Revision history for this message
magilus (magilus) wrote :

I have to click on them.

Changed in gnome-panel:
status: Needs Info → Confirmed
Revision history for this message
Amnon Aaronsohn (bla-cs) wrote :

Sebastien: is the panel locked down? In that case the bug won't "work".

I've found the source of the bug -- when you press the middle mouse button the program attempts to begin a "drag" instead of handling the press as usual. The attached patch fixes this (I hope). Some things I suggest checking, assuming that the patch is accepted:

* is there a better way to detect if a menu is open other than detecting a grab

* is the comment accurate (is there a grab only if a menu is open)

* is there a named constant that can be used instead of "2" to refer to the middle mouse button, to make the code self-documenting.

Revision history for this message
Amnon Aaronsohn (bla-cs) wrote :

No response, so I'll report this bug upstream.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Forwarding upstream would be nice, thank you. We have some thousand desktop bugs at the moment and only few people working on them so we have difficulties tocope with them and it takes time to reply

Revision history for this message
Sebastien Bacher (seb128) wrote :

Did you forwarded that upstream? I still don't get that bug on my desktop

Revision history for this message
magilus (magilus) wrote :

I do not get the bug on Feisty anymore.

Revision history for this message
Amnon Aaronsohn (bla-cs) wrote : Re: [Bug 65574] Re: [edgy] middle clicking doesn't close menu

I reported it upstream and it was fixed:

http://bugzilla.gnome.org/show_bug.cgi?id=381549

(I should have mentioned this before...)

Revision history for this message
Sebastien Bacher (seb128) wrote :

No problem, thank you for the update, marking fixed then

Changed in gnome-panel:
status: Confirmed → Fix Released
Changed in gnome-panel:
status: Unknown → Fix Released
Changed in gnome-panel:
importance: Unknown → Medium
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.