Bug 172908 - No menu item/settings option for hiding toolbars
Summary: No menu item/settings option for hiding toolbars
Status: RESOLVED FIXED
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Thorsten Staerk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 00:31 UTC by Christoph Lange
Modified: 2008-11-23 11:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Lange 2008-10-16 00:31:01 UTC
Version:           4.0.0 (using 4.1.2 (KDE 4.1.2), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.24-tuxonice-r4

Neither the toolbar context menu, nor the settings menu, nor the configuration dialog have an option for hiding toolbars
Comment 1 Thorsten Staerk 2008-10-16 08:26:07 UTC
Why should they have?
Comment 2 Christoph Lange 2008-10-16 11:48:38 UTC
(In reply to comment #1)
> Why should they have?
You mean why I want to hide the toolbars?  Because I have a looooong list of tasks and use the keyboard anyway, so I don't want to waste any screen space for them. (Even though I'm at 1680x1050, so I'm a bit extreme ;-)
Comment 3 Thorsten Staerk 2008-11-15 16:21:16 UTC
Confirming this bug - it should be possible to remove the toolbars. Best by right-clicking on them and selecting "hide toolbar". But I have no idea how to accomplish this at the moment.
Comment 4 Christoph Lange 2008-11-17 14:32:43 UTC
(In reply to comment #3)
> Confirming this bug - it should be possible to remove the toolbars. Best by
> right-clicking on them and selecting "hide toolbar". But I have no idea how to
> accomplish this at the moment.
But isn't that a standard feature that is easily available to any KDE application?  No idea about how it is actually implemented, but just have a look at a simple application like kwrite.
Comment 5 Thorsten Staerk 2008-11-22 14:35:10 UTC
hm, might be defined in kwriteui.rc: 
  <Menu name="settings"><text>&amp;Settings</text>
    <Merge name="StandardToolBarMenuHandler" />
Comment 6 Thorsten Staerk 2008-11-23 09:16:45 UTC
Here is a tutorial that allowed me to write a program that satisfies this bug report's needs: http://techbase.kde.org/Development/Tutorials/Using_KActions
Comment 7 Thorsten Staerk 2008-11-23 09:32:19 UTC
SVN commit 887860 by tstaerk:

Make the syntax better comparable with
http://techbase.kde.org/Development/Tutorials/Using_KActions
BUGS:172908



 M  +3 -2      ktimetrackerui.rc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=887860
Comment 8 Thorsten Staerk 2008-11-23 11:00:32 UTC
SVN commit 887879 by tstaerk:

Allow the user to deactivate the icon bar.
Tested:
* whatsthis help still works
* kontact plugin still works
BUGS:172908


 M  +2 -3      mainwindow.cpp  
 M  +1 -1      mainwindow.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=887879