Author Topic: Recent project file history not saved  (Read 409 times)

Offline spflanze

  • Multiple posting newcomer
  • *
  • Posts: 53
Recent project file history not saved
« on: June 26, 2018, 09:44:03 pm »
When I navigate to :
Project => Recent projects
I do not see any projects I have opened during the previous editing session. This history is not being saved. How is this solved?

My OS is Ubuntu 16.04
« Last Edit: June 26, 2018, 09:47:57 pm by spflanze »

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1968
Re: Recent project file history not saved
« Reply #1 on: June 26, 2018, 10:11:46 pm »
Are other settings saved?
Operating system? Codeblocks version?

Offline spflanze

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: Recent project file history not saved
« Reply #2 on: June 27, 2018, 05:16:02 pm »
Ubuntu 16.04
Code::Blocks 13.12

The checkbox settings at Settings => Compiler => Compiler Settings => Compiler Flags are preserved between Code::Blocks invocations. So it appears that other settings are being saved.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6295
    • My Best Post
Re: Recent project file history not saved
« Reply #3 on: June 27, 2018, 05:49:00 pm »
IIRC, You need to save-as a project to have it added to the history list. I just save-as with the same name.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11037
    • Travis build status
Re: Recent project file history not saved
« Reply #4 on: June 27, 2018, 06:30:30 pm »
The behaviour of recent files is strange.
I've not found time to investigate it, but there is something unintuitive or just broken there.

Sometimes files are added to recent files and sometimes they aren't. :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Online sodev

  • Almost regular
  • **
  • Posts: 163
Re: Recent project file history not saved
« Reply #5 on: June 27, 2018, 07:13:33 pm »
Code::Blocks 13.12

Maybe that is the problem? I can't remember having problems with recent PROJECTS not updating in the recent years, i do remember though that very often when i close CodeBlocks it asks me if i want to save my layout changes although i didn't change anything, i always say yes, not sure if that "repairs" my recent projects.

I just checked and indeed recent FILES are very strange, in my case they are very ancient, i haven't touched the files listed there in months and pretty much everything i did touch is missing there.

I'm on current trunk of CodeBlocks on Windows 10 and CentOS 7.5 if that matters.

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1968
Re: Recent project file history not saved
« Reply #6 on: June 28, 2018, 12:46:44 am »
SF Bug report?

Here on windows 7 trunk the project history works like a charm. With the file history i am not sure. It seems that only the last opened files are stored, and not files within a project (for me this is correct behavior...)