List Info

Thread: project views in 3.4




project views in 3.4
user name
2006-05-28 12:02:39
On Saturday 27 May 2006 21:02, Jens Dagerbo wrote:
> On Friday 26 May 2006 01:17, Jens Herden wrote:
> > On Friday 26 May 2006 06:46, Jens Dagerbo wrote:
> > > The version we have in KDevelop 3.4 branch
today doesn't seem to work
> > > properly (http://bug
s.kde.org/show_bug.cgi?id=123849), and seeing it in
> > > action I don't think it fits KDevelop very
well as it is. It clutters
> > > the UI, grabs focus and overloads the
"project" concept.
> >
> > I was not aware about the bug yet. Grabbing the
focus is also not nice,
> > so I can try to fix these two bugs.
> >
> > I am also not happy with the name "project
view" and I had the idea to
> > change it to session. Similar to what Kate uses.
We could move the menu
> > entry out of the project menu to either View or
Window?
>
> Well.. if it now works and the toolbar focus grab can
be fixed I don't
> really mind it much either. 
>
> I agree with renaming "project" to
"session", or maybe "view session".
It
> mirrors kate and reduces confusion with projects. I
guess moving it to the
> View menu makes the most sense. (Personally I would
like to see the Window
> menu gone completely in KDev4, but that's another
discussion).

OK, I will move it to the view menu.


> Also, since FileList now does bulk load/unload of
files, it should take
> care to store and restore the proper encoding for the
files it loads. This
> is probably easy to add, I can take a look at it once I
get kdevelop to
> build again...

Oh yes this was not done. But I think I can also add this.
Should not be very 
hard to do.


> The "display toolbar in toolview" option is
nice, but to my surprise it
> instead moves it to the main toolbar. Is bulk
load/unload of files really a
> feature that is used often enough to mandate space in
the main toolbar? Can
> we at least have a third option - "off"?
For me, the menu entry is enough.

Well, for me it created a separate toolbar that can get
disabled. So I would 
see no need to add an option if this works. I will check if
this behavior is 
still like it used to be.


> Would it make sense to make it only do a bulk load, and
not a switch, btw?
> Last time I tried the project views feature it closed
all the files I had
> open when it loaded the new set. For me this was
unexpected and unwanted,
> but perhaps this behaviour is the idea behind the
feature?

Yes, this was the idea behind the feature but maybe an
option to not close the 
open files would be fine.

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 14:23:47
I just committed some fixes for the project views, which are
now called view 
sessions.

> Well.. if it now works and the toolbar focus grab can
be fixed I don't
> really mind it much either. 

This is fixed and works very nicely with the new keyboard
shotcuts.

> I agree with renaming "project" to
"session", or maybe "view session".
It
> mirrors kate and reduces confusion with projects. I
guess moving it to the
> View menu makes the most sense. (Personally I would
like to see the Window
> menu gone completely in KDev4, but that's another
discussion).

I moved the submenu from project to view. But I am not
really satisfied with 
this position because most of the actions there are related
to the current 
view and not to views in general. But it is probably better
than in project.


> Also, since FileList now does bulk load/unload of
files, it should take
> care to store and restore the proper encoding for the
files it loads. This
> is probably easy to add, I can take a look at it once I
get kdevelop to
> build again...

Done, now the encoding is saved and used for loading.


> 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.

> Is bulk load/unload of files really a 
> feature that is used often enough to mandate space in
the main toolbar? Can
> we at least have a third option - "off"?
For me, the menu entry is enough.

Actually we have this option. Once the toolbar is in the
normal position it 
appears in the list of toolbars and can get disabled.
Mmh, there seems to be a bug with it. When you restart
KDevelop the toolbar is 
always visible. Strange, I do not know why this happens. 


> Would it make sense to make it only do a bulk load, and
not a switch, btw?
> Last time I tried the project views feature it closed
all the files I had
> open when it loaded the new set. For me this was
unexpected and unwanted,
> but perhaps this behaviour is the idea behind the
feature?

In deed this was the wanted feature. But I added an option
for you to let all 
files open when you switch to a session. But the default is
the old behavior.

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

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