I am using CodeLite 7.0 on Windows 7 64 bit. When I have 16 files open (i.e. 16 tabs) and attempt the open one more file (Open File), CodeLite crashes with the generic Windows message "A problem caused the program to stop working correctly." The problem is easy to recreate.
CodeLite 7.0 on Linux Mint behaves differently. Only 15 files are allowed to be open. When a 16th file is opened, a previously opened file is closed, leaving only 15 files open. Better than crashing, but I cannot open more than 15 files.
Also, "File -> load a group of file" does not open any files. The *.tabgroup file contains entries for several files.
CodeLite 7.0 crashes opening 17th file.
-
- CodeLite Curious
- Posts: 5
- Joined: Tue Dec 04, 2012 5:49 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: CodeLite 7.0 crashes opening 17th file.
I can't seem to reproduce this problem... CodeLite always limits me to 15 files (as it should) (Windows 7, 64 bit)codebig wrote:I am using CodeLite 7.0 on Windows 7 64 bit. When I have 16 files open (i.e. 16 tabs) and attempt the open one more file (Open File), CodeLite crashes with the generic Windows message "A problem caused the program to stop working correctly." The problem is easy to recreate.
Some questions:
Do you have a workspace opened?
how do you open the files? do you double click a file in the tree view or... ?
What is the value set in Settings->Global Editor Preferences->Misc-> History->Maximum number of tabs opened in the editor
Settings->Global Editor Preferences->Misc-> History->Maximum number of tabs opened in the editorcodebig wrote:CodeLite 7.0 on Linux Mint behaves differently. Only 15 files are allowed to be open. When a 16th file is opened, a previously opened file is closed, leaving only 15 files open. Better than crashing, but I cannot open more than 15 files.
Please report this as bug in the issue trackerAlso, "File -> load a group of file" does not open any files. The *.tabgroup file contains entries for several files.
https://github.com/eranif/codelite/issues/new
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: CodeLite 7.0 crashes opening 17th file.
Hi,
Regards,
David
No need. This is now fixed by commit fbac41c.Also, "File -> load a group of file" does not open any files. The *.tabgroup file contains entries for several files.
Please report this as bug in the issue tracker
https://github.com/eranif/codelite/issues/new
Regards,
David
-
- CodeLite Curious
- Posts: 5
- Joined: Tue Dec 04, 2012 5:49 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: CodeLite 7.0 crashes opening 17th file.
The problem occurs both with and without a workspace opened.eranif wrote: Do you have a workspace opened?
how do you open the files? do you double click a file in the tree view or... ?
What is the value set in Settings->Global Editor Preferences->Misc-> History->Maximum number of tabs opened in the editor
I open files using the "Open File" icon on the toolbar.
Maximum number of tabs opened in the editor is set to 15.
The problem still occurs when I set Maximum number of tabs opened in the editor is set to 31.
-
- CodeLite Curious
- Posts: 5
- Joined: Tue Dec 04, 2012 5:49 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: CodeLite 7.0 crashes opening 17th file.
I uninstalled codelite and removed any remnants. I installed codelite Weekly Build Feb 22,2015. The problem no longer occurs; the number of open files is limited to 15. However when I set "Maximum number of tabs opened in the editor" to a value greater than 15, I am still limited to 15 open files.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: CodeLite 7.0 crashes opening 17th file.
This is a bug in the UI: the property "Maximum number of tabs opened in the editor" was saved in the "Max items kept in the find / replace dialog" and vice verase.codebig wrote:I uninstalled codelite and removed any remnants. I installed codelite Weekly Build Feb 22,2015. The problem no longer occurs; the number of open files is limited to 15. However when I set "Maximum number of tabs opened in the editor" to a value greater than 15, I am still limited to 15 open files.
This is fixed in git master.
However, after fixing this bug, I managed to reproduce your original bug: crash when opening the 17th tab! - this is also fixed in git master (the bug here was a silent conversion by the compiler from integer to boolean type)
Thanks for reporting them. The fixes will be available in the next weekly build
Eran
Make sure you have read the HOW TO POST thread
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: CodeLite 7.0 crashes opening 17th file.
EDIT:
I have updated the downloads page of CodeLite with the latest weekly build for today (Match 18th) which includes the mentioned fixed
Please give it a try and report back if you are still having issues with the number of opened tabs
Thanks
Eran
I have updated the downloads page of CodeLite with the latest weekly build for today (Match 18th) which includes the mentioned fixed
Please give it a try and report back if you are still having issues with the number of opened tabs
Thanks
Eran
Make sure you have read the HOW TO POST thread