Bug 71484 - MenuBar (topScreen) kcm settings do not reflect behavior
Summary: MenuBar (topScreen) kcm settings do not reflect behavior
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 98281 103639 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-30 14:23 UTC by Thomas Zander
Modified: 2005-05-03 17:28 UTC (History)
2 users (show)

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 Thomas Zander 2003-12-30 14:23:37 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

The KCM allows me to chose (radiobuttons) from either the desktop menu or the current application menubar.

Unfortunately the 'current application menu bar' setting will show the desktop-menu bar when no application, or applications that don't have a menubar are active.

I would expect that the KCM would then have the 'Desktop menubar' as a checkbox to allow me to have no menubar on screen if I don't want any.

To reproduce;
select the 'current application's menu bar (Mac OS-style)' radio button and press Apply.
create a konsole and make sure the menu is set to be invisible.
As long as konsole is active it shows the desktop menu bar.  This is unwanted.
Comment 1 Nicolas Dietrich 2005-02-07 22:58:02 UTC
Yeah - I also see that problem!

I'd like to be able to chose the MacOS-style for KDE-Apps (with a correct menu bar), but I'm not interested in a besktop menu bar. Even more using non-KDE programs (especially maximized) it's quite uncomfortable having the desktop menu bar at the top and the normal menu bar inside the (maximized) window.

In my view the correct solution would be to split up the current 3 alternative Options of "Menu Bar at Top of Screen" into 2 checkboxes:

1. "Menu Bar at Top of Screen" (if not: show menu bar inside windows)
2. "Show Desktop menu bar" (if not: never show a menu bar)


I wouldn't underestimate these points since the MacOS-style menu bar is a great feature, but lots of people are using non-kde apps and get this ugly behavior when chosing the Mac-style.
Comment 2 Lubos Lunak 2005-04-29 16:35:27 UTC
CVS commit by lunakl: 

Don't show the desktop menubar for non-KDE apps.
BUG: 71484


  M +1 -1      desktopbehavior_impl.cpp   1.11


--- kdebase/kcontrol/konq/desktopbehavior_impl.cpp  #1.10:1.11
@@ -361,5 +361,5 @@ void DesktopBehavior::save()
     g_pConfig->writeEntry( "ShowFileTips", toolTipBox->isChecked() );
     g_pConfig->setGroup( "Menubar" );
-    g_pConfig->writeEntry("ShowMenubar", desktopMenuGroup->selectedId() > 0);
+    g_pConfig->writeEntry("ShowMenubar", desktopMenuGroup->selectedId() == 1);
     KConfig config( "kdeglobals" );
     config.setGroup("KDE");
Comment 3 Lubos Lunak 2005-04-29 16:36:18 UTC
You may want to manually change the setting again in order to update the config file.
Comment 4 Lubos Lunak 2005-04-29 18:10:53 UTC
*** Bug 98281 has been marked as a duplicate of this bug. ***
Comment 5 Lubos Lunak 2005-05-03 17:28:19 UTC
*** Bug 103639 has been marked as a duplicate of this bug. ***