List Info

Thread: project views in 3.4




project views in 3.4
user name
2006-05-31 14:34:05
On 5/31/06, Jens Herden <jenskdewebdev.org> wrote:
>
> I just committed some fixes for the project views

Sounds great. Thanks!


> > The "display toolbar in toolview"
option is nice, but to my surprise it
> > instead moves it to the main toolbar.
>
> Are you sure? Here the option is set per default so
that you should get the
> toolbar in the toolview and not close to the main
toolbar. When you unset it
> it moves to the "normal" place for a
toolbar.

It was a while ago that I tried it now, but what you
describe is how I
remember it - it comes back after a restart. I guess this is
a
framework issue. None of the plugin created toolbars in
KDevelop have
their display state remembered, IIRC. Is this something you
have
managed to solve in Quanta?

// jens

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
project views in 3.4
user name
2006-05-31 16:47:33
On Wednesday 31 May 2006 17:34, Jens Dagerbo wrote:
>  Is this something you have
> managed to solve in Quanta?

I never heard about such bug in Quanta, but I know I did
some KMDI 
startup "magic" to workaround some bugs, so it
might be that this was 
"fixed" there as well.
I just tried it and if I remove a toolbar it doesn't show
up after the 
next restart. I tried the same with the Debugger Toolbar in
KDevelop 
and it appears after a restart. :-0 And this is with simple
ideal mode.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.o
rg
K Desktop Environment - http://www.kde.org
_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
project views in 3.4
user name
2006-05-31 17:06:25
On Wednesday 31 May 2006 19:47, Andras Mantia wrote:
> On Wednesday 31 May 2006 17:34, Jens Dagerbo wrote:
> >  Is this something you have
> > managed to solve in Quanta?
>
> I never heard about such bug in Quanta, but I know I
did some KMDI
> startup "magic" to workaround some bugs, so
it might be that this was
> "fixed" there as well.
> I just tried it and if I remove a toolbar it doesn't
show up after the
> next restart. I tried the same with the Debugger
Toolbar in KDevelop
> and it appears after a restart. :-0 And this is with
simple ideal mode.

I've looked briefly at this. We call
KMainWindow::aplyMainWindowSettings
at the startup. Isn't it supposed to restore the toolbar
layout?

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
project views in 3.4
user name
2006-05-31 17:25:09
On Wednesday 31 May 2006 20:06, Alexander Dymo wrote:
> On Wednesday 31 May 2006 19:47, Andras Mantia wrote:
> > On Wednesday 31 May 2006 17:34, Jens Dagerbo
wrote:
> > >  Is this something you have
> > > managed to solve in Quanta?
> >
> > I never heard about such bug in Quanta, but I know
I did some KMDI
> > startup "magic" to workaround some
bugs, so it might be that this
> > was "fixed" there as well.
> > I just tried it and if I remove a toolbar it
doesn't show up after
> > the next restart. I tried the same with the
Debugger Toolbar in
> > KDevelop and it appears after a restart. :-0 And
this is with
> > simple ideal mode.
>
> I've looked briefly at this. We call
> KMainWindow::aplyMainWindowSettings at the startup.
Isn't it supposed
> to restore the toolbar layout?

Hm, there is some problem there as there are several ways it
is used:

saveMainWindowSettings( KGlobal::config(),
"MainWindow" );
applyMainWindowSettings( KGlobal::config(),
"MainWindow" );

and 
KConfig *config = kapp->config();
applyMainWindowSettings(config, "Mainwindow");
saveMainWindowSettings(config, "Mainwindow");

See the capitalization and I'm not sure the config object
is the same.

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.o
rg
K Desktop Environment - http://www.kde.org
_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
project views in 3.4
user name
2006-05-31 17:40:12
On Wednesday 31 May 2006 20:25, Andras Mantia wrote:
> On Wednesday 31 May 2006 20:06, Alexander Dymo wrote:
> > On Wednesday 31 May 2006 19:47, Andras Mantia
wrote:
> > > On Wednesday 31 May 2006 17:34, Jens Dagerbo
wrote:
> > > >  Is this something you have
> > > > managed to solve in Quanta?
> > >
> > > I never heard about such bug in Quanta, but I
know I did some
> > > KMDI startup "magic" to
workaround some bugs, so it might be that
> > > this was "fixed" there as well.
> > > I just tried it and if I remove a toolbar it
doesn't show up
> > > after the next restart. I tried the same with
the Debugger
> > > Toolbar in KDevelop and it appears after a
restart. :-0 And this
> > > is with simple ideal mode.
> >
> > I've looked briefly at this. We call
> > KMainWindow::aplyMainWindowSettings at the
startup. Isn't it
> > supposed to restore the toolbar layout?
>
> Hm, there is some problem there as there are several
ways it is used:
>
> saveMainWindowSettings( KGlobal::config(),
"MainWindow" );
> applyMainWindowSettings( KGlobal::config(),
"MainWindow" );
>
> and
> KConfig *config = kapp->config();
> applyMainWindowSettings(config,
"Mainwindow");
> saveMainWindowSettings(config,
"Mainwindow");
>
> See the capitalization and I'm not sure the config
object is the
> same.

Ok, no real problem with the config object, but I changed
the first one 
to use autoSaveGroup() instead of just another MainWindow
with 
different capitalization


Some checks shows: the debugger toolbar appears even if its
turned off 
(the rest obey the user's will). 
The Project Views toolbar (which should be renamed to
Session Views now) 
does the same.
So it is definitely a problem in the plugin's code or that
it is loaded 
*after* the applyMainWindowSettings call.

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.o
rg
K Desktop Environment - http://www.kde.org
_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
project views in 3.4
user name
2006-06-01 00:08:26
> The Project Views toolbar (which should be renamed to
Session Views now)
> does the same.

You did not update from SVN otherwise you would see that the
name was changed 
already 

> So it is definitely a problem in the plugin's code or
that it is loaded
> *after* the applyMainWindowSettings call.

This would explain it because in the configuration files I
can see that the 
status was saved correctly. 

So do I have to hide/show the toolbar myself in the plugin?

Jens 
_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
[1-6]

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