Bug 404225

Summary: Feature req: save current view state with regards to visible date
Product: [Applications] skrooge Reporter: machtyn
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: stephane
Priority: NOR    
Version First Reported In: 2.18.0   
Target Milestone: 25.1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description machtyn 2019-02-12 04:52:41 UTC
SUMMARY
I wish to view the list of operations according to the date selected after saving page state upon re-opening skrooge

STEPS TO REPRODUCE
1. Open skrooge
2. Select Operations tab (if the tab is saved)
3. Select account to view
4. Select a specific date range to view (I chose "Current [year(s)]"
5. Right click on the tab and click "save page state"
6. Close skrooge, and click Yes to save if prompted.
7. Open skrooge and navigate to the Operations tab

OBSERVED RESULT
The Operations tab is returned to its original account and showing All Dates.

EXPECTED RESULT
The Operations tab is opened with the selected and saved account and date range.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18.04.2

ADDITIONAL INFORMATION
Comment 1 Stephane MANKOWSKI 2019-02-12 19:31:39 UTC
Hi,

I'm not able to reproduce this bug. The behavior is the correct one.
May be you did that:
1. Open skrooge
2. Select "Operations" page from a bookmark
3. Select account to view
4. Select a specific date range to view (I chose "Current [year(s)]"
5. Right click on the tab and click "save page state"  ==> Then the "default" state for "Operations" page is saved but not the state of the bookmark
6. Close skrooge, and click Yes to save if prompted.
7. Open skrooge and select "Operations" page from a bookmark ==> The original state is opened. This is normal.

To be sure to save the new page from where the page is loaded, just click on "Save" icon on the tab.
If the page is opened from the default context, the default state will be updated.
If the page is opened from a bookmark, the bookmark state will be updated.
Comment 2 Stephane MANKOWSKI 2019-02-20 20:54:32 UTC
Do you have an answer?
Comment 3 machtyn 2019-02-20 23:16:39 UTC
"Save page state" did not work for me. However, "Overwrite bookmark state" did work. (Plus saving on close.)

Thanks! (Bug can be closed.)