Tab in UI incorrectly activated when mouse is pressed but not released

NEW
Unassigned

Status

()

--
minor
5 years ago
5 years ago

People

(Reporter: nicolas.barbulesco, Unassigned)

Tracking

25 Branch
All
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Firefox 25.0.1, Mac OS X Mavericks.

I go in the Prefs → Advanced.

The active tab is General. I press my mouse on the tab Network, but I move elsewhere and I release my mouse.

* Expected behaviour : * 
I am still in the tab General.

* Actual behaviour : * 
I am now in the tab Network.

Compare with the System Prefs → Keyboard, for example. The standard behaviour is to show the tab title pushed on mouse pressed but not to activate it until the mouse is released *on it*.

Thank you for correcting this little bug.

Comment 1

5 years ago
I think it depends on the UI element.
On Windows, it's true for menu or context menu items in File, Edit etc but not necessarily for tabs in the UI (many softwares behave like that).
Component: Preferences → XUL
Product: Firefox → Core
Summary: Tab incorrectly activated → Tab in UI incorrectly activated when mouse is pressed but not released
Version: unspecified → 25 Branch

Comment 2

5 years ago
Yes, it looks like on Mac, normal tab dialogs should switch on mouseup not mousedown. That's easy to fix, but a bit trickier because tabbrowser tabs should trigger on mousedown.
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.