Ticket #149 (closed defect: fixed)

Opened 2 years ago

Last modified 23 months ago

Flicker to right tab, then left, when closing

Reported by: t-bone Owned by: t-bone
Priority: minor Component: Tab Control
Version: 0.4.1 Severity: Nuisance
Keywords: Cc:

Description

In Tab Control 0.4.1, with "focus left tab when closing current tab" turned on, and a tab to the right of the current tab, when the current tab is closed, the tab to the right displays briefly, before the left tab is focused.

Attachments

tabcontrol-0.4.2.xpi Download (15.8 KB) - added by t-bone 2 years ago.
Here's a preview release with exactly this change.

Change History

Changed 2 years ago by Skiff

I've already sent an information about solution of this to TabControl autor, but I think I can post it here too

In TabControl code (file tabcontrol.js) find these lines:

//set focus to the tab that we want gTabControl.selectTab(tabToSelect);

and put them before these lines:

//call the browser's real remove tab function gBrowser.origRemoveTab(aTab);

and save changes to tabcontrol.js and tab_control-0.4.1.xpi file. Tested on FF3.01 and tab_control_0.4.1

Changed 2 years ago by Skiff

Once again because formating in above post went wrong, the lines are:

//set focus to the tab that we want

gTabControl.selectTab(tabToSelect);

and

//call the browser's real remove tab function

gBrowser.origRemoveTab(aTab);

Changed 2 years ago by t-bone

  • status changed from new to assigned

Thanks for the suggestion! I never got around to looking into this myself, but this fix certainly works!

Changed 2 years ago by t-bone

  • status changed from assigned to closed
  • resolution set to fixed

(In [426]) Fixes #149

  • Fix tab flicker on close.
  • Bump version number.

Changed 2 years ago by t-bone

Here's a preview release with exactly this change.

Changed 23 months ago by anonymous

thx !

Add/Change #149 (Flicker to right tab, then left, when closing)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.