Closed Bug 272162 Opened 20 years ago Closed 20 years ago

Update LastTab extension

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zzhumphreyt, Assigned: Bugzilla-alanjstrBugs)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Maxthon; .NET CLR 1.1.4322)
Build Identifier: 

I've updated LastTab to work with Firefox 1.0,  
http://timothyhumphrey.name/firefox , current version is 1.0.5.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Things get handled faster if you reopen bugs instead of making new ones.
Sorry, I didn't know if I should've reopened it or not.
Doesn't work for me.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

It didn't break anything badly, but for some strange reason CTRL+TAB got stuck
on two of five tabs.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Can you try it on a Windows based machine?  When it got stuck did it "unstick" 
itself later?  I'm just curious as to whether it worked some or not at all.  
It works for me and I'm using Windows XP but I've had people say it doesn't 
work on their Linux machines and since I don't have access to one I don't 
really know why it isn't working on Linux.
For me, the bug is also 100% reproducible on Windows with CTRL+T,T,TAB,TAB,TAB
(that is, hold CTRL and press T,T,TAB,TAB,TAB etc).

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Whiteboard: tested-
Okay, I released a new version, 1.1, that fixes this problem as well as adding 
other features.  Can you test it out again?
Okay I just discovered a problem in the update process which I've since fixed.

What happened is that I changed the structure of my chrome directory and a xul 
file I was using in version 1.0.5 got removed since I'm not using it anymore.  
When Firefox updated LastTab it replaced the jar file it had in my profile 
with the new version but didn't update the fact that my main xul overlay file 
got changed.  For instance, my chrome/overlayinfo/browser/content/overlays.rdf 
file in my profile looked like this after the upgrade:

<?xml version="1.0"?>
<RDF:RDF xmlns:c="http://www.mozilla.org/rdf/chrome#"
         xmlns:NC="http://home.netscape.com/NC-rdf#"
         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <RDF:Seq RDF:about="chrome://browser/content/browser.xul">
    <RDF:li>chrome://lasttab/content/lasttab.xul</RDF:li>
    <RDF:li>chrome://lasttab/content/lasttab.browser.xul</RDF:li>
  </RDF:Seq>
</RDF:RDF>

The chrome://lasttab/content/lasttab.xul file got removed in my new LastTab 
version so it wasn't in the jar file Firefox was using so when it started up 
it hung since it couldn't find this file.  I've since added an empty 
lasttab.xul file in my jar file to allow updates to go smoothly.

This brings up another question though: is it possible to tell the Firefox 
installer that a previous version of an extension should be uninstalled before 
installing a new one?  If not that, I think it's a problem in Firefox that it 
hangs when it can't find a chrome file: it should log an error and maybe 
display some alert or something in my opinion.  I guess the bigger issue is 
extension backwards-compatibility.  My problem wouldn't have occurred if 
Firefox had removed its reference to the old lasttab.xul file upon updating, 
rather than just adding a reference to the new xul file.
tested+ (a clean install, didn't check if updating worked correctly)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

It behaves strangely when I open three tabs, then press CTRL+TAB,TAB; CTRL+TAB
(jumps to pre-last tab instead of last focused). This may be by design though.

/offtopic:
re comment 7:
Please make sure you can reproduce the problem, create a small testcase and file
a bug on that issue (search first, but as far as I can tell / remember, it is
not yet reported).

It is not possible to tell Firefox to uninstall an extension before updating.
(In reply to comment #8)
> It behaves strangely when I open three tabs, then press CTRL+TAB,TAB; 
CTRL+TAB
> (jumps to pre-last tab instead of last focused). This may be by design 
though.

Yes, that is by design, assuming I understand your keystrokes correctly.  The 
way it works you can browse the tabs with ctrl-tab until you find the one you 
want to be current and then when you release the control key it becomes 
current.  It behaves the same as if there were a window that appeared that 
showed the tabs, like what appears when Alt-Tab is pressed on Windows.  I'm 
going to add a window appearing in a future version but the current behavior 
approximates this now without one. 

> /offtopic:
> re comment 7:
> Please make sure you can reproduce the problem, create a small testcase and 
file
> a bug on that issue (search first, but as far as I can tell / remember, it is
> not yet reported).

Okay, will do.
ah, yes. You understood my keystrokes correctly, and I now see the reason behind
it. It's just a little confusing without the window/rearranging the tabs.
Just curious, it's been about 2 weeks since our last interchange but LastTab 
still isn't listed yet, any ideas when it will?
Error! The MaxAppVer for Firefox of 1.9 in install.rdf is invalid.
Errors were encountered during install.rdf checking...
Aborting...
Assignee: nobody → Bugzilla-alanjstrBugs
Whiteboard: tested+
I've updated the URL, can you look at it again.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Can the description for LastTab be changed to the following:

-----
Allows tab navigation in a most recently used manner.  It modifies Ctrl-Tab to 
switch to recently selected tabs, rather than always go from left-to-right.  
It also focuses the most recently selected tab when a tab is closed.
-----

Also, can my homepage be changed to: http://timothyhumphrey.name/firefox

Thanks
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
My homepage is still listed as http://timothy.humphrey.name/firefox  There's 
no longer a period between timothy and humphrey, it should be 
http://timothyhumphrey.name/firefox

Also, and this is just a minor thing.  Can the line breaks in my description 
be removed?  I guess when saving things in Bugzilla an 80 character line width 
is enforced; I didn't put the line breaks in when I wrote the new description.

Thanks
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
AMO BUGSPAM FOR COMPONENT MOVE AND DELETE (FILTER ME)
Component: Listings → Web Site
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.