List Info

Thread: Opening the last-opened Projects




Opening the last-opened Projects
user name
2007-07-19 05:17:41
Hi,

David just asked me wether this is supposed to work or not,
of course
its not supposed to work. 

I had a quick look (and wrote a small "hackish"
patch to allow that) and
turns out that there are some questions:

How do we want to handle this? The attached patch adds a new
member
function to projectcontroller (not the interface) which
reads a config
setting with the urls. This can be triggered from the
application's
main.cpp as shown in the 2nd patch. The question is: Do
project(s) given
at the commandline disable the loading of last-opened
projects or are
they loaded additionally? 

How are loadSettings and saveSettings in projectcontroller
supposed to
be used? From where should they be called, whats the bool
flag they have
for?

Last but not least: Somehow Core doesn't seem to be deleted
properly. I
mean, I added projectcontroller->cleanup() call into
Core::cleanup() but
the debugmessage is not printed and the configuration is not
saved. Also
I wonder why we don't use K_GLOBAL_STATIC for Core?

Andreas

-- 
Questionable day.

Ask somebody something.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: Opening the last-opened Projects
user name
2007-07-19 05:25:32
On 19.07.07 12:17:41, Andreas Pakulat wrote:
> Hi,
> 
> David just asked me wether this is supposed to work or
not, of course
> its not supposed to work. 
> 
> I had a quick look (and wrote a small
"hackish" patch to allow that) and
> turns out that there are some questions:
> 
> How do we want to handle this? The attached patch adds
a new member
> function to projectcontroller (not the interface) which
reads a config
> setting with the urls. This can be triggered from the
application's
> main.cpp as shown in the 2nd patch. The question is: Do
project(s) given
> at the commandline disable the loading of last-opened
projects or are
> they loaded additionally? 
> 
> How are loadSettings and saveSettings in
projectcontroller supposed to
> be used? From where should they be called, whats the
bool flag they have
> for?
> 
> Last but not least: Somehow Core doesn't seem to be
deleted properly. I
> mean, I added projectcontroller->cleanup() call into
Core::cleanup() but
> the debugmessage is not printed and the configuration
is not saved. Also
> I wonder why we don't use K_GLOBAL_STATIC for Core?

And here the attachments.

Andreas

-- 
Give thought to your reputation.  Consider changing name and
moving to
a new town.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

  
  
Re: Opening the last-opened Projects
user name
2007-07-19 06:23:58
One thing to consider with opening "last project"
would be if KDevelop
should support sessions this time around and be able to
automatically
load the last project as part of a KDE session even with
_multiple
instances_ of KDevelop started. This could never work in
KDev3 where
there was just that idea of a "last project".

// jens

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: Opening the last-opened Projects
country flaguser name
United States
2007-07-20 16:09:38
Jens Dagerbo wrote:
> One thing to consider with opening "last
project" would be if KDevelop
> should support sessions this time around and be able to
automatically
> load the last project as part of a KDE session even
with _multiple
> instances_ of KDevelop started. This could never work
in KDev3 where
> there was just that idea of a "last
project".

Yes, please .

-- 
Matthew
"Resistance is futile" -- Borg
"No, resistance is the reciprocal of conductance"
-- Dave Korn


_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )