Bug 252686

Summary: dialog shown when removing sidebars contains wrong instructions
Product: [Applications] kate Reporter: Alexander van Loon <a.vanloon>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: lueck
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: patch to fix wrong menu item

Description Alexander van Loon 2010-09-28 22:08:36 UTC
Version:           4.0 (using KDE 4.5.1) 
OS:                Linux

If you disable the option View > Tools View > Show Sidebars in Kate’s menu, a dialog window opens with the following information:

You are about to hide the sidebars. With hidden sidebars it is not possible to directly access the tool views with the mouse anymore, so if you need to access the sidebars again invoke Window > Tool Views > Show Sidebars in the menu. It is still possible to show/hide the tool views with the assigned shortcuts.

Note that the instruction to use Window > Tool Views > Show Sidebars is wrong, a Window menu doesn’t even exist.

Reproducible: Always

Steps to Reproduce:
Open Kate, disable the option View > Tools View > Show Sidebars and read the text in the dialog window which appears.

Actual Results:  
Gives the wrong instruction, Window > Tool Views > Show Sidebars, to enable the sidebars again.

Expected Results:  
The dialog window should mention View > Tools View > Show Sidebars to access the option. Also, so far I’ve only seen one sidebar in Kate, the one to the left, so it should read ‘sidebar’ instead of ‘sidebars’, right? I question the necessity of the dialog window itself as well.

The highest application version I could select for Kate in KDE’s bugzilla is 4.0, but obviously the version – http://packages.ubuntu.com/maverick/kate – is 4.5.1.
Comment 1 Burkhard Lück 2011-07-28 15:09:00 UTC
Created attachment 62276 [details]
patch to fix wrong menu item
Comment 2 Dominik Haumann 2011-07-28 17:20:27 UTC
Yes, please commit.
Comment 3 Burkhard Lück 2011-07-28 18:08:32 UTC
Git commit 2af2152b7d2fc1eaaf44ff4f616a2351e2887f2e by Burkhard Lück.
Committed on 28/07/2011 at 20:08.
Pushed by lueck into branch 'master'.

fix wrong menu name: Show Sidebars is in Views menu
BUG:252686

M  +1    -1    kate/app/katemdi.cpp

http://commits.kde.org/kate/2af2152b7d2fc1eaaf44ff4f616a2351e2887f2e