Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember open tabs over restart #186

Closed
BigKananga opened this issue Jun 21, 2019 · 10 comments · Fixed by #1048
Closed

Remember open tabs over restart #186

BigKananga opened this issue Jun 21, 2019 · 10 comments · Fixed by #1048

Comments

@BigKananga
Copy link

A small suggestion for a feature: how about opening the last opened zim file automatically? I think this would help many people that are using only one zim file.

@kelson42
Copy link
Collaborator

kelson42 commented Jun 22, 2019

Here in fact, the experience has shown that what people might want is just keep track of the last open tracks. That means:

  • Same ZIM files
  • Same articles
  • Same vertical/horizontal position in articles

@BigKananga Is that what you mean?

@BigKananga
Copy link
Author

@kelson42
Yes, but without the last article or at least optional. I think the main page should be started by default.
An option for opening the last session like in browsers would be also nice.

@mgautierfr
Copy link
Member

Yes we should have some kind of session management (and config also)

@kelson42 kelson42 changed the title Enhancement: open last zim file autmatically Remember open tabs over restart Jun 24, 2019
@bissjoe
Copy link

bissjoe commented Jul 6, 2019

It would be notably useful when the ZIM files are not located in C:\Users, since in that case those files do not appear in the Library (maybe this is another issue: #93).
I for one don't like to keep my documents in C:\users, but instead on my D drive.

@stale
Copy link

stale bot commented Nov 27, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@Popolechien
Copy link
Member

Pushing (or un-staling) it as another major partner also requested the feature.

@stale stale bot removed the stale label Mar 4, 2021
@stale
Copy link

stale bot commented Jun 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@stale stale bot added the stale label Jun 2, 2021
@stale stale bot removed the stale label Nov 21, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
@ynikitenko
Copy link

ynikitenko commented Apr 6, 2023

I also wanted to support this feature. In fact, I don't need my last tabs, but it would be great if I didn't have to select the ZIM file every time I start the program! In Kiwix 0.9 I could use my previous ZIM file. Thank you. I'm mostly using Kiwix for the Wiktionary.

UPD: I mentioned problems with the search bar (#499); in fact, if I could just re-open the program (without selecting the ZIM file every time), this might already improve the experience.

@stale stale bot removed the stale label Apr 6, 2023
@ShaopengLin
Copy link
Collaborator

ShaopengLin commented Mar 5, 2024

Would love to work on this. I am thinking of using QSettings to retrieve web view URLs from tab bar class either on close or during each tab opening/closing(each tab opening and closing might be more fault-proof). Restoring them later within App init() as an initial support. Later on, this could be extended to use QSessionManager in case multiple instances might be running on the same filesystem. Storing the exact URL path of the open tabs should be possible as well!

ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 7, 2024
User can now restore tabs opened before close in the same order and same url with a pop-up box on startup. Fix kiwix#186
@kelson42 kelson42 added this to the 2.4.0 milestone Mar 8, 2024
ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 10, 2024
User can now restore tabs opened before close in the same order and same url with a pop-up box on startup. Fix kiwix#186
ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 22, 2024
Users can now restore tabs opened before close in the same order and same url. Option can be set in settings tab. Fix kiwix#186
ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 22, 2024
Users can now restore tabs opened before close in the same order and same url. Option can be set in settings tab. Fix kiwix#186
ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 24, 2024
Tabs opened before close in the same order and same url are automatically restored. Fix kiwix#186
ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 24, 2024
Users can now restore tabs opened before close in the same order and same url. Fix kiwix#186
ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 24, 2024
Added a checkbox in settings where user can define if they want the tab reopening feature to be active. Fix kiwix#186
ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 27, 2024
Users can now restore tabs opened before close in the same order and same url. Fix kiwix#186
ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 27, 2024
Added a checkbox in settings where user can define if they want the tab reopening feature to be active. Fix kiwix#186
ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 27, 2024
Added a checkbox in settings where user can define if they want the tab reopening feature to be active. Fix kiwix#186
ShaopengLin added a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 27, 2024
Added a checkbox in settings where user can define if they want the tab reopening feature to be active. Fix kiwix#186
kelson42 pushed a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 30, 2024
Users can now restore tabs opened before close in the same order and same url. Fix kiwix#186
kelson42 pushed a commit to ShaopengLin/kiwix-desktop that referenced this issue Mar 30, 2024
Added a checkbox in settings where user can define if they want the tab reopening feature to be active. Fix kiwix#186
kelson42 added a commit that referenced this issue Mar 30, 2024
adamlamar pushed a commit that referenced this issue Apr 1, 2024
Users can now restore tabs opened before close in the same order and same url. Fix #186
adamlamar pushed a commit that referenced this issue Apr 1, 2024
Added a checkbox in settings where user can define if they want the tab reopening feature to be active. Fix #186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants