View Issue Details

IDProjectCategoryView StatusLast Update
0020113LazarusIDEpublic2011-10-07 10:30
ReporterFlávio Etrusco (notifications not working)Assigned ToJuha Manninen 
PrioritylowSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.9.31 (SVN)Product Build 
Target VersionFixed in Version0.9.31 (SVN) 
Summary0020113: Save dialog for new units should default to current project folder instead of the folder loaded from session
Description1) Create a new application project, save it and its unit1;
3) Open other project or create a new one;
2) Optional: close and reopen the IDE;
4) Create a new unit, execute Save;
The dialog's InitialDir is the first project's folder.
TagsNo tags attached.
Fixed in Revision32349
LazTarget0.99.0
WidgetsetWin32/Win64
Attached Files

Activities

Or practically: the "InitialDir" should cleared if it's the project folder when the project is closed.

Juha Manninen

2011-10-07 08:10

developer   ~0052699

Flávio: is it really fixed in r32349?
There I set InitialDir of OpenDialog, not SaveDialog.
Yes, it is. IIRC the same value is used for both, so that would be why you fixed it accidentally :) (it's 4:30AM here so I'm bit lazy to search it right now ;)

Juha Manninen

2011-10-07 10:09

developer   ~0052713

Hmmm... This is a miracle!
My code is called only when the user OPENS a file. It is not called when the user creates a new unit and saves it.
Still, the InitialDir of SaveDialog is always the project dir. I tested by changing projects.

Good, things work although they shouldn't. Usually it is the other way around.
LOL. Very true.

Issue History

Date Modified Username Field Change
2011-08-31 16:58 Flávio Etrusco (notifications not working) New Issue
2011-08-31 16:58 Flávio Etrusco (notifications not working) LazTarget => -
2011-08-31 16:58 Flávio Etrusco (notifications not working) Widgetset => Win32/Win64
2011-08-31 20:58 Flávio Etrusco (notifications not working) Note Added: 0051332
2011-10-07 07:59 Flávio Etrusco (notifications not working) Status new => assigned
2011-10-07 07:59 Flávio Etrusco (notifications not working) Assigned To => Juha Manninen
2011-10-07 08:00 Flávio Etrusco (notifications not working) Fixed in Revision => 32349
2011-10-07 08:00 Flávio Etrusco (notifications not working) LazTarget - => 0.99.0
2011-10-07 08:00 Flávio Etrusco (notifications not working) Status assigned => resolved
2011-10-07 08:00 Flávio Etrusco (notifications not working) Fixed in Version => 0.9.31 (SVN)
2011-10-07 08:00 Flávio Etrusco (notifications not working) Resolution open => fixed
2011-10-07 08:01 Flávio Etrusco (notifications not working) Target Version => 0.99.0
2011-10-07 08:10 Juha Manninen Note Added: 0052699
2011-10-07 09:34 Flávio Etrusco (notifications not working) Note Added: 0052712
2011-10-07 10:09 Juha Manninen Note Added: 0052713
2011-10-07 10:30 Flávio Etrusco (notifications not working) Note Added: 0052716