-
Notifications
You must be signed in to change notification settings - Fork 9
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
Recent Item accessed date not updating; frequently used solutions falling down the list #37
Comments
Thank you for reporting this. The method that I'm currently using to populate the recent items list is pulling the items from a registry key and that registry key doesn't seem to get updated during a VS session, only when VS closes. I've been meaning to look at updating where I pull the items from, but it kind of fell off my radar. Can you confirm for me that when you close/reopen VS (or restart VS) that the project/solution is in the expected place in the list? Otherwise it's a different issue than what I'm aware of. |
Thank you for your quick reply. I tried this, but no luck:
The solution I opened was still in the same place with the same LastAccessed date. However, I noticed that the LastAccessed date was about 21 days later than the date I installed Start Page+, and I surely would have opened it in that time, which meant that the LastAccessed date must have changed at some point. So I went to my Source Control Explorer and opened that same solution from there. Then I refreshed the recent items on Start Page+ without closing/reopening VS, and it was at the top of the list with today's date! Then I tried the same thing on a different solution, this time opening it from the File -> Open dialog, and that one also moved to the top of the list. So it seems the real issue here is that solutions' LastAccessed properties are not being updated when opening them from the Recent Items list. |
Ah yes, I remember that part now. That's something else that I need to find a better way to do; opening projects/solutions. Before replying I opened a project that I hadn't opened for a while, and as you point out the list doesn't get updated, and even a refresh doesn't help. But when I closed VS & re-opened it, the project that I had opened was right at the top of the list where it should be.
I'm using the programmatic equivalent of I'm not doing anything in my code to maintain I did notice in testing that the Start Window doesn't reflect a project opened via Start Page+ either until VS is restarted. |
Hello again
They are not displaying the date I actually last opened the solutions, but they are surely showing the date when Start Page+ thinks I opened them (i.e. the last open date that was recorded), which in some cases is a date several weeks in the past even though I opened the solution today. The ordering and period names are consistent with the displayed dates. They are shown in d-MM-yyyy format.
Japan (UTC+9)
Yes, I do.
I wasn't, because I wasn't aware that was an option, but I will now. I can see that pinned items are kept at the top of the list, though the button to toggle the pin doesn't seem to do anything (need to use the pin in the built-in Start Window). |
Yes, pinning and un-pinning is functionality that hasn't been implemented yet. I have to find how to set the |
Hi Jimmy. I think that the imminent release of StartPage+ v1.0 should address this issue. I don't know how I hadn't noticed, I guess I wasn't paying that much attention to the dates. But as I was testing some new functionality I did see a problem. I'm so sorry if this has been a huge pain for you. Btw, pinning/unpinning & removing items is also in the v1.0 release. See the v1.0 Milestone page for details of what else is in there. Plus a number of things from my own personal backlog. |
That's great! Thank you! |
works partially in 1.0 , when I close a solution what was not pinned or opened before, I had to click "refresh". |
this should go away once autoclose/reopen is implemented as the data get loaded again when page is shown, correct? |
No, tool windows don't work like that. When a tool window is "closed", Visual Studio just hides it. When you request the window again, it's the same window instance as before. Without something like an auto-refresh timer, the only way for the data to be refreshed is to click Refresh. |
ok, this case internally refresh it after closing a solution (autoclose/reopen) |
You need to add new issues for things like this André (or add it to an existing one if it's relevant). Otherwise the discussion can get lost in an issue that has nothing to do with the suggestion. |
@yannduran 1.01 loses the pin state and doesn't show correct last usage time. |
First off, André could you please open a new issue for this. This issue was closed on May 28. And could you please describe the steps that lead to this result in that new issue? It's almost midnight here now, so I'll look into it further tomorrow, but a quick test shows that the pin status didn't get lost after closing and re-opening VS. I'm not sure what you mean by:
Are you saying that it used to show the last opened date correctly, but now doesn't? Please don't answer the questions here in this issue, but address them in your new issue. Thanks! |
Installed product versions
Description
Opening a solution from the Recent Items list does not seem to update its Accessed Date or move it to the top of the list. Instead, the Accessed Date remains the same and the solution moves further and further down the list as new solutions are opened.
Steps to recreate
Current behavior
The solution opened in steps 1 and 3 remains below the one from step 2 on the Recent Items list. As with the original VS start page, I think it makes sense that solutions would float back to the top of the list as they are opened.
Note: The Refresh button does not seem to have any effect on this ordering.
Expected behavior
The solution from steps 1 and 3 should be at the top of the list.
The text was updated successfully, but these errors were encountered: