desktop icon indicating copy to clipboard operation
desktop copied to clipboard

cannot unload a tab while on that tab

Open StudioMovieGirl opened this issue 2 years ago • 12 comments

Captchas

  • [X] I have read the instructions.
  • [X] I have searched existing issues and avoided creating duplicates.
  • [X] I am not filing an enhancement request.

What happened?

im not sure if this is a bug or a feature but i will say with the upcoming pinned tab changes i am going to say this is weird.

when on a tab if you try to unload it it wont work (duh cuz your on the tab) but i think it whould be best if it just pushed you to the next loaded tab

https://github.com/user-attachments/assets/a57cb69f-b641-4af5-9e38-222dd8d13f28

1

Reproducible?

  • [ ] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.0.1-a.7

What platform are you seeing the problem on?

Windows

Relevant log output

No response

StudioMovieGirl avatar Oct 08 '24 23:10 StudioMovieGirl

how would that make sense? you want to unload the tab from memory while on it????

darkvergus avatar Oct 09 '24 14:10 darkvergus

It does make sense, check UnloadTabs extension behavior. Also a keyboard shortcut would be nice

yhansy avatar Oct 09 '24 14:10 yhansy

how so, if you unload the current tab its gonna load itself again because you're using it.

darkvergus avatar Oct 09 '24 15:10 darkvergus

This is expected behavior since you can't unload a tab while being on it. Sorry about that!

mr-cheffy avatar Oct 11 '24 18:10 mr-cheffy

@mauro-balades Although this is expected behavior, it can be a bit inconsistent when it comes to pressing the unload button since the only reason you're pressing it at all is because you'd want to unload it. It would be kinda annoying to have to switch tabs to unload the tab you were on previously.

How it should behave would be to unload the tab itself and go to the next available tab. If there are no tabs available, it would just redirect you to a new tab page. This way, the unload option would operate as intended under any conditions.

adnval avatar Oct 30 '24 07:10 adnval

This is expected behavior since you can't unload a tab while being on it. Sorry about that!

mauro-balades that's silly. do we also have to change to a different tab in order to close a previous one? can't the unload button simply unload the site, then have the page blank until the user selects a new tab?

redrumthebum avatar Nov 15 '24 07:11 redrumthebum

This is expected behavior since you can't unload a tab while being on it. Sorry about that!

mauro-balades that's silly. do we also have to change to a different tab in order to close a previous one? can't the unload button simply unload the site, then have the page blank until the user selects a new tab?

No,_No._He's_Got_a_Point (1).jpg

StudioMovieGirl avatar Nov 15 '24 07:11 StudioMovieGirl

Unloading a tab you're loaded onto makes zero sense, you're on the page ffs you can't even unload it without loading it back again. Implementing that behaviour would just be absolute insanity it would go "Hey you unloaded the tab, but wait you're on the page so i need to load it again to show you the content" and around and around.

darkvergus avatar Nov 15 '24 08:11 darkvergus

Unloading a tab you're loaded onto makes zero sense, you're on the page ffs you can't even unload it without loading it back again. Implementing that behaviour would just be absolute insanity it would go "Hey you unloaded the tab, but wait you're on the page so i need to load it again to show you the content" and around and around.

@darkvergus You're missing the point. The only reason why anyone would click the unload button is if they would want to unload the page itself as they are done with the content. It's much more of a hassle to switch tabs to unload the page that you were on as opposed to if you were already on it. There shouldn't be a need to load it again if you're done with the tab; it would switch you to the next open tab.

adnval avatar Nov 15 '24 09:11 adnval

Unloading a tab you're loaded onto makes zero sense, you're on the page ffs you can't even unload it without loading it back again. Implementing that behaviour would just be absolute insanity it would go "Hey you unloaded the tab, but wait you're on the page so i need to load it again to show you the content" and around and around.

It does make sense to manually unload your current tab and then automatically jump to the next one. Same process as checking each of your tabs before closing it if not needed.

The only reason im still using UnloadTabs is this functionality and a keyboard shortcut. Its not like implementing this feature would be a game changer but it just seem unfinished to me rn

yhansy avatar Nov 15 '24 13:11 yhansy

Yea that one of switching to the next i agree it makes sense, what i meant always was remaining in the same but wanting to unload.

darkvergus avatar Nov 15 '24 16:11 darkvergus