Open Bug 1810092 Opened 2 years ago Updated 1 year ago

Every other click when closing a tab, sometimes, results in just the tabs resizing to fit the tabbar

Categories

(Core :: Widget: Gtk, defect)

Firefox 110
Desktop
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: tgnff242, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: nightly-community, regression)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0

Steps to reproduce:

This is an intermittent issue. When it starts, it affects a single window, and changing to a another window or opening a new one, fixes it.

  1. Open, say, twenty tabs in an affected window.
  2. Hover over the tenth tab and keep clicking the mouse middle click to close a few of them.

Actual results:

The first click closes the tab, the second click only resizes the tabs. Since the tabs are resized, the pointer is no longer over the tab you want to close, so you can't just click three times.

This happens every other click.

Expected results:

The tabs should only resize after the pointer moves away from the area.

This is a recent regression. It was introduced perhaps this week, but it's too random to pinpoint with mozregression.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

I can't reproduce this issue at all, for as long as I am hovering over the tabs and I keep closing them using the mouse middle click, the other tabs will never resize, the moment I move the mouse cursor away from the tabs they will resize. I tried this in Firefox Release, Beta as well as our latest Nightly build.

Are you by any chance have any Addons installed ?
could you please list them here ? or maybe try to reproduce it in safe mode ?

You can find some steps here: https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

Flags: needinfo?(tgnff242)

The issue is very intermittent (and infrequent), and even by just clicking out the affected window, the issue is resolved, until it starts again. Thus, you can't just leave a window in a corner and check it periodically. I could attempt to use my main profile with mozregression, or in safe mode, but I'll never be able to tell a false negative.

I found a post in /r/firefox with a user with the same issue. The only extension we seem to have in common is uBO. I doubt it's at fault, but it has the "Access browser tabs" permission. Could that cause such an issue?

Flags: needinfo?(tgnff242)

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dao+bmo)

I have STR for a similar issue. Hopefully it has the same root cause.

  1. Open a lot of tabs (they can be just about:newtab) in a window.
  2. Open and focus another window.
  3. Hover over the previous window and middle click on one of the tabs and keep the mouse over the tabbar.
  4. Middle click on one of the tabs again.

AR:
At step 4, instead of closing a tab, the tabs are expanded/repositioned.

Bisection points to Bug 1798131.

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=850c9756f206a4e29a7b2720fad6c918ffda33df&tochange=9b1c242dc2e0dce955e83320a28227c9817d9d57

Has STR: --- → yes
Component: Tabbed Browser → Widget: Gtk
OS: Unspecified → Linux
Product: Firefox → Core
Regressed by: 1798131
Hardware: Unspecified → Desktop

I'm needinfoing the assignee of the regressor since the bot didn't.

Flags: needinfo?(emilio)

Which environment are you on?

Flags: needinfo?(emilio) → needinfo?(tgnff242)

KWin/X11. I don't know about the original issue, but I can't reproduce the issue on Wayland with the STR on comment 5.

Flags: needinfo?(tgnff242)

I cant reproduce this issue on Ubuntu 20.04. I will add the Qa-not-actionable tag for now and try this again on a different setup.

QA Whiteboard: [qa-not-actionable]

I'm having the same issue here on Linux Mint 21.2 MATE edition, albeit this issue is consistently happening for me. Middle clicking to close a tab seems to trigger the same effect as moving the mouse away from the toolbar (expanding any tabs given there is space). Closing the tab via the 'x' button does not trigger this effect, however.

You need to log in before you can comment on or make changes to this bug.