Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Panorama "move tab to group" event?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
The Wanderer  
View profile  
 More options Nov 5 2012, 11:12 am
Newsgroups: mozilla.dev.extensions
From: The Wanderer <wande...@fastmail.fm>
Date: Mon, 05 Nov 2012 11:12:42 -0500
Local: Mon, Nov 5 2012 11:12 am
Subject: Panorama "move tab to group" event?
I'm trying to update BarTab so that the "select nearest loaded tab" option works
as expected in post-3.x versions of Firefox. This mainly means making it work as
expected with Panorama.

I've already gotten most of it working, but I still get unexpected behavior when
moving the current tab to a different tab group, via the tab context menu's
"Move to Group" sub-menu. In order to correct that, I need to be able to respond
when such a move happens.

BarTab responds to tab closings by listening on the TabClose event, via
tabContainer.AddEventListener(). The obvious thing to do would be to add another
listener, with an appropriate event; however, looking at the MDN "Mozilla event
reference" page, I do not see any apparent event which seems like it would fire
on "tab move to group".

(Based on what I've learned about the apparent underlying implementation of tab
groups, I suspect that "move tab to new group" is currently implemented simply
as "move tab to new offset in the current window's tab list", which - in the
absence of tab groups - doesn't seem like that the sort of thing that would need
an event. That would explain the lack, but it doesn't really help me even if
true.)

How can I hook in to respond when a tab is moved to a new tab group?

--
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Every time you let somebody set a limit they start moving it.
   - LiveJournal user antonia_tiger


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.