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 » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Ide bug.... Set main package [FIXED]
Ide bug.... Set main package [FIXED] [message #14377] Sun, 24 February 2008 15:39 Go to next message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
Hi. I found a bug in theIDE. It is not so annoying Smile.

How to test:
Open normally theIDE.(with a package selected)
Select File->Set main package...
From assembly select another assembly
From package list select a package
Press cancel
Back in IDE click on your current package and see that your files have disappeared.

If you made any modification to files these get saved but when try to build and run it run the last version of executable(because project is not selected).

Visual example:

index.php?t=getfile&id=1030&private=0
  • Attachment: idebug.png
    (Size: 44.76KB, Downloaded 412 times)


cdabbd745f1234c2751ee1f932d1dd75

[Updated on: Sat, 01 March 2008 22:06]

Report message to a moderator

Re: Ide bug.... Set main package [message #14455 is a reply to message #14377] Tue, 26 February 2008 22:03 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks, hopefully fixed.

Quick fix:

ide/SelectPkg.cpp 283
String SelectPackageDlg::Run(String startwith)
{
	finished = false;
	if(!IsSplashOpen())
		Open();
	if(selectvars)
		SyncBase(GetVarsName());
	else
		OnBase();
	String bkvar = GetVarsName();
	if(finished)
		return GetCurrentName();
	alist.FindSetCursor(startwith);
	clist.FindSetCursor(startwith);
	ActiveFocus(alist.IsShown() ? (Ctrl&)alist : (Ctrl&)clist);
	switch(TopWindow::Run()) {
	case IDOK:  return GetCurrentName();
	case IDYES: return selected;
	default:
		LoadVars(bkvar);
		SyncBase(GetVarsName());
		return Null;
	}
}




Mirek
Previous Topic: Problem with HomeBudget App in 2008.1
Next Topic: Some feature requests
Goto Forum:
  


Current Time: Sat Apr 20 16:15:22 CEST 2024

Total time taken to generate the page: 0.02414 seconds