Comment #6 on issue 2460 by jorat1346: Context menu for tab doesn't appear
if only one tab open
http://code.google.com/p/chromium/issues/detail?id=2460
I just got pissoff because this kind of bug is still here after 2 and half
month
later, so I investigated it and I have come with a patch which seen to fix
it
perfectly:
Index: tab_strip.cc
===================================================================
--- chrome/browser/views/tabs/tab_strip.cc (revision 6235)
+++ chrome/browser/views/tabs/tab_strip.cc (working copy)
@@ -526,11 +526,6 @@
if (v == this)
return true;
- // If the point is within the bounds of a Tab, the point can be
considered
- // part of the caption if there are no available drag operations for the
Tab.
- if (v->GetClassName() == Tab::kTabClassName
&& !HasAvailableDragActions())
- return true;
-
// Check to see if the point is within the non-button parts of the new
tab
// button. The button has a non-rectangular shape, so if it's not in the
// visual portions of the button we treat it as a click to the caption.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---