Arrangement of toolbar icons
Andreas Pakulat
apaku at gmx.de
Tue Nov 30 21:56:08 UTC 2010
On 30.11.10 21:57:45, Gerhard Stengel wrote:
> I think there are some problems in the arrangement of the toolbar icons (just tested 4.1.1)
>
> I'd like to group similar actions together, like "New" next to "Save". Now "New" belongs to the <kdevelop> toolbar and
> "Save" and "Save As" to <KatePartView>, so they end up in different toolbars even though they're quite closely related.
>
> While the "Configure toolbars" dialogue is open, I'm able to position the icons directly in the toolbar per drag & drop.
> However, this change is lost when I change between the "Code" and the "Debug" view and back.
> So this doesn't seem to be a way to achieve the grouping I's like to have. Is there any? If not, this would be a nice
> feature, because to the user it isn't interesting from which toolbar a certain icon comes, it's more important to be
> able to group them in a logical way.
>
> Another strange thing is that if I configure the toolbars with the "Configure toolbar" dialogue and do an operation that
> may be totally unrelated to the <kdevelop> toolbar, the "Save" icon always jumps right of the new icon, so it's no
> longer inside its toolbar, the <KatePartView>. However, If I activate the views Code->Debug->Code, the "Save" icon
> changes its place back into the <KatePartView> toolbar. This seems like a bug to me.
I'm pretty sure you're barking up the wrong tree here unfortunately
(except for the loss of changes when switching between debug and code
area). The toolbar configuration and the menu layout stuff is all
defined (and constrained) by the KDE XML Gui framework. It can be found
in kdelibs/kdeui/xmlgui, has only one or two persons who really
understand it and doesn't work very well for apps like KDevelop who
rather want much control over where items are being added to the menu.
Andreas
--
Be cautious in your daily affairs.
More information about the KDevelop-devel
mailing list