Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » 2022.3rc5
Re: 2022.3rc5 [message #59440 is a reply to message #59439] Tue, 27 December 2022 13:48 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

I see one problem - while switching package in single TheIDE instance mode the build continues. It means that for example you select ide package and start the build. In the meanwhile you decided to hit CTRL+M and switch package to other one. The build for previously selected package continues. This is very risky behavior and can lead to unexpected behaviors like crashes and faulty debug session.

The possible fix Ide/idebar.cpp):
menu.Add(AK_SETMAIN, IdeImg::MainPackage(), THISBACK(NewMainPackage))
			.Enable(!IdeIsDebugLock() && !IdeIsBuilding())
			.Help("Select global configuration (var), select / add main project package");

Problems with above implementation:
- it blocks spawning new main package in non single window mode which is not the best approch
- i think it would be better to stop build while changing the main package in single window instance. The same is true for indexing. It should be canceled before switching to new package.

Please do not fix this issue by making "Open main package"creates the new theide instead of just changing main package" the default option. For basic users current behavior is more friendly. However, we need to make it more isolated.

------
What about relaxing crash dialog to (yes/no) instead of simple always turn off. As I previously said non all crashes all caused by assist and turning it of in such cases doesn't make sens and do not fix the problem. Message that should be migrated from PromptOK to PromptYesNo:
TheIDE has crashed the last time it was run. As the possible cause is libclang incompatibility, we are disabling Assist features for now.
You can have them reenabled in Setup / Settings..


Klugier


U++ - one framework to rule them all.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ide insert data/timestep/GUID
Next Topic: clang-format integration
Goto Forum:
  


Current Time: Mon May 13 17:28:34 CEST 2024

Total time taken to generate the page: 0.02604 seconds